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`.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/archivo-400.ttf') format('truetype');
|
||||
src: url('/fonts/archivo-400.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Archivo';
|
||||
@@ -13,7 +13,7 @@
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/archivo-700.ttf') format('truetype');
|
||||
src: url('/fonts/archivo-700.woff2') format('woff2');
|
||||
}
|
||||
|
||||
/* Local Fonts - Space Grotesk */
|
||||
@@ -22,12 +22,12 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('./fonts/space-grotesk-400.ttf') format('truetype');
|
||||
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.ttf') format('truetype');
|
||||
src: url('/fonts/space-grotesk-700.woff2') format('woff2');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user