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
All checks were successful
Build frontend / build (push) Successful in 42s
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user