Personal Website
Table of Contents
Project Overview
I built this site as a central place to share my projects, document how they work under the hood, and make it easy to get in touch. Using Astro lets every page compile down to plain HTML and CSS at build time, keeping page loads fast and client-side JavaScript to a minimum.
Problem Statement
A lot of developer portfolios ship large JavaScript bundles and heavy animation libraries just to render static content, which slows down initial loads on mobile. I wanted my site to stay fast and straightforward: clean typography, accessible markup, minimal runtime scripts, and automated deployments whenever I push updates.
Solution Architecture
Astro components and content are compiled into static HTML and CSS, then shipped through a GitHub Actions pipeline to an edge CDN.
Technical Deep Dives
Zero-JS Island Architecture
- Built with Astro’s island architecture, rendering static HTML and CSS by default.
- Client-side JavaScript is loaded only for specific interactive components (such as the contact modal or theme toggle), reducing the initial page bundle to near-zero runtime script overhead.
Asset & Typography Optimization
- Loads typography with
font-display: swapto avoid invisible text during font loading. - Optimized raster images using modern formats (
.webp), responsivesrcsetdefinitions, and explicit aspect-ratio declarations to eliminate Cumulative Layout Shift (CLS).
CI/CD & Edge Deployment
- Engineered a GitHub Actions workflow that automatically executes build validation, checks semantic markdown linting, and deploys on pushes to
main. - Implemented OpenGraph and Twitter card metadata for rich link previews across Discord, LinkedIn, and Twitter.
Algorithm & Complexity Benchmarks
Static Route Delivery
vs SPA hydration bootO(1) Space: 0 KB JS runtime 19 pre-built HTML pages served from edge CDN with sub-400ms LCP.
Command Palette Filter
N < 30 indexed itemsO(N) Space: O(1) Instant <1ms keyboard filtering across projects, routes, and actions.
Architecture Trade-Offs
Static Site Architecture
Eliminates framework runtime hydration overhead on content routes, keeping initial page payloads under 50KB compressed with 0.00 CLS.
Asset & Font Hosting
Preloading local Geist/Alice WOFF2 files and Sharp-optimized WebP assets removes third-party DNS/TLS round-trips on initial paint.
Project Results
Google Lighthouse
Achieved a perfect 100/100 across all core categories: Performance, Accessibility, Best Practices, and SEO (alongside 2/2 in Agentic Browsing audits).
Page Weight
Total initial payload under 50KB compressed.
Load Times
First Contentful Paint (FCP) and Largest Contentful Paint (LCP) consistently under 300ms on broadband networks.