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.
@@ -0,0 +1,44 @@
|
||||
# Site Studio — пример file-first сайта для Site Engine
|
||||
|
||||
Это **полный файловый seed** студии автоматизации, который собирает воедино демонстрационные страницы, блоки, записи и настройки из HTML-превью Site Engine. Все данные и контакты вымышлены. Это **не production-сайт** и не подтверждение работы FastAPI или BuildService.
|
||||
|
||||
## Каталоги
|
||||
|
||||
- `site.yaml` — сайт, маршруты, фичи и ссылка на тему; `theme.yaml` — пресет + overrides, кастомные цвета и **опциональные** градиенты. Отдельный файл темы предложен в ADR-007 (решение ещё требует утверждения).
|
||||
- `pages/**/*.md` — ручные страницы с YAML front matter, `regions.main`, стабильными ID блоков и Markdown body.
|
||||
- `collections/*.yaml` — схемы пяти типов записей. `content/<collection>/*.md` — записи (8 шт.); `courses` и `posts` специально выключены и не содержат записей.
|
||||
- `display/*.yaml` — правила сборки страниц из Entry, `layouts/*/layout.yaml` и `layout.html.j2` — регионы и fixed header/footer.
|
||||
- `fragments/<категория>/<id>/` — по одному `fragment.yaml`, `template.html.j2`, `preview.yaml` для каждого фрагмента.
|
||||
- `menus/`, `data/`, `forms/`, `redirects.yaml` — навигация, общие данные, схемы форм, редиректы.
|
||||
- `assets/` — собственные локальные абстрактные иллюстрации-заглушки (не реальные фотографии), метаданные, CSS и JavaScript сайта.
|
||||
- `tools/render_preview.py` — **вспомогательный мини-рендерер** для просмотра файлов в браузере; не заменяет production engine и не моделирует ReleaseService.
|
||||
- `preview-dist/` — статические HTML-страницы, уже собранные мини-рендерером для просмотра без backend.
|
||||
|
||||
Подробное сопоставление экранов и файлов — [`SOURCE_MAP.md`](SOURCE_MAP.md).
|
||||
|
||||
## Что совпадает с демо
|
||||
|
||||
Главная: Hero «Автоматизируем бизнес с помощью AI», `services_list`, преимущества, этапы, CTA. Есть «Услуги», «О компании», «Контакты», «Заявка», «Политика», «Спасибо», списки кейсов и сценариев. Записи `services/bots`, `services/ai`, `services/automation`, `scenarios/legal`, `scenarios/real-estate`, `scenarios/services`, `cases/ai-reception`, `cases/booking` отражают имена и содержимое редактора Content. `form_contact` соответствует настройкам форм Stage 6.
|
||||
|
||||
**Нормализация прототипа:** в разных HTML-модулях встречаются пути `media/*.webp` и `assets/*.webp`, ID `layouts/standard` vs `layouts/default`, разные mock-наборы и несколько независимых `localStorage`. Здесь все источники сведены в **одну файловую модель** с каноническим каталогом `assets/`. Поэтому отдельные имена/пути отличаются от локальных моков, а существующие HTML-редакторы **ещё не читают эти файлы напрямую**. Это произойдёт только после подключения сервисного слоя.
|
||||
|
||||
`content/cases/booking.md` — **преднамеренный черновик с отсутствующим** `assets/missing-cover.webp`, для проверки UI-валидации. Он не включается в live preview. Настоящий релиз должен блокировать публикацию битых ссылок, если такая запись входит в кандидат.
|
||||
|
||||
## Локальный просмотр
|
||||
|
||||
Открой `preview-dist/index.html` двойным нажатием — относительные ссылки на страницы и ассеты работают без запуска сервера. При изменении YAML/Markdown можно пересобрать demo-preview командой:
|
||||
|
||||
```bash
|
||||
python tools/render_preview.py
|
||||
```
|
||||
|
||||
Зависимости мини-рендерера: `PyYAML`, `Jinja2`, `mistune`, `Pillow` нужен только для повторной генерации графических ассетов из сценария сборки. Сам `preview-dist/` полностью автономен и не требует Python.
|
||||
|
||||
## Безопасность
|
||||
|
||||
Никаких `alert()`, `confirm()` или `prompt()`; формы в preview **не отправляют данные**. Пароли, API-токены, заявки, реальный контактный адрес или личные данные в примере отсутствуют. `site.example` и `studio.example` — демонстрационные значения. UI-статусы `published` не означают, что релиз действительно публиковался сервером.
|
||||
|
||||
|
||||
## Container modes (новое)
|
||||
|
||||
`theme.yaml` задаёт глобальный режим `boxed | fluid | full`, `max_width`, отступы для desktop/tablet/mobile. Пример главной `pages/index.md`: **Hero** full background + boxed text, **services_list** fluid section + fluid content, **CTA** full + boxed. Все остальные фрагменты наследуют настройки, если не переопределено `layout` блока. `preview-dist` пересобирается через `python tools/render_preview.py`. Админка Theme Manager и оба Конструктора показывают те же варианты в рамках mock.
|
||||
@@ -0,0 +1,26 @@
|
||||
# Source map — HTML-прототипы → файловая модель Site Studio
|
||||
|
||||
> Таблица объясняет, откуда взяты данные и как они нормализованы. **HTML-прототипы админки на момент создания seed не читают эти файлы напрямую**: исходные UI-модули используют разные mock/localStorage stores. В будущей реализации все они должны читать один сервисный слой поверх перечисленных документов.
|
||||
|
||||
| Экран / источник | Канонические файлы примера | Что перенесено |
|
||||
|---|---|---|
|
||||
| Builder / Главная (`builder.js`, page `home`) | `pages/index.md`, `layouts/landing/`, `fragments/marketing/hero/`, `fragments/data/collection_list/`, `fragments/content/{card_grid,steps}/`, `fragments/marketing/cta_banner/` | Тексты Hero, услуги из `services`, преимущества, этапы, CTA, стабильные Block ID |
|
||||
| Builder / Услуги | `pages/services/index.md`, `collections/services.yaml` | Hero, список услуг, FAQ |
|
||||
| Builder / О компании | `pages/about.md`, `fragments/content/richtext/`, `fragments/media/image/` | Hero, Markdown body, картинка команды |
|
||||
| Builder / Контакты, Заявка | `pages/contacts.md`, `pages/request.md`, `forms/form_contact.yaml` | Ссылки, CTA, форма; заявки не сохраняются |
|
||||
| Страницы обзорного CMS shell | `pages/privacy.md`, `pages/thank-you.md`, `pages/cases/index.md`, `pages/scenarios/index.md` | Юридический и служебный контент, страницы коллекций |
|
||||
| Content Editor / `services`, `scenarios`, `cases` | `content/{services,scenarios,cases}/*.md`, `collections/*.yaml`, `display/*.yaml` | Структурированные Entry, статусы, поля, Markdown, relations, шаблоны отображения |
|
||||
| Content Editor / `courses`, `posts` | `collections/{courses,posts}.yaml`, `display/{courses,posts}.yaml` | Схемы остаются, содержимое пустое/отключено |
|
||||
| Structure / Layouts & Fragments | `layouts/*/layout.{yaml,html.j2}`, `fragments/*/*/{fragment.yaml,template.html.j2,preview.yaml}` | Фиксированные шапка/футер, ограничения регионов, типы полей |
|
||||
| Media / Assets | `assets/*`, `assets/manifest.yaml` | Визуальные локальные заглушки вместо реальных отсутствовавших картинок, alt/caption |
|
||||
| Structure / Меню | `menus/main.yaml`, `menus/footer.yaml` | Навигация и маршруты |
|
||||
| Forms / Настройки | `forms/*.yaml`, `data/company.yaml`, `redirects.yaml`, `site.yaml` | Настраиваемые поля, контакты-демо, редиректы, общие данные |
|
||||
| Theme Manager / пресеты + Custom | `theme.yaml`, `site.yaml.theme.file`, `assets/site.css` | Базовые цветовые токены, именованные дополнительные цвета, градиенты Hero/Button/CTA, fallback без градиента |
|
||||
|
||||
## Специально нормализованные различия
|
||||
|
||||
- В JS-моках страницы и записи часто имеют разные подписи, ассеты `media/*.webp` vs `assets/*.webp`, а Layout называется `standard` или `default`. В seed используется **один** `assets/` и Layout `default`.
|
||||
- В моках часть записей помечена «published», но это не равно реальному live. Статические HTML-страницы из `preview-dist/` создаются только для записей со статусом `published`, и никакой `ReleaseService` при этом не исполняется.
|
||||
- `content/cases/booking.md` содержит намеренную ссылку на отсутствующий `assets/missing-cover.webp`; это тест предупреждения при редактировании **черновика**, а не опубликованный маршрут.
|
||||
- Путь `theme.yaml` — проектное решение, ожидающее формального утверждения ADR-007. В прежнем ТЗ дизайн-токены находились в `site.yaml`.
|
||||
- Сборщик `tools/render_preview.py` лишь визуализирует пример для проверки переносимости. При реализации CMS нужен отдельный типизированный engine renderer и безопасный publication pipeline.
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,72 @@
|
||||
# Метаданные ассетов, не являются отдельным источником истины для бинарников.
|
||||
schema: 1
|
||||
files:
|
||||
- path: assets/hero-studio.webp
|
||||
kind: image
|
||||
alt: Иллюстрация hero — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/hero.webp
|
||||
kind: image
|
||||
alt: Иллюстрация hero — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/team.webp
|
||||
kind: image
|
||||
alt: Иллюстрация team — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/team-working.webp
|
||||
kind: image
|
||||
alt: Иллюстрация team — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/bots.webp
|
||||
kind: image
|
||||
alt: Иллюстрация bots — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/telegram-bots.webp
|
||||
kind: image
|
||||
alt: Иллюстрация bots — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/ai.webp
|
||||
kind: image
|
||||
alt: Иллюстрация ai — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/automation.webp
|
||||
kind: image
|
||||
alt: Иллюстрация automation — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/legal.webp
|
||||
kind: image
|
||||
alt: Иллюстрация legal — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/houses.webp
|
||||
kind: image
|
||||
alt: Иллюстрация houses — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/case.webp
|
||||
kind: image
|
||||
alt: Иллюстрация case — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/case-reception.webp
|
||||
kind: image
|
||||
alt: Иллюстрация case — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/booking.webp
|
||||
kind: image
|
||||
alt: Иллюстрация booking — демонстрационный материал
|
||||
caption: Созданный локально графический плейсхолдер
|
||||
status: ready
|
||||
- path: assets/site-mark.svg
|
||||
kind: image
|
||||
alt: Логотип студии
|
||||
status: ready
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" role="img" aria-labelledby="title"><title id="title">Знак студии (демо)</title><rect width="80" height="80" rx="14" fill="#18202b"/><path d="M19 52L38 20l24 40H42L38 38l-9 22z" fill="#c8b3ff"/></svg>
|
||||
|
After Width: | Height: | Size: 273 B |
@@ -0,0 +1,21 @@
|
||||
/* Demo public-site styles. Tokens are resolved from theme.yaml by tools/render_preview.py. */
|
||||
:root{--color-background:#fbfaf7;--color-surface:#fff;--color-text:#191e23;--color-muted:#5a6670;--color-primary:#9a6cfa;--color-secondary:#f0f1ef;--color-accent:#d4beff;--color-border:#e0e1de;--radius:7px;--container:1080px;--hero-gradient:linear-gradient(145deg,#1e2735,#15202d 55%,#31344a);--button-gradient:linear-gradient(105deg,#d4beff,#b5abf9);--cta-gradient:linear-gradient(125deg,#dfe3f2,#eef0fc);--font-body:system-ui,sans-serif;--font-heading:system-ui,sans-serif}
|
||||
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--color-background);color:var(--color-text);font:14px/1.6 var(--font-body)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.container{max-width:var(--container);padding:0 36px;margin:auto}.site-header{position:sticky;top:0;z-index:10;border-bottom:1px solid var(--color-border);background:#fffdfdf5;backdrop-filter:blur(12px)}.site-header .container{height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:750}.brandmark{width:28px;height:28px;display:grid;place-items:center;background:#1d2635;color:#fff;border-radius:6px}.site-header nav{display:flex;gap:18px;color:#657081;font-size:12px}.site-header nav a:hover,.site-footer a:hover{text-decoration:underline}.smallbtn,.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--color-primary);color:white;border:0;border-radius:var(--radius);font-weight:750;padding:10px 16px;font-size:12px}.smallbtn{background:#1e2938}.hero{padding:85px 0 90px;background:var(--hero-gradient);color:#fff;min-height:330px}.hero .tag,.entry-intro .tag{color:#c5d1e8;letter-spacing:.16em;font-size:10px;font-weight:700}.hero h1,.entry-intro h1{font:750 clamp(31px,4.2vw,54px)/1.12 var(--font-heading);letter-spacing:-.055em;max-width:720px;margin:18px 0}.hero p{color:#c5ccdc;max-width:590px;font-size:14px}.hero .btn{margin-top:22px;background:var(--button-gradient);color:#242438}.section{padding:58px 0}.section.alt{background:var(--color-secondary)}.section h2,.cta h2{font:700 30px/1.2 var(--font-heading);letter-spacing:-.045em;margin:0 0 14px}.section p,.cta p{color:var(--color-muted)}.section-lead{margin-top:-4px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.card{display:block;padding:22px 20px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);min-height:130px}.card small{color:#8174bd;font-weight:800;font-size:10px}.card strong{display:block;font-size:16px;margin:14px 0 5px}.card p{font-size:12px;margin:0}.card.standalone{max-width:440px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:25px}.steps div{border-top:1px solid var(--color-border);padding-top:14px}.steps span{display:block;color:#8c7ac9;font-size:11px}.steps b{font-size:18px}.cta{padding:55px 0;background:var(--cta-gradient)}.cta h2{font-size:36px}.cta .btn{background:#1d2432;color:#fff;margin-top:16px}.site-footer{padding:26px 0;background:#18202b;color:#bdc7d3;font-size:11px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.site-footer nav{display:flex;gap:16px}.faq{border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);padding:14px 0}.faq summary{font-weight:650;cursor:pointer}.faq p{margin:10px 0}.site-image{margin:0}.site-image img,.entry-cover{width:100%;max-width:850px;display:block;border-radius:var(--radius)}.site-image figcaption{font-size:11px;color:var(--color-muted);margin-top:6px}.entry-intro{padding:72px 0 55px;background:#1f2937;color:#fff}.entry-intro p{max-width:660px;color:#ccd4e2}.entry-cover{margin-top:20px}.prose{max-width:1080px}.prose :is(p,ul){max-width:740px}.prose a{color:var(--color-primary);text-decoration:underline}.disclaimer{border-top:1px solid var(--color-border);background:#fff2eb}.demo-form{margin-top:20px;max-width:620px;display:grid;gap:14px}.demo-form label{display:grid;gap:6px;font-size:12px;font-weight:600}.demo-form :is(input,textarea){width:100%;border:1px solid var(--color-border);border-radius:var(--radius);background:white;padding:11px 12px}.demo-form textarea{min-height:110px;resize:vertical}.demo-form .btn{justify-self:start}.form-feedback{font-size:11px!important;margin:0}.site-header :focus-visible,.site-footer :focus-visible,.btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
|
||||
@media(max-width:700px){.container{padding:0 20px}.site-header nav,.site-header .smallbtn{display:none}.hero{padding:56px 0}.section{padding:39px 0}.cards,.steps{grid-template-columns:1fr}.card{min-height:auto}.site-footer .footer-inner{flex-direction:column;align-items:flex-start}.cta h2{font-size:28px}}
|
||||
|
||||
/* Site Engine container modes: section/background vs. inner content. */
|
||||
:root{--container-max:1080px;--gutter-desktop:36px;--gutter-tablet:24px;--gutter-mobile:16px;--active-gutter:var(--gutter-desktop)}
|
||||
/* Global layout default for header/footer and non-overridden content */
|
||||
.container{width:100%;max-width:var(--container-max);padding-inline:var(--active-gutter);margin-inline:auto}
|
||||
body[data-container-mode="fluid"] .container{max-width:none}
|
||||
body[data-container-mode="full"] .container{max-width:none;padding-inline:0}
|
||||
/* block-shell owns the background extent; nested .container owns the text width */
|
||||
.block-shell{width:100%;max-width:none;margin-inline:auto;min-width:0}
|
||||
.block-shell[data-section-width="boxed"]{width:calc(100% - 2*var(--active-gutter));max-width:var(--container-max)}
|
||||
.block-shell[data-section-width="fluid"]{width:calc(100% - 2*var(--active-gutter));max-width:none}
|
||||
.block-shell[data-section-width="full"]{width:100%;max-width:none}
|
||||
.block-shell[data-content-width="boxed"] .container{width:100%;max-width:var(--container-max);padding-inline:var(--active-gutter)}
|
||||
.block-shell[data-content-width="fluid"] .container{width:100%;max-width:none;padding-inline:var(--active-gutter)}
|
||||
.block-shell[data-content-width="full"] .container{width:100%;max-width:none;padding-inline:0}
|
||||
@media(max-width:1023px){:root{--active-gutter:var(--gutter-tablet)}}
|
||||
@media(max-width:699px){:root{--active-gutter:var(--gutter-mobile)}}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* Public preview interaction. No alerts; no data exfiltration. */
|
||||
document.querySelectorAll('form.demo-form').forEach(form=>form.addEventListener('submit',event=>{
|
||||
event.preventDefault();const status=form.querySelector('.form-feedback');if(status)status.textContent='Демо: форма не отправлена. Подключение FormService планируется при backend-интеграции.';
|
||||
}));
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,31 @@
|
||||
id: cases
|
||||
name: Кейсы
|
||||
enabled: true
|
||||
route: /cases/{slug}/
|
||||
list_page: /cases/
|
||||
display: cases
|
||||
sort: -published_date
|
||||
body: markdown
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: slug
|
||||
type: slug
|
||||
required: true
|
||||
- key: summary
|
||||
type: textarea
|
||||
required: true
|
||||
- key: client
|
||||
type: text
|
||||
required: false
|
||||
- key: published_date
|
||||
type: date
|
||||
required: false
|
||||
- key: related_services
|
||||
type: refs
|
||||
required: false
|
||||
to: services
|
||||
- key: hero_asset
|
||||
type: asset
|
||||
required: false
|
||||
@@ -0,0 +1,18 @@
|
||||
id: courses
|
||||
name: Курсы
|
||||
enabled: false
|
||||
route: /courses/{slug}/
|
||||
list_page: /courses/
|
||||
display: courses
|
||||
sort: title
|
||||
body: markdown
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: slug
|
||||
type: slug
|
||||
required: true
|
||||
- key: summary
|
||||
type: textarea
|
||||
required: false
|
||||
@@ -0,0 +1,21 @@
|
||||
id: posts
|
||||
name: Публикации
|
||||
enabled: false
|
||||
route: /blog/{slug}/
|
||||
list_page: /blog/
|
||||
display: posts
|
||||
sort: -published_date
|
||||
body: markdown
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: slug
|
||||
type: slug
|
||||
required: true
|
||||
- key: summary
|
||||
type: textarea
|
||||
required: false
|
||||
- key: published_date
|
||||
type: date
|
||||
required: false
|
||||
@@ -0,0 +1,32 @@
|
||||
id: scenarios
|
||||
name: Сценарии
|
||||
enabled: true
|
||||
route: /scenarios/{slug}/
|
||||
list_page: /scenarios/
|
||||
display: scenarios
|
||||
sort: title
|
||||
body: markdown
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: slug
|
||||
type: slug
|
||||
required: true
|
||||
- key: summary
|
||||
type: textarea
|
||||
required: true
|
||||
- key: sector
|
||||
type: select
|
||||
required: false
|
||||
options:
|
||||
- Юридические услуги
|
||||
- Недвижимость
|
||||
- Сфера услуг
|
||||
- key: related_services
|
||||
type: refs
|
||||
required: false
|
||||
to: services
|
||||
- key: hero_asset
|
||||
type: asset
|
||||
required: false
|
||||
@@ -0,0 +1,37 @@
|
||||
id: services
|
||||
name: Услуги
|
||||
enabled: true
|
||||
route: /services/{slug}/
|
||||
list_page: /services/
|
||||
display: services
|
||||
sort: order
|
||||
body: markdown
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: slug
|
||||
type: slug
|
||||
required: true
|
||||
- key: summary
|
||||
type: textarea
|
||||
required: true
|
||||
- key: order
|
||||
type: number
|
||||
required: false
|
||||
- key: featured
|
||||
type: boolean
|
||||
required: false
|
||||
- key: hero_asset
|
||||
type: asset
|
||||
required: false
|
||||
- key: related_scenarios
|
||||
type: refs
|
||||
required: false
|
||||
to: scenarios
|
||||
- key: benefits
|
||||
type: list
|
||||
required: false
|
||||
- key: cta
|
||||
type: group
|
||||
required: false
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
schema: 1
|
||||
title: AI-приёмная для сервиса
|
||||
slug: ai-reception
|
||||
status: published
|
||||
summary: Автоматизация обработки обращений и классификации заявок.
|
||||
client: Сервисный центр (демо)
|
||||
published_date: '2026-10-28'
|
||||
related_services:
|
||||
- ai
|
||||
- bots
|
||||
hero_asset: assets/case.webp
|
||||
---
|
||||
## Задача
|
||||
|
||||
Клиенты обращаются через разные каналы, а операторам требуется единый поток заявок.
|
||||
|
||||
## Решение
|
||||
|
||||
Помощник помогает структурировать и направлять обращения. Показатели в этом примере **не являются реальной статистикой**.
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Бот для онлайн-записи
|
||||
slug: booking
|
||||
status: draft
|
||||
summary: Запись клиентов через Telegram с напоминаниями.
|
||||
client: Сеть салонов (демо)
|
||||
published_date: '2026-11-03'
|
||||
related_services:
|
||||
- bots
|
||||
hero_asset: assets/missing-cover.webp
|
||||
---
|
||||
## Решение
|
||||
|
||||
Встроенное расписание. В текущем демо-черновике изображение намеренно отсутствует для проверки валидации.
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Для юридических компаний
|
||||
slug: legal
|
||||
status: published
|
||||
summary: Обработка обращений, извлечение данных из документов, AI-поиск.
|
||||
sector: Юридические услуги
|
||||
related_services:
|
||||
- bots
|
||||
- ai
|
||||
hero_asset: assets/legal.webp
|
||||
---
|
||||
## Автоматизация юридической практики
|
||||
|
||||
Сбор первичной информации и структурирование документов.
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Для недвижимости
|
||||
slug: real-estate
|
||||
status: draft
|
||||
summary: Квалификация лидов, подбор объектов и консультации 24/7.
|
||||
sector: Недвижимость
|
||||
related_services:
|
||||
- ai
|
||||
hero_asset: assets/houses.webp
|
||||
---
|
||||
## AI-помощник риелтора
|
||||
|
||||
Первичный диалог и маршрутизация обращений.
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Для сферы услуг
|
||||
slug: services
|
||||
status: draft
|
||||
summary: Запись клиентов, напоминания и ответы на частые вопросы.
|
||||
sector: Сфера услуг
|
||||
related_services:
|
||||
- bots
|
||||
- automation
|
||||
hero_asset: assets/automation.webp
|
||||
---
|
||||
## Автоматизация клиентского сервиса
|
||||
|
||||
Переносим повторяющиеся сценарии в чат-ботов.
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
schema: 1
|
||||
title: AI-ассистенты
|
||||
slug: ai
|
||||
status: published
|
||||
summary: Интеллектуальные помощники с доступом к базе знаний и вашим данным.
|
||||
order: 2
|
||||
featured: true
|
||||
hero_asset: assets/ai.webp
|
||||
related_scenarios:
|
||||
- legal
|
||||
- real-estate
|
||||
benefits:
|
||||
- RAG и поиск по документам
|
||||
- Контроль ответов
|
||||
cta:
|
||||
label: Заказать консультацию
|
||||
href: /contacts/
|
||||
---
|
||||
## AI-системы для команд
|
||||
|
||||
Подключаем модели, инструменты и данные в единую систему.
|
||||
|
||||
Решение проектируется под процессы и требования безопасности.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Бизнес-автоматизация
|
||||
slug: automation
|
||||
status: draft
|
||||
summary: Связываем существующие сервисы и избавляем команды от ручных операций.
|
||||
order: 3
|
||||
featured: false
|
||||
hero_asset: assets/automation.webp
|
||||
related_scenarios:
|
||||
- services
|
||||
benefits:
|
||||
- Надёжные интеграции
|
||||
cta:
|
||||
label: Оставить заявку
|
||||
href: /request/
|
||||
---
|
||||
## Процессы без рутины
|
||||
|
||||
Связываем CRM, формы, мессенджеры и базы данных.
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Telegram-боты
|
||||
slug: bots
|
||||
status: published
|
||||
summary: Автоматизируем заявки, коммуникации и поддержку клиентов в Telegram.
|
||||
order: 1
|
||||
featured: true
|
||||
hero_asset: assets/bots.webp
|
||||
related_scenarios:
|
||||
- legal
|
||||
- services
|
||||
benefits:
|
||||
- Быстрые ответы клиентам
|
||||
- Интеграция с CRM
|
||||
cta:
|
||||
label: Обсудить проект
|
||||
href: /request/
|
||||
---
|
||||
## Умный бот для бизнеса
|
||||
|
||||
Создаём ботов, которые экономят время сотрудников и улучшают сервис.
|
||||
|
||||
### Что входит
|
||||
- Продуманная структура диалога.
|
||||
- Интеграция с внутренними системами.
|
||||
- Панель обработки заявок.
|
||||
@@ -0,0 +1,11 @@
|
||||
schema: 1
|
||||
name: Студия автоматизации
|
||||
short_name: studio.
|
||||
tagline: AI · Telegram · Автоматизация
|
||||
email: hello@studio.example
|
||||
phone: +7 (999) 000-00-00
|
||||
telegram: '@studio_demo'
|
||||
location: Удалённая команда
|
||||
legal:
|
||||
company: Демо-студия (фиктивная организация)
|
||||
privacy_contact: privacy@studio.example
|
||||
@@ -0,0 +1,27 @@
|
||||
layout: default
|
||||
seo:
|
||||
title: '{{ entry.title }}'
|
||||
description: '{{ entry.summary }}'
|
||||
regions:
|
||||
main:
|
||||
- id: entry_head
|
||||
fragment: entry_header
|
||||
props:
|
||||
title:
|
||||
bind: entry.title
|
||||
summary:
|
||||
bind: entry.summary
|
||||
image:
|
||||
bind: entry.hero_asset
|
||||
- id: entry_body
|
||||
fragment: richtext
|
||||
props:
|
||||
source: entry.body
|
||||
- id: entry_cta
|
||||
fragment: cta_banner
|
||||
props:
|
||||
title: Обсудим ваш проект?
|
||||
text: Расскажите, какие задачи хотите автоматизировать.
|
||||
button: Оставить заявку
|
||||
buttonUrl: /request/
|
||||
overrides: allow
|
||||
@@ -0,0 +1,27 @@
|
||||
layout: default
|
||||
seo:
|
||||
title: '{{ entry.title }}'
|
||||
description: '{{ entry.summary }}'
|
||||
regions:
|
||||
main:
|
||||
- id: entry_head
|
||||
fragment: entry_header
|
||||
props:
|
||||
title:
|
||||
bind: entry.title
|
||||
summary:
|
||||
bind: entry.summary
|
||||
image:
|
||||
bind: entry.hero_asset
|
||||
- id: entry_body
|
||||
fragment: richtext
|
||||
props:
|
||||
source: entry.body
|
||||
- id: entry_cta
|
||||
fragment: cta_banner
|
||||
props:
|
||||
title: Обсудим ваш проект?
|
||||
text: Расскажите, какие задачи хотите автоматизировать.
|
||||
button: Оставить заявку
|
||||
buttonUrl: /request/
|
||||
overrides: allow
|
||||
@@ -0,0 +1,27 @@
|
||||
layout: default
|
||||
seo:
|
||||
title: '{{ entry.title }}'
|
||||
description: '{{ entry.summary }}'
|
||||
regions:
|
||||
main:
|
||||
- id: entry_head
|
||||
fragment: entry_header
|
||||
props:
|
||||
title:
|
||||
bind: entry.title
|
||||
summary:
|
||||
bind: entry.summary
|
||||
image:
|
||||
bind: entry.hero_asset
|
||||
- id: entry_body
|
||||
fragment: richtext
|
||||
props:
|
||||
source: entry.body
|
||||
- id: entry_cta
|
||||
fragment: cta_banner
|
||||
props:
|
||||
title: Обсудим ваш проект?
|
||||
text: Расскажите, какие задачи хотите автоматизировать.
|
||||
button: Оставить заявку
|
||||
buttonUrl: /request/
|
||||
overrides: allow
|
||||
@@ -0,0 +1,27 @@
|
||||
layout: default
|
||||
seo:
|
||||
title: '{{ entry.title }}'
|
||||
description: '{{ entry.summary }}'
|
||||
regions:
|
||||
main:
|
||||
- id: entry_head
|
||||
fragment: entry_header
|
||||
props:
|
||||
title:
|
||||
bind: entry.title
|
||||
summary:
|
||||
bind: entry.summary
|
||||
image:
|
||||
bind: entry.hero_asset
|
||||
- id: entry_body
|
||||
fragment: richtext
|
||||
props:
|
||||
source: entry.body
|
||||
- id: entry_cta
|
||||
fragment: cta_banner
|
||||
props:
|
||||
title: Обсудим ваш проект?
|
||||
text: Расскажите, какие задачи хотите автоматизировать.
|
||||
button: Оставить заявку
|
||||
buttonUrl: /request/
|
||||
overrides: allow
|
||||
@@ -0,0 +1,27 @@
|
||||
layout: default
|
||||
seo:
|
||||
title: '{{ entry.title }}'
|
||||
description: '{{ entry.summary }}'
|
||||
regions:
|
||||
main:
|
||||
- id: entry_head
|
||||
fragment: entry_header
|
||||
props:
|
||||
title:
|
||||
bind: entry.title
|
||||
summary:
|
||||
bind: entry.summary
|
||||
image:
|
||||
bind: entry.hero_asset
|
||||
- id: entry_body
|
||||
fragment: richtext
|
||||
props:
|
||||
source: entry.body
|
||||
- id: entry_cta
|
||||
fragment: cta_banner
|
||||
props:
|
||||
title: Обсудим ваш проект?
|
||||
text: Расскажите, какие задачи хотите автоматизировать.
|
||||
button: Оставить заявку
|
||||
buttonUrl: /request/
|
||||
overrides: allow
|
||||
@@ -0,0 +1,35 @@
|
||||
# Только схема публичной формы. Действительные заявки и настройки доставки хранятся на сервере.
|
||||
id: form_brief
|
||||
name: Обсудить проект
|
||||
version: 1
|
||||
status: draft
|
||||
notification:
|
||||
channel: email
|
||||
destination: configured_in_server_settings
|
||||
success:
|
||||
page: /thank-you/
|
||||
message: Спасибо! Мы свяжемся с вами.
|
||||
privacy:
|
||||
consent_required: true
|
||||
policy_page: /privacy/
|
||||
fields:
|
||||
- id: name
|
||||
label: Имя
|
||||
type: text
|
||||
required: false
|
||||
enabled: true
|
||||
- id: email
|
||||
label: Email
|
||||
type: email
|
||||
required: true
|
||||
enabled: true
|
||||
- id: phone
|
||||
label: Телефон
|
||||
type: tel
|
||||
required: false
|
||||
enabled: true
|
||||
- id: message
|
||||
label: Описание задачи
|
||||
type: textarea
|
||||
required: false
|
||||
enabled: true
|
||||
@@ -0,0 +1,40 @@
|
||||
# Только схема публичной формы. Действительные заявки и настройки доставки хранятся на сервере.
|
||||
id: form_contact
|
||||
name: Форма заявки
|
||||
version: 2
|
||||
status: active
|
||||
notification:
|
||||
channel: telegram
|
||||
destination: configured_in_server_settings
|
||||
success:
|
||||
page: /thank-you/
|
||||
message: Спасибо! Мы свяжемся с вами.
|
||||
privacy:
|
||||
consent_required: true
|
||||
policy_page: /privacy/
|
||||
fields:
|
||||
- id: name
|
||||
label: Имя
|
||||
type: text
|
||||
required: true
|
||||
enabled: true
|
||||
- id: email
|
||||
label: Email
|
||||
type: email
|
||||
required: true
|
||||
enabled: true
|
||||
- id: phone
|
||||
label: Телефон
|
||||
type: tel
|
||||
required: false
|
||||
enabled: true
|
||||
- id: telegram
|
||||
label: Telegram
|
||||
type: text
|
||||
required: false
|
||||
enabled: false
|
||||
- id: message
|
||||
label: Сообщение
|
||||
type: textarea
|
||||
required: false
|
||||
enabled: true
|
||||
@@ -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>
|
||||
@@ -0,0 +1,10 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: disclaimer
|
||||
name: Уведомление
|
||||
category: content
|
||||
version: 1
|
||||
fields:
|
||||
- key: text
|
||||
type: textarea
|
||||
required: true
|
||||
slots: {}
|
||||
@@ -0,0 +1,3 @@
|
||||
name: Уведомление
|
||||
props:
|
||||
text: ''
|
||||
@@ -0,0 +1 @@
|
||||
<aside class="section disclaimer" id="{{ block.anchor or block.id }}"><div class="container"><p>{{ props.text }}</p></div></aside>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,13 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: richtext
|
||||
name: Markdown-контент
|
||||
category: content
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: source
|
||||
type: select
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,4 @@
|
||||
name: Markdown-контент
|
||||
props:
|
||||
heading: ''
|
||||
source: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container prose">{% if props.heading %}<h2>{{ props.heading }}</h2>{% endif %}{{ render_markdown(content_body)|safe }}</div></section>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,19 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: steps
|
||||
name: Этапы работы
|
||||
category: content
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: step1
|
||||
type: text
|
||||
required: true
|
||||
- key: step2
|
||||
type: text
|
||||
required: true
|
||||
- key: step3
|
||||
type: text
|
||||
required: true
|
||||
slots: {}
|
||||
@@ -0,0 +1,6 @@
|
||||
name: Этапы работы
|
||||
props:
|
||||
heading: ''
|
||||
step1: ''
|
||||
step2: ''
|
||||
step3: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Этапы' }}</h2><div class="steps">{% for step in [props.step1,props.step2,props.step3] if step %}<div><span>0{{ loop.index }}</span><b>{{ step }}</b></div>{% endfor %}</div></div></section>
|
||||
@@ -0,0 +1,19 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: collection_list
|
||||
name: Список коллекции
|
||||
category: data
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: collection
|
||||
type: select
|
||||
required: true
|
||||
- key: sort
|
||||
type: select
|
||||
required: false
|
||||
- key: limit
|
||||
type: number
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,6 @@
|
||||
name: Список коллекции
|
||||
props:
|
||||
heading: ''
|
||||
collection: ''
|
||||
sort: ''
|
||||
limit: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Направления' }}</h2><p class="section-lead">Технологические решения для ваших процессов.</p><div class="cards">{% for item in query_entries(props.collection, props.sort or 'order', props.limit or 6) %}<a class="card" href="{{ site_link(item.url) }}"><small>0{{ loop.index }} / {{ item.collection|upper }}</small><strong>{{ item.title }}</strong><p>{{ item.summary }}</p></a>{% else %}<p>Пока нет опубликованных записей.</p>{% endfor %}</div></div></section>
|
||||
@@ -0,0 +1,13 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: entry_card
|
||||
name: Карточка записи
|
||||
category: data
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: entry
|
||||
type: ref
|
||||
required: true
|
||||
slots: {}
|
||||
@@ -0,0 +1,4 @@
|
||||
name: Карточка записи
|
||||
props:
|
||||
heading: ''
|
||||
entry: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Рекомендуем' }}</h2>{% set item = entry_by_ref(props.entry) %}{% if item %}<a class="card standalone" href="{{ site_link(item.url) }}"><small>{{ item.collection|upper }}</small><strong>{{ item.title }}</strong><p>{{ item.summary }}</p></a>{% endif %}</div></section>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,16 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: form
|
||||
name: Форма из схемы
|
||||
category: forms
|
||||
version: 1
|
||||
fields:
|
||||
- key: form_id
|
||||
type: ref
|
||||
required: true
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: description
|
||||
type: textarea
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,5 @@
|
||||
name: Форма из схемы
|
||||
props:
|
||||
form_id: ''
|
||||
heading: ''
|
||||
description: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Связаться' }}</h2>{% if props.description %}<p>{{ props.description }}</p>{% endif %}{% set form = get_form(props.form_id) %}{% if form %}<form class="demo-form" data-form="{{ form.id }}" novalidate>{% for field in form.fields if field.enabled %}<label>{{ field.label }}{% if field.type == 'textarea' %}<textarea name="{{ field.id }}" placeholder="Демонстрационный ввод" {% if field.required %}required{% endif %}></textarea>{% else %}<input type="{{ field.type if field.type in ['email','tel'] else 'text' }}" name="{{ field.id }}" placeholder="Демонстрационный ввод" {% if field.required %}required{% endif %}>{% endif %}</label>{% endfor %}<button type="submit" class="btn">Отправить демо-заявку</button><p class="form-feedback" role="status">Это статическая демонстрация. Заявки не отправляются и не сохраняются.</p></form>{% endif %}</div></section>
|
||||
@@ -0,0 +1,19 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: cta_banner
|
||||
name: Призыв к действию
|
||||
category: marketing
|
||||
version: 1
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: text
|
||||
type: textarea
|
||||
required: false
|
||||
- key: button
|
||||
type: text
|
||||
required: false
|
||||
- key: buttonUrl
|
||||
type: link
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,6 @@
|
||||
name: Призыв к действию
|
||||
props:
|
||||
title: ''
|
||||
text: ''
|
||||
button: ''
|
||||
buttonUrl: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="cta" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.title }}</h2>{% if props.text %}<p>{{ props.text }}</p>{% endif %}<a class="btn" href="{{ site_link(props.buttonUrl or '/request/') }}">{{ props.button or 'Оставить заявку' }} →</a></div></section>
|
||||
@@ -0,0 +1,22 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: hero
|
||||
name: Первый экран
|
||||
category: marketing
|
||||
version: 1
|
||||
fields:
|
||||
- key: title
|
||||
type: text
|
||||
required: true
|
||||
- key: subtitle
|
||||
type: textarea
|
||||
required: false
|
||||
- key: button
|
||||
type: text
|
||||
required: false
|
||||
- key: buttonUrl
|
||||
type: link
|
||||
required: false
|
||||
- key: background
|
||||
type: asset
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,7 @@
|
||||
name: Первый экран
|
||||
props:
|
||||
title: ''
|
||||
subtitle: ''
|
||||
button: ''
|
||||
buttonUrl: ''
|
||||
background: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="hero" id="{{ block.anchor or block.id }}" {% if props.background %}style="--hero-image: url('{{ asset_url(props.background) }}')"{% endif %}><div class="container"><div class="tag">● DIGITAL / AI ENGINEERING</div><h1>{{ props.title }}</h1>{% if props.subtitle %}<p>{{ props.subtitle }}</p>{% endif %}{% if props.button %}<a class="btn hero-button" href="{{ site_link(props.buttonUrl or '/request/') }}">{{ props.button }} →</a>{% endif %}</div></section>
|
||||
@@ -0,0 +1,13 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: image
|
||||
name: Изображение
|
||||
category: media
|
||||
version: 1
|
||||
fields:
|
||||
- key: asset
|
||||
type: asset
|
||||
required: true
|
||||
- key: alt
|
||||
type: text
|
||||
required: true
|
||||
slots: {}
|
||||
@@ -0,0 +1,4 @@
|
||||
name: Изображение
|
||||
props:
|
||||
asset: ''
|
||||
alt: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><figure class="site-image"><img src="{{ asset_url(props.asset) }}" alt="{{ props.alt or '' }}" loading="lazy">{% if props.alt %}<figcaption>{{ props.alt }}</figcaption>{% endif %}</figure></div></section>
|
||||
@@ -0,0 +1,10 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: site_footer
|
||||
name: Подвал сайта
|
||||
category: system
|
||||
version: 1
|
||||
fields:
|
||||
- key: menu
|
||||
type: select
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,3 @@
|
||||
name: Подвал сайта
|
||||
props:
|
||||
menu: ''
|
||||
@@ -0,0 +1 @@
|
||||
<footer class="site-footer"><div class="container footer-inner"><span><b>{{ company.short_name }}</b> © 2026 · {{ company.tagline }}</span><nav aria-label="Нижнее меню">{% for item in menus.footer if item.enabled %}<a href="{{ site_link(item.page) }}">{{ item.label }}</a>{% endfor %}</nav></div></footer>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="description" content="{{ page.seo.description or site.description }}">
|
||||
<title>{{ page.seo.title or page.title }} — {{ site.name }}</title>
|
||||
<meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="{{ static_css }}">{{ theme_style|safe }}</head>
|
||||
<body data-container-mode="{{ container_mode }}" class="page-{{ layout_id }}">{{ region('header')|safe }}<main id="content">{{ region('main')|safe }}</main>{{ region('footer')|safe }}
|
||||
<script src="{{ static_js }}" defer></script></body></html>
|
||||
@@ -0,0 +1,32 @@
|
||||
id: default
|
||||
name: Default / Внутренняя
|
||||
regions:
|
||||
- id: header
|
||||
fixed:
|
||||
- id: site_header
|
||||
fragment: site_header
|
||||
props:
|
||||
menu: main
|
||||
cta_label: Обсудить проект
|
||||
cta_url: /request/
|
||||
- id: main
|
||||
allow:
|
||||
- hero
|
||||
- section
|
||||
- steps
|
||||
- card_grid
|
||||
- collection_list
|
||||
- richtext
|
||||
- faq
|
||||
- image
|
||||
- cta_banner
|
||||
- entry_card
|
||||
- entry_header
|
||||
- form
|
||||
- disclaimer
|
||||
- id: footer
|
||||
fixed:
|
||||
- id: site_footer
|
||||
fragment: site_footer
|
||||
props:
|
||||
menu: footer
|
||||
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="description" content="{{ page.seo.description or site.description }}">
|
||||
<title>{{ page.seo.title or page.title }} — {{ site.name }}</title>
|
||||
<meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="{{ static_css }}">{{ theme_style|safe }}</head>
|
||||
<body data-container-mode="{{ container_mode }}" class="page-{{ layout_id }}">{{ region('header')|safe }}<main id="content">{{ region('main')|safe }}</main>{{ region('footer')|safe }}
|
||||
<script src="{{ static_js }}" defer></script></body></html>
|
||||
@@ -0,0 +1,24 @@
|
||||
id: form-page
|
||||
name: Форма заявки
|
||||
regions:
|
||||
- id: header
|
||||
fixed:
|
||||
- id: site_header
|
||||
fragment: site_header
|
||||
props:
|
||||
menu: main
|
||||
cta_label: Обсудить проект
|
||||
cta_url: /request/
|
||||
- id: main
|
||||
allow:
|
||||
- hero
|
||||
- form
|
||||
- richtext
|
||||
- section
|
||||
- cta_banner
|
||||
- id: footer
|
||||
fixed:
|
||||
- id: site_footer
|
||||
fragment: site_footer
|
||||
props:
|
||||
menu: footer
|
||||
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="description" content="{{ page.seo.description or site.description }}">
|
||||
<title>{{ page.seo.title or page.title }} — {{ site.name }}</title>
|
||||
<meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="{{ static_css }}">{{ theme_style|safe }}</head>
|
||||
<body data-container-mode="{{ container_mode }}" class="page-{{ layout_id }}">{{ region('header')|safe }}<main id="content">{{ region('main')|safe }}</main>{{ region('footer')|safe }}
|
||||
<script src="{{ static_js }}" defer></script></body></html>
|
||||
@@ -0,0 +1,30 @@
|
||||
id: landing
|
||||
name: Landing / Главная
|
||||
regions:
|
||||
- id: header
|
||||
fixed:
|
||||
- id: site_header
|
||||
fragment: site_header
|
||||
props:
|
||||
menu: main
|
||||
cta_label: Обсудить проект
|
||||
cta_url: /request/
|
||||
- id: main
|
||||
allow:
|
||||
- hero
|
||||
- section
|
||||
- steps
|
||||
- card_grid
|
||||
- collection_list
|
||||
- cta_banner
|
||||
- richtext
|
||||
- faq
|
||||
- image
|
||||
- entry_card
|
||||
- form
|
||||
- id: footer
|
||||
fixed:
|
||||
- id: site_footer
|
||||
fragment: site_footer
|
||||
props:
|
||||
menu: footer
|
||||
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="description" content="{{ page.seo.description or site.description }}">
|
||||
<title>{{ page.seo.title or page.title }} — {{ site.name }}</title>
|
||||
<meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="{{ static_css }}">{{ theme_style|safe }}</head>
|
||||
<body data-container-mode="{{ container_mode }}" class="page-{{ layout_id }}">{{ region('header')|safe }}<main id="content">{{ region('main')|safe }}</main>{{ region('footer')|safe }}
|
||||
<script src="{{ static_js }}" defer></script></body></html>
|
||||
@@ -0,0 +1,23 @@
|
||||
id: legal
|
||||
name: Legal / Юридическая
|
||||
regions:
|
||||
- id: header
|
||||
fixed:
|
||||
- id: site_header
|
||||
fragment: site_header
|
||||
props:
|
||||
menu: main
|
||||
cta_label: Обсудить проект
|
||||
cta_url: /request/
|
||||
- id: main
|
||||
allow:
|
||||
- hero
|
||||
- richtext
|
||||
- disclaimer
|
||||
- section
|
||||
- id: footer
|
||||
fixed:
|
||||
- id: site_footer
|
||||
fragment: site_footer
|
||||
props:
|
||||
menu: footer
|
||||
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="description" content="{{ page.seo.description or site.description }}">
|
||||
<title>{{ page.seo.title or page.title }} — {{ site.name }}</title>
|
||||
<meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="{{ static_css }}">{{ theme_style|safe }}</head>
|
||||
<body data-container-mode="{{ container_mode }}" class="page-{{ layout_id }}">{{ region('header')|safe }}<main id="content">{{ region('main')|safe }}</main>{{ region('footer')|safe }}
|
||||
<script src="{{ static_js }}" defer></script></body></html>
|
||||
@@ -0,0 +1,23 @@
|
||||
id: minimal
|
||||
name: Minimal / Результат
|
||||
regions:
|
||||
- id: header
|
||||
fixed:
|
||||
- id: site_header
|
||||
fragment: site_header
|
||||
props:
|
||||
menu: main
|
||||
cta_label: Обсудить проект
|
||||
cta_url: /request/
|
||||
- id: main
|
||||
allow:
|
||||
- hero
|
||||
- richtext
|
||||
- cta_banner
|
||||
- section
|
||||
- id: footer
|
||||
fixed:
|
||||
- id: site_footer
|
||||
fragment: site_footer
|
||||
props:
|
||||
menu: footer
|
||||
@@ -0,0 +1,11 @@
|
||||
id: footer
|
||||
name: Меню футера
|
||||
items:
|
||||
- id: privacy
|
||||
label: Политика конфиденциальности
|
||||
page: /privacy/
|
||||
enabled: true
|
||||
- id: request
|
||||
label: Оставить заявку
|
||||
page: /request/
|
||||
enabled: true
|
||||
@@ -0,0 +1,23 @@
|
||||
id: main
|
||||
name: Главная навигация
|
||||
items:
|
||||
- id: home
|
||||
label: Главная
|
||||
page: /
|
||||
enabled: true
|
||||
- id: services
|
||||
label: Услуги
|
||||
page: /services/
|
||||
enabled: true
|
||||
- id: cases
|
||||
label: Кейсы
|
||||
page: /cases/
|
||||
enabled: true
|
||||
- id: about
|
||||
label: О компании
|
||||
page: /about/
|
||||
enabled: true
|
||||
- id: contacts
|
||||
label: Контакты
|
||||
page: /contacts/
|
||||
enabled: true
|
||||
@@ -0,0 +1,36 @@
|
||||
---
|
||||
schema: 1
|
||||
title: О компании
|
||||
layout: default
|
||||
status: published
|
||||
route: /about/
|
||||
seo:
|
||||
title: О студии
|
||||
description: Наша команда и инженерный подход.
|
||||
regions:
|
||||
main:
|
||||
- id: about_intro
|
||||
fragment: hero
|
||||
props:
|
||||
title: Команда, которая делает AI полезным
|
||||
subtitle: От идеи до работающего продукта.
|
||||
button: Связаться
|
||||
buttonUrl: /contacts/
|
||||
- id: body_about
|
||||
fragment: richtext
|
||||
props:
|
||||
heading: О студии
|
||||
source: body
|
||||
- id: team_asset
|
||||
fragment: image
|
||||
props:
|
||||
asset: assets/team.webp
|
||||
alt: Иллюстрация команды студии
|
||||
---
|
||||
Мы небольшая инженерная команда, ориентированная на **измеримые результаты**.
|
||||
|
||||
Проектируем решения, которые действительно помогают сотрудникам и клиентам.
|
||||
|
||||
- Прорабатываем задачу перед разработкой.
|
||||
- Строим понятные интеграции и сценарии.
|
||||
- Поддерживаем решения после запуска.
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Кейсы
|
||||
layout: default
|
||||
status: published
|
||||
route: /cases/
|
||||
seo:
|
||||
title: Кейсы автоматизации
|
||||
description: Примеры проектов и прототипов студии.
|
||||
regions:
|
||||
main:
|
||||
- id: cases_head
|
||||
fragment: hero
|
||||
props:
|
||||
title: Что мы уже сделали
|
||||
subtitle: Примеры внедрения автоматизации и AI в рабочие процессы.
|
||||
button: Обсудить задачу
|
||||
buttonUrl: /request/
|
||||
- id: cases_query
|
||||
fragment: collection_list
|
||||
props:
|
||||
collection: cases
|
||||
heading: Проекты
|
||||
limit: 6
|
||||
sort: order
|
||||
---
|
||||
@@ -0,0 +1,31 @@
|
||||
---
|
||||
schema: 1
|
||||
title: Контакты
|
||||
layout: default
|
||||
status: published
|
||||
route: /contacts/
|
||||
seo:
|
||||
title: Контакты студии
|
||||
description: Свяжитесь с нами для обсуждения проекта.
|
||||
regions:
|
||||
main:
|
||||
- id: contacts_head
|
||||
fragment: hero
|
||||
props:
|
||||
title: Давайте знакомиться
|
||||
subtitle: Расскажите нам о вашей задаче.
|
||||
button: Оставить заявку
|
||||
buttonUrl: /request/
|
||||
- id: contacts_copy
|
||||
fragment: section
|
||||
props:
|
||||
heading: На связи
|
||||
text: 'Электронная почта: hello@studio.example · Telegram: @studio_demo'
|
||||
- id: contacts_cta
|
||||
fragment: cta_banner
|
||||
props:
|
||||
title: Есть задача?
|
||||
text: Выберем оптимальный формат запуска.
|
||||
button: Обсудить проект
|
||||
buttonUrl: /request/
|
||||
---
|
||||