02 / 03
Case study · Personal Portfolio Websites · 2026
Web Developer Personal Portfolio
A portfolio that shows the work, and the checks behind it.
This site is the project. It is a static Astro portfolio for my services, projects, experience and writing, built with a validated content system, two visual themes and custom interactions layered over the content. I built it from a written set of requirements to a deployed site on Cloudflare, and measured it along the way: accessibility tests, security headers, a dependency audit and Lighthouse runs on the live site.
-
99
mobile Lighthouse performance on the live home page, in my run on 28 November 2026
-
$0
total cost, from the first line of code to a live site that deploys from the main branch in about a minute
-
144
automated tests passing and none failing, with axe checks in light and dark
-
0
third-party scripts, external fonts or analytics
00 Try it now
The live demo is the page you’re on.
- 01
Switch the theme
Use the switch in the header. Dev plays a rocket scene, Classic a parachute capsule.
- 02
Open the Services tabs
Four tabs, one card each. On large screens scrolling picks the tab, and hover pauses the automatic switching.
- 03
Meet the astronaut
In Dev mode, click it to open the contact tablet. On a desktop, dragging it three times does the same.
Esccloses it. - 04
Check my numbers
Open DevTools and run Lighthouse in mobile mode on any page of this site, then compare your result with mine in the Results section.
01 The challenge
A portfolio is judged twice: by the work and by how the site works.
I wanted one platform to represent my range, from WordPress and technical SEO to full-stack projects. It had to be easy to maintain, structured for search and technically sound, without a backend, a paid CMS or heavy dependencies.
The site had to meet the standard it describes: content checked by the build, and every claim on the page backed by a test, a header or a measurement.
- 01
The site had to demonstrate its own quality
Structure, loading, accessibility and search foundations had to be deliberate from the start.
- 02
Content had to be easy to maintain
Projects, articles and copy needed predictable homes, with no duplicate copies to keep in sync.
- 03
Personality without unnecessary complexity
Distinctive themes and motion, but never at the cost of readable content, reduced-motion preferences or visitors without JavaScript.
- 04
Quality had to be proved, not claimed
Fast, accessible and secure had to show up as measurements, tests and headers I could point to, not as adjectives on the page.
Constraints Static-first · no backend or database · no CMS · minimal dependencies · $0 budget.
02 The solution
Add a project by adding a file.
Projects and articles are Markdown files with validated data. Zod schemas require fields such as image alt text, apply content limits and handle drafts. A project can only use service tags that belong to its service category, and only tool names from a fixed list. Drafts stay out of published routes, unknown project addresses return a real 404, and canonical links, structured data and sitemap entries come from the same source.
So content updates happen in files, not scattered component edits, and anything that breaks the schema fails the build instead of reaching the site. The same file also produces what a search engine needs to understand the page, listed below.
-
A title and description for each page
Titles are 42 characters or less, which keeps the full title tag near 60 once the site name is added, and descriptions are 120 to 160. A generated inventory of all site text flags any page outside its range.
-
One address per page
Every page has a canonical link and a trailing slash, and an unknown address returns a real 404 instead of a soft error page.
-
Structured data
JSON-LD describes the site and its owner, each project with its breadcrumbs, each post with its dates and breadcrumbs, and the blog archive. It is escaped and built from the same fields as the page.
-
Sitemap and robots
Both are generated at build time, and a test fails if the sitemap and the built pages disagree with the route list.
-
A share image for each page
Each project and post has a JPEG share image, 1200 pixels wide, made from its cover. Every page also carries its own title, description, image and image description in the Open Graph and Twitter card tags, which is what link previews read.
-
No thin pages
There are no tag or category pages, because a page that lists one post adds nothing. Drafts and Earlier Work cards never get a page or a sitemap entry.
03 Key decisions
Decisions that shaped the site.
01
Interactive content stays in the page
All four Services panels are present in the generated HTML. JavaScript controls how they’re shown; it doesn’t create them. Without JavaScript the panels stack. With reduced motion the animated presentation is skipped.
Show the detail
The panels share one layout area, so switching tabs doesn’t change the page height.
Why it matters The interaction enhances the content; the content never depends on the interaction.
02
Two themes, one system
Classic is the light theme, built for content and readability. Dev is darker and more expressive, with a night sky and playful details.
Both use the same layout and content: colours, spacing and timings live in design tokens, and components respond to one theme attribute. Switching to Dev plays an original rocket scene; switching back plays a parachute capsule.
Show the detail
A small script sets the theme before first paint, so the wrong theme never flashes.
Why it matters The two looks are one implementation, so navigation, content and structure stay consistent.
03
Measure first, then fix what is real
When I ran Lighthouse on the finished build, accessibility came back at 97, not 100. The cause was my own design. The About steps were dimmed to 40 percent until they lit up, and their text failed colour contrast. I raised the resting opacity until every step passed, and the score went to 100.
Performance went the other way. Two stylesheets block rendering, and inlining them would have saved a few hundred milliseconds. It would also have added about 25 KB to every page and lost caching between pages, so I left them. I tested the obvious suspect for the 2.1 s LCP, the preloader, by switching it off. LCP stayed at 2.1 s in my local test, so the preloader stayed.
Show the detail
Each decision is written in the project’s decision log with the numbers that drove it.
Why it matters Measuring first meant I fixed the one real problem and left the trade-offs I could justify.
04
Tests that look for what the eye misses
I added a Playwright suite that runs the site at phone, tablet and desktop widths, plus axe accessibility scans of six pages in light and dark. It found real bugs I had not seen. The reduced-motion logo lists ran on as one long line and scrolled the home page sideways, the case study header grew past the screen on small widths, and a scrolling list could not be reached by keyboard.
A second test came from reading its screenshots. A section title was 432 px wide in a 320 px column and ran into its neighbour without making the page scroll, so no overflow test could see it. I added a layout test that loads the home page at six widths and fails when any heading is wider than its box.
Show the detail
The layout test loads the home page at 360, 768, 1024, 1280, 1440 and 1536 px.
Why it matters A green build says the code compiles. These tests say the page holds together at the sizes people actually use.
05
AI search optimization (GEO and AEO), built in
More people now ask an AI assistant and get one clear answer instead of a list of links. AI search optimization (GEO and AEO) is the work of making a site easy for those tools to find and understand, and this site is built that way.
Every page is plain HTML with clear headings, so everything is readable straight away. Structured data tells search tools who the site belongs to and what each project and post is about. Every crawler is welcome, and a sitemap and a feed point to all the content.
Show the detail
No special files or AI-only markup are needed. Google’s guidance on AI features in Search says so, which is why the effort went into the pages themselves.
Why it matters A clear, well-structured, open site gives AI search the best material to work with. The same foundations suit a business website, and they can be checked in the page’s HTML.
Interactions with rules
-
The contact tablet
In Dev mode an astronaut appears in the hero. Click it, or on a desktop drag it three times, to open a native dialog with the same contact details used elsewhere. It closes with
Esc, the close control or a click outside, and focus returns afterwards. Without JavaScript the astronaut is a link to the Contact section. No dialog library, no duplicate content. -
The glass Services tabs
Four categories, one focused card each. A custom selector moves with spring motion. On larger screens the section pins and scrolling chooses the tab. The tabs also switch by themselves, so touch screens get a round pause and play button between Previous and Next, which meets WCAG 2.2.2 and is hidden under reduced motion. On desktop, hover and focus pause the switching.
-
A header that changes shape
At the top of the page the header is three plain groups: the logo and handle, six links with a letter pinch on hover, and the theme switch. After 120 px of scroll it becomes a glass pill that fades in, so the swap is never seen. On phones the links move into a full-screen menu. It is one element throughout, so the page always has a single theme switch whose name starts with its visible label.
-
A page that reacts to the pointer
Hovering a project row on the home page shows that project’s cover on a small card that follows the cursor and fades between rows. Other cards show a round READ or VIEW label, the arrow circles fill on hover, and images open in a full-screen viewer. The eye in the hero follows the pointer and grows for a moment when it starts to move; at rest it glances left and right and keeps blinking. In Dev mode the background stars are real elements that bend toward the pointer like a small black hole. Clicks make a soft sound synthesised in the browser, with no audio file, for mouse and pen users only. The cursor labels, cover card and star pull are off on touch screens, the eye follows only a real pointer, and no content depends on any of them. All of it runs on about 18 KB of gzipped first-party JavaScript on the home page, with no animation library, and the home page scored 99 on mobile in my run.
Also decided
- My first palette, a cream page with beige cards and a rust accent, was reverted because it looked old and the accent disappeared. The final one is cool neutrals with one violet accent, and every text pair was checked by script for AA contrast.
- I chose IBM Plex Sans for reading text over an all-monospace page after finding the long paragraphs hard to read.
- The first rocket preloader became a logo curtain that never shows on home, reload, Back or with reduced motion.
- A five-second test on the finished home page found the hero name too large and thin, the reading text too big on phones, and the Projects and Blog links pointing to home anchors instead of the archives. I fixed all three.
- After launch I opened the live site on my phone and found three problems my computer checks had not shown. The page shook slightly while scrolling, so I changed the hero height from one that follows the browser toolbar to one that stays the same when the toolbar moves. That was a guess, and the phone confirmed it. The astronaut could not be dragged by touch, and the stars recalculated every time the toolbar slid in or out. Both are fixed for touch screens. I also gave the About steps a short accent bar under each title.
04 How I built it
Built in stages, each one something the next could rely on.
Every slice of work had its own branch and a written brief, and I merged it only after walking through it: 360, 768, 1024 and 1280 px, light and dark, keyboard, reduced motion, an empty console and no sideways scroll.
Decisions went into one numbered log of about 90 entries, each with its reason. When I changed my mind, the new entry says which old one it replaces.
My responsibilities
-
Direction
I set the requirements, split the work into slices and decided what to cut when time ran short.
-
Content
I chose the final wording from a generated inventory of every piece of text on the site, so there is one place to review it.
-
Visual decisions
Five feedback rounds on palette and type, and a five-second test, each ending in a written decision.
-
Review and testing
I read the accessibility and layout test results, and fixed what they found, before release.
-
Release
I set up the deployment and ran the checks on the live site.
- 01
Requirements and foundations
I wrote down requirements and recorded decisions before building anything major. Then I set up Astro 7 and Tailwind CSS 4, centralised design tokens and set up content collections and SEO.
- 02
Build the system
Page structure, shared components and responsive layouts: navigation, hero, About, Services, Projects, Experience, Blog and Contact, then project and article pages. Native browser features over UI libraries.
- 03
Add character, with rules
Glass navigation, theme transitions, a preloader, cursor interactions, the astronaut tablet, and redesigned About and Services.
- 04
Make it provable
Tests, a performance pass, security headers and a dependency audit, all run on the finished content so the results describe what visitors actually get.
- 05
Release and verify
Deployed to Cloudflare from the main branch, then checked the live site. The results are below.
An interaction had to earn its place
I cut ideas that were only decoration, like an earlier cursor glow, ring and trail.
05 Under the hood
Static-first, on purpose.
For engineers
The architecture is intentionally static-first: a complete portfolio experience without a large application framework or unnecessary dependencies.
-
Static output, small dependency surface
No runtime backend, database, CMS, UI-framework island or animation library. Only the framework, styling and build tools, plus dev-only packages for testing.
-
Security through fewer externals
No third-party scripts, external font requests, embeds or analytics, and every request is same-origin. Contact is a mail link, Markdown is rendered without raw HTML, and structured data is escaped.
-
Headers and a content security policy
Every response carries nosniff, a strict-origin-when-cross-origin referrer policy, a permissions policy that turns off camera, microphone, geolocation, payment and USB, and rules that forbid framing and form submissions. The page policy is generated by Astro and hashes every bundled inline script and style. Two small theme scripts are hashed by hand, so a check script run after every build fails if any inline script or style on any page lacks a hash. It reported 0 problems across 10 pages.
-
Fast by default
Fonts are self-hosted and five are preloaded, the custom cursor stylesheet loads only on devices with a fine pointer, and built assets are cached for a year as immutable. The home page’s HTML, CSS and preloaded fonts come to about 175 KB gzipped.
-
A clean dependency audit
The audit found issues in three production packages, one moderate and two high, and one dev package. I updated the four packages in the lockfile, left
package.jsonalone, did not run the automatic fix, and the audit now reports 0 vulnerabilities. Node is pinned to version 24 so the host builds with the same major version I use. -
Hosting that costs nothing
The site is static files on Cloudflare Workers with static assets, on the free plan. Cloudflare now points new projects to Workers rather than Pages, so I chose that. Every push to main builds and deploys. The first build took 59 seconds in total, and the site itself built in under eight.
A bug I caught
A bundler change silently dropped three of eight generated cursor rules. I moved the rules into a static file and added a count check so the build catches it next time (the set has since grown to ten).
- Framework
- Astro 7
- Language
- TypeScript 6, vanilla JavaScript
- Styling
- Tailwind CSS 4, CSS design tokens
- Build
- Vite 8
- Content
- Astro Content Layer, Markdown, Zod 4
- Images
- Astro image pipeline, Sharp
- Typography
- IBM Plex Mono and IBM Plex Sans
- Browser APIs
- Native Dialog, IntersectionObserver, Web Share, WebAudio
- Checks
- Astro Check, Playwright, axe-core
- Security
- Response headers and a hashed content security policy
- Hosting
- Cloudflare Workers (static assets), free plan
06 Results
Built, measured and shipped.
The site is live and I measured it there. Lighthouse scores can move a point or two between runs, and the ones below are single lab runs from 28 November 2026.
Google’s “good” lines for Core Web Vitals are a Largest Contentful Paint of 2.5 seconds or less and a layout shift of 0.1 or less. Google judges them on real visitors; in my lab runs, one per page, every page sat inside the first line, and the home page measured a layout shift of 0.
- Lighthouse mobile, three pages
- Home, a case study and a blog post each scored 99, 100, 100, 100. LCP was 2.0, 1.8 and 1.9 s. On the home page TBT was 0 ms and CLS 0.
- Lighthouse desktop, home page
- 100 on all four scores. FCP 0.4 s, LCP 0.5 s.
- Automated tests and axe
- 162 tests at three viewports: 144 passed, 18 skipped by design, 0 failed, in 27.7 seconds. axe scanned 6 pages in light and dark with no serious or critical issue and no rule switched off.
- Build and security checks
- Astro check 0 errors and 0 warnings, content security check 0 problems across 10 pages, dependency audit 0 vulnerabilities.
- Live site
- All 9 pages, the sitemap, robots.txt and the resume PDF return 200. A missing page returns the custom 404, the security headers are present, and the browser console stayed empty on the home page, the theme switch, a project and a post.
07 Takeaway
Built to be maintained, not just launched.
This is more than a redesign. It is a complete website system built around real requirements: content that is easy to manage, structure that can grow, interactions with a purpose, and decisions that are documented and reviewed.
The loop is the method, not just this site: content checked by the build, accessibility and layout tests, security headers, a dependency audit, and Lighthouse on the live URL, with results and gaps reported in plain words. Scores depend on plugins, hosting and third-party scripts, so the method reports what was measured and promises no number.
What I can deliver
- Portfolio and business websites with content that is easy to update
- Fast, accessible sites that are measured before and after launch
- AI search optimization (GEO and AEO) and technical SEO foundations
- Interactive sections that keep their content in the HTML
- Brand themes and motion that respect reduced-motion settings
Need a website that is fast, accessible and easy to keep up?
Tell me what you’re building. I’ll tell you what I would build, what I would measure, and what I would leave out.
Keep exploring
-
Web Application · Development
OM Incentive Payroll Platform
An internal payroll app that replaces spreadsheet-based commission processing with a five-stage workflow, exact calculations, role-based access and an audit trail.
Next.jsReactTypeScriptPostgreSQLPrisma -
SEO & Support + WordPress Website · Non-development
Australian Cleaning Service Multi-Location Landing Pages
Rebuilt 100+ localized suburb and service landing pages on WordPress, with unique content, on-page SEO, corrected internal links and a tracked production workflow.
WordPressGoogle Sheets