Portfolio Website

jackraffle.xyz - React 19 + Vite 8

Personal portfolio and project archive. React 19 with react-router-dom 7, Vite 8 build, Framer Motion page and scroll animations, and an installable PWA with a hand-rolled service worker. Deployed on Vercel with analytics and speed insights.

Role: Solo Developer

Tools and tech: React 19, Vite 8, JavaScript, HTML5/CSS3, Framer Motion, React Router 7, Service Workers, Vercel, Node.js, Playwright

Highlights

  • Scroll-reveal system built on a shared IntersectionObserver hook
  • Skill-to-project mapping surfacing real evidence per skill
  • Installable PWA: hand-rolled service worker, network-first routing, offline archive
  • 20-project archive with galleries, grades and downloads
  • CSS custom-property design system driving the whole palette
  • Node.js build step that prerenders every route with its own meta tags, structured data and readable body text
  • Responsive image pipeline: 400w and 800w WebP copies served through srcset, cutting image weight on phones by about 70%
  • Playwright checks run against the live site after each deploy, each with a control that must fail

What I learnt

Migrating three years of coursework off Wix taught me not to trust filenames. Assets were named after the wrong projects, so the only reliable check was opening every image and judging it against what the project actually was. The old site's videos turned out to be injected client-side, which is why an ordinary page fetch found none of them and the first migration silently dropped all 23. On the build itself, the lesson was to verify behaviour rather than output: a green build told me nothing about whether a layout actually held at 390px.

What I'd improve

I should have settled the data shape before moving content. The skill-to-project map shipped with 30 of 55 keys resolving to nothing, so the site was offering clicks that went nowhere - and the empty ones were exactly the full-stack skills I most wanted to evidence. The images shipped unoptimised too - a single 4MB PNG was loading as a grid thumbnail - which I have since fixed by converting the lot to WebP, cutting 84MB to 5MB. I would also write the project data with a schema from the start instead of letting fields like duration and preview appear on some entries and not others.

Links