Add Site Studio themes and Theme Manager

Support categorized fragments, theme presets, block widths, and server-backed theme editing with onboarding and preview.

Include Site Studio, design sources, specification and verification reports; remove the legacy studio-site example.
This commit is contained in:
2026-11-13 14:04:49 +03:00
parent 231490bb7c
commit 0d171915d7
408 changed files with 11812 additions and 550 deletions
@@ -0,0 +1,16 @@
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
id: site_header
name: Шапка сайта
category: system
version: 1
fields:
- key: menu
type: select
required: false
- key: cta_label
type: text
required: false
- key: cta_url
type: link
required: false
slots: {}
@@ -0,0 +1,5 @@
name: Шапка сайта
props:
menu: ''
cta_label: ''
cta_url: ''
@@ -0,0 +1 @@
<header class="site-header"><div class="container"><a class="brand" href="{{ site_link('/') }}"><span class="brandmark">S</span> {{ company.short_name }}</a><nav aria-label="Главное меню">{% for item in menus.main if item.enabled %}<a href="{{ site_link(item.page) }}">{{ item.label }}</a>{% endfor %}</nav><a class="smallbtn" href="{{ site_link(props.cta_url or '/request/') }}">{{ props.cta_label or 'Обсудить проект' }}</a></div></header>