NODEDC_SITE/docs/home-block-schema.md

175 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Home Page Block Schema Draft
This is the first content model draft for the NODE.DC landing page. It is intentionally content-only. Class names, animation hooks, WebGL targets, and responsive layout remain in renderer code.
## Page
```json
{
"slug": "home",
"title": "NODE.DC",
"seo": {
"title": "NODE.DC — ИИ-платформа для Webflow",
"description": "..."
},
"globals": {
"notification": {},
"navigation": {},
"dock": {}
},
"blocks": []
}
```
## Common Block Fields
Every block should include:
```json
{
"id": "stable-block-id",
"type": "heroWaitlist",
"enabled": true,
"anchor": "hero",
"adminLabel": "Первый экран"
}
```
## Block Field Drafts
### `heroWaitlist`
```json
{
"type": "heroWaitlist",
"leftFeatures": [
{
"titleLines": ["Ваш Webflow", "ИИ-инструменты"],
"text": "Несколько агентов для проекта Webflow..."
}
],
"appCard": {
"release": "Бета-релиз: июль 2026",
"heading": "Ранний доступ",
"description": "Кастомный код, MCP и ИИ-агенты...",
"form": {
"messagePlaceholder": "Сообщение (необязательно)",
"namePlaceholder": "Ваше имя*",
"emailPlaceholder": "Email для регистрации*",
"submitLabel": "Встать в лист ожидания"
}
}
}
```
### `featureVideo`
```json
{
"type": "featureVideo",
"headingLines": ["Всё в одном", "приложение."],
"intro": "Универсальный инструмент для ИИ-агентов...",
"features": [
{
"eyebrow": "Контекст проекта",
"text": "Подключитесь к MCP..."
}
],
"window": {
"title": "демо-видео.mp4",
"video": "./assets/media/publish-flow.mp4"
}
}
```
### `sliderGallery`
Use for component library and AI modes when they share the same render structure.
```json
{
"type": "sliderGallery",
"variant": "componentLibrary",
"headingLines": ["Агентная", "Компонентная", "библиотека."],
"intro": "Готовая к работе с агентами...",
"items": [
{
"title": "Публикация",
"video": "./assets/media/publish-flow.mp4",
"poster": null
}
]
}
```
### `faq`
```json
{
"type": "faq",
"headingLines": ["Частые", "вопросы", "и ответы"],
"intro": "Подробный обзор возможностей...",
"cta": {
"label": "Полная документация",
"href": "https://docs.ssscript.app/"
},
"items": [
{
"question": "Где размещаются мои файлы?",
"answer": "После сборки файлы загружаются..."
}
]
}
```
### `pricingTable`
```json
{
"type": "pricingTable",
"windowTitle": "тарифы.app",
"plans": [
{
"key": "beta",
"name": "Бета",
"price": "Бесплатно",
"period": "1 месяц",
"cta": {
"label": "Подать заявку в бету",
"href": "beta-apply.html",
"disabled": false
}
}
],
"rows": [
{
"label": "Старт",
"values": {
"beta": "Июнь 2026",
"founder": "Июнь 2026",
"basic": "Июнь 2026",
"advanced": "Июнь 2026"
}
}
],
"notes": []
}
```
### `fileGallery`
```json
{
"type": "fileGallery",
"items": [
{
"title": "публикация-в-один-клик.png",
"kind": "imageWindow",
"image": "./assets/webflow/images/example.avif",
"icon": "mov"
}
]
}
```