Add artificial screws
This commit is contained in:
parent
44e3b58cb4
commit
78eabd3a7e
2 changed files with 38 additions and 8 deletions
|
@ -1,15 +1,45 @@
|
||||||
|
import classNames from "classnames"
|
||||||
import React from "react"
|
import React from "react"
|
||||||
|
|
||||||
function Logo() {
|
function Logo() {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-row bg-shield-gray bg-[url('/assets/shield.png')] bg-cover bg-no-repeat">
|
<div className="relative flex items-center rounded-sm border-x-8 border-y-4 border-shield-gray bg-shield-lightgray">
|
||||||
<div className="flex flex-col items-center justify-between">
|
<h1 className="font-checkpoint my-4 mx-36 border-y-4 border-slate-700 text-center text-6xl leading-tight tracking-widest">
|
||||||
<h1 className="font-checkpoint my-4 mx-32 border-y-4 border-slate-700 text-center text-6xl leading-tight tracking-widest">
|
Leaky
|
||||||
Leaky
|
<br />
|
||||||
<br />
|
Ships
|
||||||
Ships
|
</h1>
|
||||||
</h1>
|
<Screws />
|
||||||
</div>
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Screws() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Screw orientation="top-3 left-3" rotation="rotate-[135deg]" />
|
||||||
|
<Screw orientation="top-3 right-3" rotation="rotate-[5deg]" />
|
||||||
|
<Screw orientation="bottom-3 right-3" rotation="rotate-[150deg]" />
|
||||||
|
<Screw orientation="bottom-3 left-3" rotation="rotate-[20deg]" />
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Screw({
|
||||||
|
orientation,
|
||||||
|
rotation,
|
||||||
|
}: {
|
||||||
|
orientation: string
|
||||||
|
rotation: string
|
||||||
|
}) {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
className={classNames(
|
||||||
|
"absolute flex h-6 w-6 flex-col items-center justify-center rounded-full border-[1px] border-neutral-700 bg-neutral-400",
|
||||||
|
orientation
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<hr className={classNames("color w-full border-neutral-500", rotation)} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
Loading…
Add table
Add a link
Reference in a new issue