- 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`.
34 lines
779 B
CSS
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');
|
|
}
|