33 lines
593 B
TypeScript
33 lines
593 B
TypeScript
import Image from "next/image"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export interface LogoProps {
|
|
className?: string
|
|
width?: number
|
|
height?: number
|
|
priority?: boolean
|
|
alt?: string
|
|
}
|
|
|
|
export function Logo({
|
|
className,
|
|
width = 160,
|
|
height = 68,
|
|
priority = true,
|
|
alt = "Suman d.o.o.",
|
|
}: LogoProps) {
|
|
return (
|
|
<Image
|
|
src="/logo.png"
|
|
alt={alt}
|
|
width={width}
|
|
height={height}
|
|
priority={priority}
|
|
className={cn("h-9 w-auto object-contain transition-opacity duration-200 group-hover:opacity-90", className)}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default Logo
|
|
|