Moves the app to TanStack Start with prerendering

Every page is now built as HTML from sitePages.ts, with a catch-all route for
404.html. Hooks that read the browser during render are safe for prerendering.
The script step that keeps the CSP intact follows, so this build still has
inline scripts and is not deployable yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 17:58:54 +01:00
co-authored by Claude Opus 5.5
parent 65c850e949
commit c1e90f0768
33 changed files with 746 additions and 269 deletions
@@ -27,10 +27,7 @@ export default function TestimonialCarousel({
testimonials: Testimonial[];
}) {
const count = testimonials.length;
const [reducedMotion] = useMediaQuery(
['(prefers-reduced-motion: reduce)'],
{ ssr: false },
);
const [reducedMotion] = useMediaQuery(['(prefers-reduced-motion: reduce)']);
// Empty on load; filled only by a change, so nothing is read out then
const [announcement, setAnnouncement] = useState('');
const carousel = useCarousel({