Deploy Canina / deploy (push) Successful in 2m10s
- SEO-P1-07: extract FAQs and accordion items from blog content and inject JSON-LD FAQPage schema - SEO-P1-10: add dynamic sub-sitemaps /sitemap-blog.xml and /sitemap-wiki.xml and register in robots.ts - SEO-P2-16: host Lalezar font locally as optimized WOFF2 with preload enabled in lib/fonts.ts - Add full regression test suites with 100% pass rate
29 lines
654 B
TypeScript
29 lines
654 B
TypeScript
import localFont from 'next/font/local';
|
|
|
|
export const vazirmatn = localFont({
|
|
src: [
|
|
{
|
|
path: '../public/fonts/vazirmatn-v33.003/fonts/webfonts/Vazirmatn[wght].woff2',
|
|
style: 'normal',
|
|
},
|
|
],
|
|
variable: '--font-vazir',
|
|
display: 'swap',
|
|
fallback: ['system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Arial', 'sans-serif'],
|
|
preload: true,
|
|
});
|
|
|
|
export const lalezar = localFont({
|
|
src: [
|
|
{
|
|
path: '../public/fonts/Lalezar-Regular.woff2',
|
|
weight: '400',
|
|
style: 'normal',
|
|
},
|
|
],
|
|
variable: '--font-lalezar',
|
|
display: 'swap',
|
|
fallback: ['cursive', 'system-ui', 'sans-serif'],
|
|
preload: true,
|
|
});
|