import { Container } from "@/components/Container"; import { Placeholder } from "@/components/Placeholder"; import { SlotLink } from "@/components/SlotLink"; import { glossyBar } from "@/lib/glossy"; import { parseAspectRatio } from "@/lib/static-images"; import type { SlotMediaItem } from "@/lib/static-images"; const fallbackCopy = { kicker: "Contact us", title: "اگر به دنبال قطعه ی خاصی هستید، با ما تماس بگیرید.", href: "/contact", }; export function WideBanner({ image, aspectRatio }: { image?: SlotMediaItem; aspectRatio?: string }) { const src = image?.image ?? "/images/banners/wide.jpg"; const href = image?.href || fallbackCopy.href; const ratio = parseAspectRatio(aspectRatio); return (

{image?.kicker || fallbackCopy.kicker}

{image?.title || fallbackCopy.title}

{image?.text ?

{image.text}

: null} تماس با ما
); }