Files
zhaoguiyang.site/src/styles/fonts.css
zguiyang eb6bef3726 refactor: remove "Services" pages and migrate content to focused alternatives
- Removed `/services` and `/zh/services` pages. Migrated content to updated pages: `/uses`, `/about#contact-card`, and `/hire`.
- Removed Framer Motion for better performance and simpler animations in `LanguageSwitcher`, `GlassHeader`, and other components.
- Updated font sources to WOFF2 for better compression and added preload links for critical fonts.
- Optimized Vite configuration with manual chunking for React libraries.
- Replaced `client:load` with `client:idle` for non-critical client-side components like `GlassHeader`, `Footer`, and `BackToTop`.
2026-03-17 16:42:00 +08:00

34 lines
779 B
CSS

/* Local Fonts - Archivo */
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 400;
font-stretch: normal;
font-display: swap;
src: url('/fonts/archivo-400.woff2') format('woff2');
}
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 700;
font-stretch: normal;
font-display: swap;
src: url('/fonts/archivo-700.woff2') format('woff2');
}
/* Local Fonts - Space Grotesk */
@font-face {
font-family: 'Space Grotesk';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
font-family: 'Space Grotesk';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/fonts/space-grotesk-700.woff2') format('woff2');
}