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: entry_header
|
||||
name: Заголовок записи
|
||||
category: data
|
||||
version: 1
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: summary
|
||||
type: textarea
|
||||
required: false
|
||||
- key: image
|
||||
type: asset
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,5 @@
|
||||
name: Заголовок записи
|
||||
props:
|
||||
title: ''
|
||||
summary: ''
|
||||
image: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="entry-intro"><div class="container"><div class="tag">STUDIO / {{ entry.collection|upper if entry else 'ENTRY' }}</div><h1>{{ props.title }}</h1>{% if props.summary %}<p>{{ props.summary }}</p>{% endif %}{% if props.image %}<img class="entry-cover" src="{{ asset_url(props.image) }}" alt="" loading="lazy">{% endif %}</div></section>
|
||||
Reference in New Issue
Block a user