Files
Artur MoreiraandPaperclip 4eb6d37781 feat: build Astro 6 SSR frontend for multi-domain sports news platform
Complete implementation of BIT-349:

- Astro 6 SSR with @astrojs/node standalone adapter
- Multi-domain config system: reads config/domains/<host>.json on each request
- Homepage: HeroSection (3 featured), TrendingBar, LatestGrid, CategorySections
- Category page: filterable grid + pagination
- Article page: header, body, structured data, related articles, sidebar ad slot
- Dark/light theme toggle (no-flash, localStorage-backed)
- Sticky responsive header with mobile menu
- SEO: meta/OG/Twitter tags, schema.org (WebSite, NewsArticle, BreadcrumbList)
- Dynamic /sitemap.xml and /robots.txt (SSR)
- BridgeClient with in-process SWR cache (60s fresh / 5min stale)
- MockBridgeClient fallback when bridge is unreachable (dev-friendly)
- Performance: minimal client JS, lazy images, fetchpriority on LCP
- docs/frontend.md added

Build passes: npm run build OK
Smoke test: all routes 200 (/, /category/:slug, /article/:slug, /robots.txt, /sitemap.xml)

Paperclip-Agent: Artur (urlKey artur; id ac1be104-8818-496a-80c5-fbc590a87855)
Paperclip-Issue: BIT-349
Paperclip-Run: 407358da-8311-4b0a-9672-dda636bcf974
Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 14:17:59 +00:00
..