29 lines
672 B
TypeScript
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
|