Build the Salar Store storefront and connect products, blogs, and home specials to the Meshkee API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
2783305f07
commit
7d26eaa838
@@ -0,0 +1,35 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user