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,19 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: card_grid
|
||||
name: Сетка преимуществ
|
||||
category: content
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: card1
|
||||
type: text
|
||||
required: false
|
||||
- key: card2
|
||||
type: text
|
||||
required: false
|
||||
- key: card3
|
||||
type: text
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,6 @@
|
||||
name: Сетка преимуществ
|
||||
props:
|
||||
heading: ''
|
||||
card1: ''
|
||||
card2: ''
|
||||
card3: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section alt" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Преимущества' }}</h2><div class="cards">{% for c in [props.card1,props.card2,props.card3] if c %}<article class="card"><small>0{{ loop.index }} / VALUE</small><strong>{{ c }}</strong><p>Практичный подход к реализации проекта.</p></article>{% endfor %}</div></div></section>
|
||||
Reference in New Issue
Block a user