NODEDC_SITE/docs/home-block-schema.md

3.7 KiB
Raw Blame History

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

{
  "slug": "home",
  "title": "NODE.DC",
  "seo": {
    "title": "NODE.DC — ИИ-платформа для Webflow",
    "description": "..."
  },
  "globals": {
    "notification": {},
    "navigation": {},
    "dock": {}
  },
  "blocks": []
}

Common Block Fields

Every block should include:

{
  "id": "stable-block-id",
  "type": "heroWaitlist",
  "enabled": true,
  "anchor": "hero",
  "adminLabel": "Первый экран"
}

Block Field Drafts

heroWaitlist

{
  "type": "heroWaitlist",
  "leftFeatures": [
    {
      "titleLines": ["Ваш Webflow", "ИИ-инструменты"],
      "text": "Несколько агентов для проекта Webflow..."
    }
  ],
  "appCard": {
    "release": "Бета-релиз: июль 2026",
    "heading": "Ранний доступ",
    "description": "Кастомный код, MCP и ИИ-агенты...",
    "form": {
      "messagePlaceholder": "Сообщение (необязательно)",
      "namePlaceholder": "Ваше имя*",
      "emailPlaceholder": "Email для регистрации*",
      "submitLabel": "Встать в лист ожидания"
    }
  }
}

featureVideo

{
  "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.

{
  "type": "sliderGallery",
  "variant": "componentLibrary",
  "headingLines": ["Агентная", "Компонентная", "библиотека."],
  "intro": "Готовая к работе с агентами...",
  "items": [
    {
      "title": "Публикация",
      "video": "./assets/media/publish-flow.mp4",
      "poster": null
    }
  ]
}

faq

{
  "type": "faq",
  "headingLines": ["Частые", "вопросы", "и ответы"],
  "intro": "Подробный обзор возможностей...",
  "cta": {
    "label": "Полная документация",
    "href": "https://docs.ssscript.app/"
  },
  "items": [
    {
      "question": "Где размещаются мои файлы?",
      "answer": "После сборки файлы загружаются..."
    }
  ]
}

pricingTable

{
  "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

{
  "type": "fileGallery",
  "items": [
    {
      "title": "публикация-в-один-клик.png",
      "kind": "imageWindow",
      "image": "./assets/webflow/images/example.avif",
      "icon": "mov"
    }
  ]
}