Files
Suman/apps/suman-bosna/src/components/ui/logo.tsx
Nermin Karic ada6fd857c design upgrade
2026-11-23 00:59:47 +01:00

29 lines
672 B
TypeScript

import Image from "next/image"
import { cn } from "@/lib/utils"
/** Intrinsic size of public/logo-suman.svg (viewBox 0 0 97 100) */
export const LOGO_WIDTH = 97
export const LOGO_HEIGHT = 100
export interface LogoProps {
className?: string
priority?: boolean
alt?: string
}
/** Suman logo: navy square with the yellow wordmark and bottom strip */
export function Logo({ className, priority = false, alt = "Suman d.o.o." }: LogoProps) {
return (
<Image
src="/logo-suman.svg"
alt={alt}
width={LOGO_WIDTH}
height={LOGO_HEIGHT}
priority={priority}
className={cn("h-auto w-full", className)}
/>
)
}
export default Logo