Skip to content

Feat/liquidglass - #8

Merged
AndSanG merged 7 commits into
masterfrom
feat/liquidglass
Jun 1, 2026
Merged

Feat/liquidglass#8
AndSanG merged 7 commits into
masterfrom
feat/liquidglass

Conversation

@AndSanG

@AndSanG AndSanG commented Jun 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

AndSanG added 7 commits June 1, 2026 11:11
- profile-cutout.webp: 800×926 → 600×695 (64% smaller)
- about-me.webp: 901×1230 → 650×888 (48% smaller)
- Added responsive sizes props to Image components
- Estimated savings: 135 KiB per page load
- Updated aspect ratio in more-about section

Addresses Lighthouse image-delivery-insight audit.
Target browsers (Chrome 100+, Safari 15.4+, Firefox 100+) all support ES2020.
Removes unnecessary transpilation of modern JavaScript features.
Estimated savings: 14 KiB in legacy polyfills and transforms.
- framer-motion was never imported or used in codebase
- All animations use CSS transitions instead (navbar comment confirms)
- Removes 5.5MB from node_modules
- Estimated bundle savings: 106 KiB

Addresses Lighthouse reduce-unused-javascript audit.
- Changed timezone text from text-zinc-500/dark:text-gray-500 to text-zinc-600/dark:text-gray-400
- Meets WCAG AA contrast requirements (4.5:1 for normal text)
- Timezone is smaller text (8px) so needs higher contrast ratio

Addresses Lighthouse color-contrast accessibility audit.
Font optimization:
- Added font-display: 'swap' to Inter and Outfit font imports
- Prevents flash of unstyled text (FOUT) while fonts load
- Improves perceived performance and CLS

Image formats:
- Generated AVIF versions of all images
- WebP remains optimal for these images (photos optimized for WebP)
- AVIF files available as backup format
- Added generate-avif.mjs script for future image optimization

CLS audit:
- Verified all images have explicit width/height
- Confirmed font loading won't cause layout shift (font-display: swap)
- Mobile menu properly constrained with max-height overflow

Additional improvements:
- Estimated ~50ms improvement in FCP from font optimization
- Enables future format selection based on browser
@AndSanG
AndSanG merged commit 8c23c11 into master Jun 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant