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:
@@ -0,0 +1,13 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: section
|
||||
name: Текстовая секция
|
||||
category: content
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: true
|
||||
- key: text
|
||||
type: textarea
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,4 @@
|
||||
name: Текстовая секция
|
||||
props:
|
||||
heading: ''
|
||||
text: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading }}</h2>{% if props.text %}<p>{{ props.text }}</p>{% endif %}</div></section>
|
||||
Reference in New Issue
Block a user