design upgrade

This commit is contained in:
Nermin Karic
2026-11-23 00:59:47 +01:00
parent 9e84140474
commit ada6fd857c
198 changed files with 6626 additions and 2539 deletions

View File

@@ -1,32 +1,28 @@
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
width?: number
height?: number
priority?: boolean
alt?: string
}
export function Logo({
className,
width = 160,
height = 68,
priority = true,
alt = "Suman d.o.o.",
}: LogoProps) {
/** 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.png"
src="/logo-suman.svg"
alt={alt}
width={width}
height={height}
width={LOGO_WIDTH}
height={LOGO_HEIGHT}
priority={priority}
className={cn("h-9 w-auto object-contain transition-opacity duration-200 group-hover:opacity-90", className)}
className={cn("h-auto w-full", className)}
/>
)
}
export default Logo