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]>
24 lines
736 B
JSON
24 lines
736 B
JSON
{
|
|
"site_name": "FPA Example",
|
|
"tagline": "Institutional news and announcements — demo configuration",
|
|
"theme": "institutional",
|
|
"logo": "/assets/logo.svg",
|
|
"favicon": "/favicon.svg",
|
|
"primary_color": "#1a3a5c",
|
|
"secondary_color": "#4a6fa5",
|
|
"accent_color": "#f5f5f5",
|
|
"categories": [
|
|
{ "slug": "federations", "label": "Federations" },
|
|
{ "slug": "news", "label": "News" },
|
|
{ "slug": "events", "label": "Events" },
|
|
{ "slug": "results", "label": "Results" },
|
|
{ "slug": "media", "label": "Media" }
|
|
],
|
|
"bridge_endpoint": "http://localhost:3200",
|
|
"wp_endpoint": "http://localhost:8080/wp-json",
|
|
"locale": "en-US",
|
|
"timezone": "Europe/Lisbon",
|
|
"ads_enabled": false,
|
|
"analytics_id": null
|
|
}
|