All Projects

Personal Website

Role
Design, Frontend Architecture & DevOps
Read
2 min read
Table of Contents
  1. Project Overview
  2. Problem Statement
  3. Solution Architecture
  4. Technical Deep Dives
    1. Zero-JS Island Architecture
    2. Asset & Typography Optimization
    3. CI/CD & Edge Deployment
  5. Algorithm & Benchmarks
  6. Architecture Trade-Offs
  7. Project Results

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.

Live architecture & logic flow
Service Data store External
HTML + CSS, no JS push to main Astro Components & MD Astro Static Compiler Optimized Static Artifacts GitHub Actions CI/CD Edge CDN Deployment
Click or focus any node to inspect architectural details.

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: swap to avoid invisible text during font loading.
  • Optimized raster images using modern formats (.webp), responsive srcset definitions, 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 boot
Time: O(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 items
Time: O(N) Space: O(1)

Instant <1ms keyboard filtering across projects, routes, and actions.

Architecture Trade-Offs

Static Site Architecture

Chosen: Astro 5 Zero-JS Default + Scoped Islands Over: Client-Hydrated React/Next.js SPA

Eliminates framework runtime hydration overhead on content routes, keeping initial page payloads under 50KB compressed with 0.00 CLS.

Asset & Font Hosting

Chosen: Self-Hosted WOFF2 + Build-Time WebP Over: External Font & Image CDNs

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).

Google Lighthouse audit score breakdown showing 100 Performance, 100 Accessibility, 100 Best Practices, 100 SEO, and 2/2 Agentic Browsing.

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.

Keyboard Shortcuts

Global Navigation

  • Open Command Palette Cmd / CtrlK
  • Toggle Bruce's AI Assistant Shell ~or`
  • Show keyboard shortcuts ?
  • Close active modal or dialog Esc

Case Studies & Diagrams

  • Jump to next article section J
  • Jump to previous article section K
  • Inspect focused architecture node Enter / Space

Interactive Shell

  • Autocomplete commands, routes, & slugs Tab
  • Cycle command history ↑↓