Skip to content
← PortfolioLive at storesuite.devNext.js → Astro 6

StoreSuite · Case study From Next.js to Astro 6: a 97-PageSpeed docs and marketing site.

The site for StoreSuite, a free WooCommerce dashboard plugin: marketing, docs with search and a blog. Built solo, and moved from Next.js 16 to Astro 6 in eight days.

●Pagefind docs search✓100 accessibility · SEOMobile LCP 1.8 s
Days to Astro8
My commits96
Docs pages18
Mobile score97
My role
Sole developer, with Claude Code as pair
Timeline
20 weeks, in two bursts
Content
18 docs pages, 12 blog posts
Stack
Astro 6, React 19, Tailwind v4, Pagefind
01 — Timeline

96 commits, two bursts.

Pick a week to see what shipped.

Week 1 · 40 commitsThe landing page and its design passes, the interactive hero demo, and the first docs on Fumadocs.
02 — Platform

Static HTML, islands only where needed.

  • Static build, no SSR
  • JavaScript only in islands
  • Docs search with no service
  • Light and dark, no flash
Build pipeline · pnpm buildMDX content collectionsdocs/*.mdx · blog/*.mdxAstro 6 static buildstatic HTML + islandsPagefind indexerindex of /docs pagesdist/Cloudflare Pages · edgeStatic HTML and assets_headers asset cachingPrerendered routes/docs/* · /blog/page/N · /llms.txtSearch indexPagefind index filesHTTPBrowser · desktop and phoneStatic documentno hydrationReact 19 islandsheader, menu, demo, toggleNanostores bridgeshared menu state
Build: MDX collections compile to static HTML, then Pagefind indexes the built docs pages. One pnpm build, nothing to run.
03 — Key decisions

Four calls that shaped the site.

The interface

Ruled frames and a live demo

Five design passes in two days ended on Zed-style ruled frames, and the hero screenshot became a React island that simulates the plugin’s dashboard.

Ruled frames · React island demo
design passes
Pass 1Landing page addedPass 2Redesign in ClickUp dashboards stylePass 3Zed-style ruled-frame layoutPass 4Colour guidelines applied, dark mode fixedPass 5Hero screenshot becomes an interactive demo✓ ruled-frame layout, light and dark
The pivot

From Next.js 16 to Astro 6 islands

Every section shipped React, and Fumadocs only ran on Next. Astro makes the sections static and hydrates only the parts that move.

Astro 6 · React 19 · nanostores
Next.js 16
  • Next.js 16 app
  • Fumadocs for the docs, Next-only
  • React for every section
Migrated in eight days ↓
Astro 6
  • Static .astro sections, no JavaScript
  • React 19 islands only where needed
  • Docs on content collections
  • Tailwind CSS v4 on Cloudflare Pages
Documentation

Hand-built MDX docs with search

18 MDX pages on Astro content collections, with a table of contents that follows the scroll, Pagefind search, a ⌘K palette and a .md twin per page.

Content collections · Pagefind · ⌘K
docs
StartDocs start on FumadocsRebuildRebuilt on Astro content collectionsContentEvery plugin feature documentedAgentsA .md twin per page, llms.txt, robots.txtSearchSearch box becomes a ⌘K paletteUpdateThe 1.3.0 additions documented✓ 18 pages, searchable in preview and production
The blog

Static pages, filters across all of them

Browsing stays on prerendered pages; filtering runs from a React island across every page, and the featured post is left out of the list so the counts agree.

Static pagination · React filters
ModeURLRendering
Browsing/blog/page/N/Prerendered HTML
Filtering/blog/?category=XReact island, all pages
Featured/blog/Static hero, not in the list
04 — Speed

A blur that cost about 3 s.

Five 400px SVG blur filters in the hero kept desktop PageSpeed at 69. Flip the switch to see what the fixes changed.

100Desktop PageSpeed
Hero blur3 KBOne WebP of what they drew
Layout shift0Metric-matched Geist fallbacks
Favicon2 KBA 96px icon
AnalyticsDeferredFirst interaction or 1.5 s
Mobile PageSpeed
97Performance
1.8 sFCP
1.8 sLCP
120 msTBT
0.002CLS
2.6 sSpeed Index

Desktop 69 → 100 as the commit messages report it. Mobile: PageSpeed Insights, emulated Moto G Power on slow 4G, with 100 for accessibility, best practices and SEO.

05 — Screens

storesuite.dev, on every screen.

Features, pricing, docs, blog and contact, as full pages.

06 — Behind the build

One developer, Claude Code as pair.

92 / 96commits carry a Claude co-author trailer. AGENTS.md and CLAUDE.md hold the rules it follows.
With Claude Code (92)Solo (4)
I directed

The move to Astro, the ruled-frame design, the performance work, and what the legal pages may claim.

Claude drafted

The mobile menu, feature copy matched to the docs, blog covers and two long posts.

Crawlers and AI readers

llms.txt, robots.txt and structured data, added with accessibility fixes. Each docs page also has a static .md twin.

Contact and newsletter

The contact page posts to Contact Form 7 with Cloudflare Turnstile; the footer newsletter is wired to Brevo.

Legal copy kept true

A review corrected the privacy policy and terms once Google Analytics, the form and Turnstile had made them false.

Theme before paint

An inline script sets data-theme and the .dark class before the first paint, and follows the OS setting live.

Astro 6React 19Tailwind CSS v4TypeScriptMDXPagefindnanostoresCloudflare PagesContact Form 7TurnstileClaude Code

Non-merge commits on the platform/astro branch. Claude Code commits were made in my sessions and count as mine. Commit counts measure activity, not effort.

Lets work together

Need a successful project?

I’m available for freelance work.

Hire/Contact Me Now