perf: convert fonts to WOFF2 (10x smaller), fix preload to match, add html,body CSS font rule
All checks were successful
Build frontend / build (push) Successful in 42s

This commit is contained in:
Claw AI
2026-03-30 15:34:36 +00:00
parent dee74d335f
commit e6d754d014
12 changed files with 28 additions and 24 deletions

View File

@ -29,22 +29,22 @@ export default function Layout({ children }) {
<link
rel="preload"
as="font"
href="/fonts/Madani-Arabic-Regular.ttf"
type="font/ttf"
href="/fonts/Madani-Arabic-Regular.woff2"
type="font/woff2"
crossOrigin="anonymous"
/>
<link
rel="preload"
as="font"
href="/fonts/Madani-Arabic-Bold.ttf"
type="font/ttf"
href="/fonts/Madani-Arabic-Bold.woff2"
type="font/woff2"
crossOrigin="anonymous"
/>
<link
rel="preload"
as="font"
href="/fonts/Madani Arabic Medium.ttf"
type="font/ttf"
href="/fonts/Madani Arabic Medium.woff2"
type="font/woff2"
crossOrigin="anonymous"
/>
</head>