teecup/frontend/components/wordmark.tsx

29 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

import { Flag } from "lucide-react"
import { cn } from "@/lib/utils"
export function Wordmark({ compact = false }: { compact?: boolean }) {
if (compact) {
return (
<div className="flex items-center gap-2.5">
<div className="relative flex size-9 items-center justify-center rounded-xl bg-primary shadow-sm shadow-primary/30">
<Flag aria-hidden="true" className="size-5 text-brand-orange" fill="currentColor" />
</div>
<span className="text-xl font-extrabold tracking-tight text-foreground">
Tee<span className="text-primary">Cup</span>
</span>
</div>
)
}
return (
<div className="flex flex-col items-center gap-3">
<div className="relative flex size-16 items-center justify-center rounded-2xl bg-primary shadow-md shadow-primary/30">
<Flag aria-hidden="true" className="size-8 text-brand-orange" fill="currentColor" />
</div>
<h1 className={cn("text-3xl font-extrabold tracking-tight text-foreground")}>
Tee<span className="text-primary">Cup</span>
</h1>
</div>
)
}