design: update footer font classes to use Lalezar for titles and Shabnam for all other texts

This commit is contained in:
parsa aghaei committed 2026-07-14 20:40:56 +03:30
1 parent f65b95bd5c
commit 36aebb13d6
1 file changed
+8 -8
+8 -8
View File
@@ -10,7 +10,7 @@ export default function Footer({ onNavigate, onShopNavigate, onB2BOpen }: {
}) {
const getText = useSettingsStore(state => state.getText);
return (
<footer className="bg-medical-gray-900 text-white pt-24 pb-12 font-vazir" dir="rtl">
<footer className="bg-medical-gray-900 text-white pt-24 pb-12 font-shabnam" dir="rtl">
<div className="max-w-7xl mx-auto px-6">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-16 mb-20">
@@ -19,8 +19,8 @@ export default function Footer({ onNavigate, onShopNavigate, onB2BOpen }: {
<div className="flex items-center gap-3 cursor-pointer group" onClick={() => onNavigate("home")}>
<div className="w-12 h-12 bg-canina-blue rounded-2xl flex items-center justify-center text-white font-bold text-2xl group-hover:bg-medical-gray-900 transition-all shadow-xl shadow-canina-blue/20 italic">C</div>
<div className="flex flex-col">
<span className="text-white font-black text-2xl tracking-tighter leading-none italic font-sans">Canina <span className="text-sm not-italic font-medium border-l-2 border-white/20 pl-2 ml-2 font-vazir">{getText('brand_name_fa', "ایران")}</span></span>
<span className="text-[10px] text-slate-400 font-bold uppercase tracking-widest leading-none mt-1.5 font-vazir">{getText('brand_subtitle', "نماینده رسمی Canina Pharma GmbH آلمان")}</span>
<span className="text-white font-black text-2xl tracking-tighter leading-none italic font-sans">Canina <span className="text-sm not-italic font-medium border-l-2 border-white/20 pl-2 ml-2 font-shabnam">{getText('brand_name_fa', "ایران")}</span></span>
<span className="text-[10px] text-slate-400 font-bold uppercase tracking-widest leading-none mt-1.5 font-shabnam">{getText('brand_subtitle', "نماینده رسمی Canina Pharma GmbH آلمان")}</span>
</div>
</div>
<p className="text-sm text-slate-300 leading-relaxed font-medium">
@@ -37,7 +37,7 @@ export default function Footer({ onNavigate, onShopNavigate, onB2BOpen }: {
{/* Quick Links */}
<div className="space-y-8">
<h4 className="text-lg font-black text-white italic border-b-2 border-canina-blue pb-2 max-w-max">{getText('footer_links_title', "دسترسی سریع")}</h4>
<h4 className="text-xl font-black text-white border-b-2 border-canina-blue pb-2 max-w-max font-lalezar">{getText('footer_links_title', "دسترسی سریع")}</h4>
<ul className="space-y-4 text-sm font-bold text-slate-300">
<li onClick={() => onShopNavigate()} className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
@@ -64,7 +64,7 @@ export default function Footer({ onNavigate, onShopNavigate, onB2BOpen }: {
{/* Location & Contact */}
<div className="space-y-8 lg:col-span-2">
<h4 className="text-lg font-black text-white italic border-b-2 border-canina-blue pb-2 max-w-max">{getText('footer_contact_title', "اطلاعات تماس نمایندگی")}</h4>
<h4 className="text-xl font-black text-white border-b-2 border-canina-blue pb-2 max-w-max font-lalezar">{getText('footer_contact_title', "اطلاعات تماس نمایندگی")}</h4>
<div className="grid md:grid-cols-2 gap-8">
<div className="space-y-6">
<div className="flex gap-4 group">
@@ -114,9 +114,9 @@ export default function Footer({ onNavigate, onShopNavigate, onB2BOpen }: {
</div>
<div className="pt-12 border-t border-white/5 flex flex-col md:flex-row items-center justify-between gap-6 text-[10px] font-black uppercase tracking-[0.3em] font-vazir">
<div className="text-slate-400 font-vazir">{getText('footer_copyright', "© ۲۰۲۶ کانینا ایران. تمامی حقوق محفوظ است.")}</div>
<div className="flex gap-8 font-vazir text-slate-400">
<div className="pt-12 border-t border-white/5 flex flex-col md:flex-row items-center justify-between gap-6 text-[10px] font-black uppercase tracking-[0.3em] font-shabnam">
<div className="text-slate-400 font-shabnam">{getText('footer_copyright', "© ۲۰۲۶ کانینا ایران. تمامی حقوق محفوظ است.")}</div>
<div className="flex gap-8 font-shabnam text-slate-400">
<button onClick={() => onNavigate("about")} className="hover:text-white transition-colors">{getText('footer_about', "درباره ما")}</button>
<button onClick={() => onNavigate("contact")} className="hover:text-white transition-colors">{getText('footer_contact', "تماس با ما")}</button>
<button onClick={() => onNavigate("privacy")} className="hover:text-white transition-colors">{getText('footer_privacy', "حریم خصوصی")}</button>