Files
orion/app/modules/hosting/templates_library/manifest.json
Samir Boulahtit 2e043260eb feat(hosting): add industry template infrastructure (Workstream 3B)
5 industry templates as JSON presets, each with theme + multi-page content:
- generic: clean minimal (homepage, about, contact)
- restaurant: warm tones, Playfair Display (homepage, about, menu, contact)
- construction: amber/earth tones, Montserrat (homepage, services, projects, contact)
- auto-parts: red/bold, parts-focused (homepage, catalog, contact)
- professional-services: navy/blue, Merriweather (homepage, services, team, contact)

Each template has:
- meta.json (name, description, tags, languages)
- theme.json (colors, fonts, layout, header style)
- pages/*.json (section-based homepage + content pages with i18n)
- {{placeholder}} variables for prospect data injection

TemplateService loads from templates_library/ directory with caching.
GET /admin/hosting/sites/templates endpoint to list available templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:41:33 +02:00

41 lines
1.4 KiB
JSON

{
"version": "1.0",
"templates": [
{
"id": "generic",
"name": "Generic Business",
"description": "Clean, minimal template that works for any business type",
"tags": ["general", "minimal", "any"],
"pages": ["homepage", "about", "contact"]
},
{
"id": "restaurant",
"name": "Restaurant & Dining",
"description": "Elegant template for restaurants, cafés, bars, and catering",
"tags": ["food", "dining", "hospitality", "café"],
"pages": ["homepage", "about", "menu", "contact"]
},
{
"id": "construction",
"name": "Construction & Renovation",
"description": "Professional template for builders, renovators, and tradespeople",
"tags": ["construction", "renovation", "building", "trades"],
"pages": ["homepage", "services", "projects", "contact"]
},
{
"id": "auto-parts",
"name": "Auto Parts & Garage",
"description": "Template for auto parts shops, garages, and car dealers",
"tags": ["automotive", "garage", "car", "parts"],
"pages": ["homepage", "catalog", "contact"]
},
{
"id": "professional-services",
"name": "Professional Services",
"description": "Template for lawyers, accountants, consultants, and agencies",
"tags": ["professional", "consulting", "legal", "finance"],
"pages": ["homepage", "services", "team", "contact"]
}
]
}