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