Use local Madani Arabic font files instead of CDN
All checks were successful
Build frontend / build (push) Successful in 1m2s

- Added @font-face for all 9 weights (Thin to Black)
- Removed CDN links from layout.js
- Font loads locally from public/fonts/
This commit is contained in:
Claw AI
2026-03-28 16:52:31 +00:00
parent f6f0f5a5ea
commit 48523067fc
2 changed files with 74 additions and 10 deletions

View File

@ -25,16 +25,7 @@ export const metadata = {
export default function Layout({ children }) {
return (
<html lang="ar" dir="rtl">
<head>
<link
href="https://db.onlinewebfonts.com/c/5f92c3a05f1a5243b55892723e55b1c3?family=Madani+Arabic+DEMO+Thin"
rel="stylesheet"
/>
<link
href="https://db.onlinewebfonts.com/c/64ab2a7ae4cb5dbb5b5a1e1d2c5e7a3d?family=Madani+Arabic"
rel="stylesheet"
/>
</head>
<head />
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
style={{ fontFamily: "'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif" }}