Components

Reusable React components organized by domain.

Reusable React components organized by domain.

Layout

  • SiteNav - Shared pill navigation with avatar, active section, and a full-screen mobile card menu
  • SmoothScroll - Reduced-motion-aware scrolling with modal and nested-scroll handling
  • BottomNav - Bottom navigation bar (detects active note slug for chatbot context)
  • CommandPalette - Keyboard shortcut palette
  • ThemeProvider - Theme context for light and dark mode

The desktop and mobile link metadata lives in site-nav-links.ts. Mobile links include icons, descriptions, and featured Projects and Contact rows. Keep both lists in sync when changing destinations. Styles live in SiteNav.module.css and use the site’s light/dark theme colors. All destination cards share a 0.75rem grid gap, including the Contact row. The menu scrolls independently, locks body scrolling, traps keyboard focus, and closes on navigation, Escape, or a switch to the desktop breakpoint (640px). Reduced motion disables entrance movement.

The project CTAs reuse the homepage’s compact YouBuildItSpotlight and TransmuteShowcase components, including their descriptions, action buttons, challenge previews, and game showcase. Their destinations open in new tabs.

MobileMenuScene mounts the shared SceneSurface while the menu is open, below those project cards and above the social footer. It uses the shared scene selection and settings with a local 4px cell size and a minimum height of 16rem, leaving the homepage cell size unchanged. Reduced motion shows a still frame; disabling scene visibility hides the artwork.

Content

  • NoteList - Blog post listing with view counts
  • ArticlePage - Full article renderer
  • TableOfContents - Auto-generated TOC from nested H2–H6 headings (fixed sidebar on desktop, inline collapsible on mobile)
  • PageActions - Markdown copy/export, assistant links, sharing, and previous/next links
  • RelatedArticles - Related post suggestions
  • ProjectList - Project cards with filter bar

Home

  • HomePage - Shared content tree for Hero and Two columns layouts

  • LayoutDockButton - Persistent homepage layout picker

  • SceneBackground / SceneSurface - Theme-aware artwork and ready-frame crossfades

  • GlyphTrail - Desktop pointer trail using the active scene’s accent colors

  • SpotifySection - Now playing / recently played tracks from Spotify (used on home and about pages)

  • VscoGallery - Infinite scroll VSCO gallery
  • FeaturedGallery - Curated homepage gallery

UI

  • DockPanel - Animated dock panel surface with inert exits and reduced-motion support
  • Tooltip - Portaled, viewport-aware hints with safe focus restoration
  • UniversalImage - Image with placeholder fallback
  • ImagePreview - Hover preview portal
  • Table - Enhanced MDX table
  • YouTubeEmbed - Responsive video embed

OG Image

  • OGLayout - Server-rendered OG image layout
  • TextElement - Styled text for OG images
  • ImageElement - Image with fallback for OG images

Icons

  • ProjectIcon - Renders image, emoji, or SVG component icons