2026-10-08 16:20:15 +09:00
|
|
|
"use client"
|
|
|
|
|
|
|
|
|
|
import { getAssetUrl } from "@/lib/base-path"
|
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
|
|
2026-10-11 20:32:23 +09:00
|
|
|
/** The app icon in a rounded tile; the icon has its own white tile, so dark mode uses it too */
|
2026-10-08 16:20:15 +09:00
|
|
|
export function BrandMark({ className }: { className?: string }) {
|
|
|
|
|
return (
|
|
|
|
|
<span
|
|
|
|
|
className={cn(
|
|
|
|
|
"relative inline-flex size-7 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-card",
|
|
|
|
|
className,
|
|
|
|
|
)}
|
|
|
|
|
>
|
|
|
|
|
{/* biome-ignore lint/performance/noImgElement: tiny static icon */}
|
|
|
|
|
<img
|
|
|
|
|
src={getAssetUrl("/favicon-192x192.png")}
|
|
|
|
|
alt=""
|
2026-10-11 20:32:23 +09:00
|
|
|
className="size-full object-contain"
|
2026-10-08 16:20:15 +09:00
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
}
|