● Zion Boggan
repos/Drophawk/frontend/components/layout/BrandMark.tsx
zionboggan.com ↗
36 lines · tsx
History for this file →
1
import { cn } from "@/lib/utils";
2
 
3
 
4
export function BrandMark({ className, size = 28 }: { className?: string; size?: number }) {
5
  return (
6
    <svg
7
      width={size}
8
      height={size}
9
      viewBox="0 0 32 32"
10
      fill="none"
11
      className={cn("text-[var(--color-accent-teal)]", className)}
12
      aria-hidden
13
    >
14
      <circle cx="16" cy="16" r="13" stroke="currentColor" strokeOpacity="0.25" strokeWidth="1.5" />
15
      <circle cx="16" cy="16" r="7.5" stroke="currentColor" strokeOpacity="0.35" strokeWidth="1.5" />
16
      <path
17
        d="M16 6c3.4 4.1 5.2 7.2 5.2 9.8A5.2 5.2 0 1 1 10.8 15.8C10.8 13.2 12.6 10.1 16 6Z"
18
        fill="currentColor"
19
      />
20
      <path d="M16 16 L27 9" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeOpacity="0.6" />
21
    </svg>
22
  );
23
}
24
 
25
export function Wordmark({ collapsed = false }: { collapsed?: boolean }) {
26
  return (
27
    <span className="flex items-center gap-2.5">
28
      <BrandMark />
29
      {!collapsed ? (
30
        <span className="text-base font-semibold tracking-[var(--tracking-tight)] text-[var(--color-fg-primary)]">
31
          Drop<span className="text-[var(--color-accent-teal)]">Hawk</span>
32
        </span>
33
      ) : null}
34
    </span>
35
  );
36
}