diff --git a/frontend/application/app/globals.css b/frontend/application/app/globals.css index 37d56cc7..7e9fb2b5 100644 --- a/frontend/application/app/globals.css +++ b/frontend/application/app/globals.css @@ -1,82 +1,13 @@ -@font-face { - font-family: 'Vazirmatn'; - src: url('/fonts/vazirmatn-v33.003/fonts/webfonts/Vazirmatn[wght].woff2') format('woff2-variations'), - url('/fonts/vazirmatn-v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2'); - font-weight: 100 900; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Shabnam'; - src: url('/fonts/shabnam-font-v5.0.1/Shabnam.woff2') format('woff2'), - url('/fonts/shabnam-font-v5.0.1/Shabnam.woff') format('woff'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Shabnam'; - src: url('/fonts/shabnam-font-v5.0.1/Shabnam-Bold.woff2') format('woff2'), - url('/fonts/shabnam-font-v5.0.1/Shabnam-Bold.woff') format('woff'); - font-weight: bold; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Shabnam'; - src: url('/fonts/shabnam-font-v5.0.1/Shabnam-Medium.woff2') format('woff2'), - url('/fonts/shabnam-font-v5.0.1/Shabnam-Medium.woff') format('woff'); - font-weight: 500; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Sahel'; - src: url('/fonts/sahel-font-v3.4.0/Sahel-VF.woff2') format('woff2-variations'), - url('/fonts/sahel-font-v3.4.0/Sahel.woff2') format('woff2'); - font-weight: 100 900; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Lalezar'; - src: url('/fonts/Lalezar-Font-fontyab.com_/Lalezar-Font/TTF/Lalezar-Regular.ttf') format('truetype'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'IranNastaliq'; - src: url('/fonts/IranNastaliq/IranNastaliq/IranNastaliq.ttf') format('truetype'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'IranianSans'; - src: url('/fonts/A-Iranian-Sans/A-Iranian-Sans/Iranian Sans.ttf') format('truetype'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - @import "tailwindcss"; @theme { - --font-sans: var(--font-vazir), "Vazirmatn", system-ui, sans-serif; - --font-vazir: var(--font-vazir), "Vazirmatn", sans-serif; - --font-shabnam: "Shabnam", sans-serif; - --font-sahel: "Sahel", sans-serif; - --font-lalezar: var(--font-lalezar), "Lalezar", cursive; + --font-sans: var(--font-vazir), system-ui, -apple-system, sans-serif; + --font-vazir: var(--font-vazir), sans-serif; + --font-shabnam: var(--font-vazir), sans-serif; + --font-sahel: var(--font-vazir), sans-serif; + --font-lalezar: var(--font-lalezar), cursive, sans-serif; --font-nastaliq: "IranNastaliq", serif; - --font-iranian-sans: "IranianSans", sans-serif; + --font-iranian-sans: var(--font-vazir), sans-serif; /* Brand Colors */ --color-canina-blue: #1E4053; diff --git a/frontend/application/components/BannerPlacement.tsx b/frontend/application/components/BannerPlacement.tsx index 894aaaba..1c5809ba 100644 --- a/frontend/application/components/BannerPlacement.tsx +++ b/frontend/application/components/BannerPlacement.tsx @@ -44,9 +44,9 @@ export default function BannerPlacement({ {(banner.title || banner.subtitle) && (
{banner.title && ( -

+

{banner.title} -

+ )} {banner.subtitle && (

@@ -106,9 +106,9 @@ export default function BannerPlacement({ {(banner.title || banner.subtitle) && (

{banner.title && ( -

+

{banner.title} -

+ )} {banner.subtitle && (

diff --git a/frontend/application/components/Header.tsx b/frontend/application/components/Header.tsx index b2ac00c1..796ca41a 100644 --- a/frontend/application/components/Header.tsx +++ b/frontend/application/components/Header.tsx @@ -372,7 +372,8 @@ export default function Header({

-

+

{item.authorName} -

+ {item.roleTitle && (

{item.roleTitle} diff --git a/frontend/application/components/VetGallery.tsx b/frontend/application/components/VetGallery.tsx index 46a1cd4c..32f04cb0 100644 --- a/frontend/application/components/VetGallery.tsx +++ b/frontend/application/components/VetGallery.tsx @@ -160,9 +160,9 @@ export default function VetGallery({ testimonials = [] }: { testimonials?: Testi

)}
-

+

{video.title} -

+
{video.doctor || 'کادر علمی کنینا'}