Skip to content

Add Next.js website workspace with skeleton pages#820

Open
MaxGhenis wants to merge 5 commits intomainfrom
nextjs-skeleton
Open

Add Next.js website workspace with skeleton pages#820
MaxGhenis wants to merge 5 commits intomainfrom
nextjs-skeleton

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Adds a new website/ Turborepo workspace using Next.js 15 App Router
  • Includes placeholder pages for all static routes: home, team, donate, supporters, privacy, terms, research, claude-plugin
  • Country validation layout ([countryId]) with header/footer shell
  • 14 passing Vitest tests (TDD — tests written first)
  • Next.js build succeeds, existing Vite app unaffected

Test plan

  • bunx vitest run passes (14 tests)
  • bunx next build succeeds
  • Existing app/ typecheck still passes
  • CI passes on this PR

Fixes #812

🤖 Generated with Claude Code

Sets up a new `website/` Turborepo workspace using Next.js 15 App Router,
Tailwind CSS 4, and Vitest. Includes placeholder pages for all static routes
(home, team, donate, supporters, privacy, terms, research, claude-plugin)
with country validation layout and 14 passing TDD tests.

Fixes #812

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-app-v2 Error Error Mar 10, 2026 10:58pm
policyengine-calculator Ready Ready Preview, Comment Mar 10, 2026 10:58pm

Request Review

Ports header, footer, and all static website pages from the Vite app
to the Next.js workspace using agent teams (5 parallel agents):

- Header with nav, mobile menu, country selector
- Footer with social links, newsletter subscribe
- Home page with hero, org logos, blog preview, tracker preview
- Team and Supporters pages with member cards
- Donate, Privacy, Terms pages (country-aware legal content)
- Research listing with tag filtering and search
- Claude Plugin page with terminal UI

18 passing tests, Next.js build succeeds, existing Vite app unaffected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
MaxGhenis and others added 3 commits March 10, 2026 16:41
… efficiency

- Extract duplicate useCountryId hook from Header/Footer into shared hooks/
- Remove expired DowningStreetBanner (ended Feb 2026)
- Rename mockAuthors → AUTHORS (real data, not mock)
- Remove unnecessary 'use client' from ActionButton
- Fix OrgLogos hydration mismatch by shuffling only on client
- Memoize Fuse.js instance in ResearchClient
- Fix FilterSection height not updating when children change
- Run prettier

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move useInfiniteScroll from inline in ResearchClient to hooks/
- Create lib/countries.ts with VALID_COUNTRIES and CountryId type
- Import shared constant in country layout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Next.js migration: skeleton + static pages

1 participant