36 lines
1.4 KiB
TypeScript
36 lines
1.4 KiB
TypeScript
import { SITE } from "@/lib/site";
|
|
import { IconInstagram, IconPhone, IconPin, IconTelegram, IconWhatsapp } from "./Icons";
|
|
|
|
export function TopHeader() {
|
|
return (
|
|
<div className="bg-ink text-white text-xs">
|
|
<div className="container-site flex h-10 items-center justify-between gap-4">
|
|
<div className="flex items-center gap-4">
|
|
<a href={`tel:${SITE.phone}`} className="flex items-center gap-1.5 hover:text-brand-soft">
|
|
<IconPhone className="w-3.5 h-3.5 text-brand" />
|
|
<span className="font-oswald tracking-wide" dir="ltr">
|
|
{SITE.phoneDisplay}
|
|
</span>
|
|
</a>
|
|
<span className="hidden sm:flex items-center gap-1.5 text-white/70">
|
|
<IconPin className="w-3.5 h-3.5 text-brand" />
|
|
{SITE.address}
|
|
</span>
|
|
</div>
|
|
<div className="flex items-center gap-3">
|
|
<span className="hidden md:block text-white/70">ارسال به سراسر ایران</span>
|
|
<a href={SITE.telegram} aria-label="تلگرام" className="hover:text-brand">
|
|
<IconTelegram />
|
|
</a>
|
|
<a href={SITE.instagram} aria-label="اینستاگرام" className="hover:text-brand">
|
|
<IconInstagram />
|
|
</a>
|
|
<a href={SITE.whatsapp} aria-label="واتساپ" className="hover:text-brand">
|
|
<IconWhatsapp />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|