Become a Pro / website · becomeapro.ai / src / components / logo.tsx
| 1 | import Link from "next/link"; |
| 2 | import { cn } from "@/lib/utils"; |
| 3 | |
| 4 | // The impossible-triangle mark in brand blue, deep blue and white, for dark backgrounds |
| 5 | export function LogoMark({ className }: { className?: string }) { |
| 6 | return ( |
| 7 | <svg viewBox="0 0 64 64" aria-hidden className={cn("h-[30px] w-[30px] flex-none", className)}> |
| 8 | <path d="M3 49.94 L7.14 57.11 L56.86 57.11 L36.14 21.24 L32 28.41 L44.43 49.94Z" fill="#46AAE9" stroke="#46AAE9" strokeWidth="0.35" strokeLinejoin="round" /> |
| 9 | <path d="M56.86 57.11 L61 49.94 L36.14 6.89 L15.43 42.76 L23.71 42.76 L36.14 21.24Z" fill="#2A7FB8" stroke="#2A7FB8" strokeWidth="0.35" strokeLinejoin="round" /> |
| 10 | <path d="M36.14 6.89 L27.86 6.89 L3 49.94 L44.43 49.94 L40.29 42.76 L15.43 42.76Z" fill="var(--logo-face)" stroke="var(--logo-face)" strokeWidth="0.35" strokeLinejoin="round" /> |
| 11 | </svg> |
| 12 | ); |
| 13 | } |
| 14 | |
| 15 | export function Logo({ className, small }: { className?: string; small?: boolean }) { |
| 16 | return ( |
| 17 | <Link href="/" aria-label="AI Resource Pro home" className={cn("wordmark", small && "text-[17px]", className)}> |
| 18 | <LogoMark className={small ? "h-[26px] w-[26px]" : undefined} /> |
| 19 | AI Resource<span className="pro-badge">PRO</span> |
| 20 | </Link> |
| 21 | ); |
| 22 | } |