738f847d36 feat: theme system + institutional theme + andebol.net domain config
Add domain-aware theme system (BIT-494, BIT-495, BIT-496, BIT-497):

- Theme architecture: move shared components into src/themes/sports/,
  create src/themes/institutional/ with handball-oriented design
- Domain config: andebol.net.json (institutional theme, pt-PT locale,
  handball categories, WP endpoint port 8081)
- theme.ts library: resolves theme components per domain config
- Updated layouts/pages to use theme-aware component loading
- Updated docs: domains.md, frontend.md with theme system docs
- Smoke test script for andebol.net
- WordPress .env.example with andebol env vars

Note: this work was completed in BIT-494/495/496/497 but was
never committed — committing now to unblock andebol.net deploy.

Co-Authored-By: Paperclip <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-27 08:38:41 +00:00

news-platform

Scalable multi-domain sports news platform — Astro 5 SSR frontend, Fastify bridge, headless WordPress.

Structure

news-platform/
  frontend/       # Astro 5 SSR frontend application
  bridge/         # Fastify bridge (WordPress REST API cache + normalizer)
  wordpress/      # WordPress config, themes, plugins
  config/domains/ # Per-domain configuration files
  docs/           # Architecture and runbooks
  deploy/         # LXC provisioning and deploy scripts

Quick Start

# 1. Start WordPress + MySQL
cd wordpress && docker compose up -d

# 2. Start bridge
cd bridge && npm install && npm run dev

# 3. Start frontend
cd frontend && npm install && npm run dev

Open: http://localhost:4321

Documentation

  • Paperclip project: News Platform
  • Parent issue: BIT-345
  • Gitea remote: https://git.bitreport.pt/BitReport.pt/news-platform.git
S
Description
Scalable multi-domain sports news platform (frontend + WP bridge + SEO + LXC deploy)
Readme
4.6 MiB
0 Stars 32 Watchers 0 Forks
Languages
TypeScript 51.2%
Astro 38.9%
Shell 6.4%
CSS 2.2%
JavaScript 1.3%