Документация
Настройка

Настройка лендинга

Настройка отображения блоков с презентацией продукта, ценами, FAQ и другими модулями

Конфигурация лендинга

Весь контент лендинга настраивается в src/config/locale/landing.content.ts.

Управление отображением модулей

У каждого блока есть поле display для включения или скрытия (кроме Hero, он всегда показывается):

banner: { display: true, ... },
powerBy: { display: true, ... },
threeBenefits: { display: true, ... },
introduction: { display: true, items: [...] },
features: { display: true, ... },
pricing: { display: true },
horizontalShowcase: { display: true, ... },
userTestimonials: { display: true, ... },
mediaCoverage: { display: true, ... },
faq: { display: true, ... },
cta: { display: true, ... },
header: { display: true, ... },
footer: { display: true, ... },
banner: {
  display: true,
  text: t({
    en: "Open Sourced in 2026: Production-grade AI SaaS template available!",
    ru: "В 2026 году опубликован исходный код: доступен production-grade шаблон AI SaaS!",
  }),
  button: {
    text: t({ en: "View on GitHub", ru: "Смотреть на GitHub" }),
    href: github,
  },
},
ПараметрОписание
displayПоказывать ли Banner
textТекст баннера
button.textТекст кнопки
button.hrefСсылка кнопки

Hero

hero: {
  title: t({
    en: "GolOps AI Startups in hours, not days",
    ru: "GolOps помогает запускать AI-стартапы за часы, а не дни",
  }),
  description: t({
    en: "GolOps is a TanStack boilerplate...",
    ru: "GolOps - это TanStack-шаблон...",
  }),
  announcement: {
    show: true,
    text: t({ en: "...", ru: "..." }),
    href: github,
  },
  buttons: {
    start: { text: t({ en: "Get Started", ru: "Начать" }), url: "/chat" },
    docs: { text: t({ en: "Learn More", ru: "Подробнее" }), url: "/docs" },
  },
  image: {
    enabled: false,
    src: "/landing/hero/home.png",
    width: 2700,
    height: 1440,
  },
},

Три преимущества

threeBenefits: {
  display: true,
  title: t({ en: "Three Key Benefits", ru: "Три ключевых преимущества" }),
  description: t({ en: "Discover why...", ru: "Посмотрите, почему..." }),
  items: [
    {
      title: t({ en: "Lightning Fast Startup", ru: "Молниеносный старт" }),
      description: t({ en: "...", ru: "..." }),
      icon: "Zap",
    },
  ],
},

Иконки

Для поля icon используются имена иконок Lucide React, например Zap, Shield, Code.

Блоки с описанием возможностей

introduction: {
  display: true,
  items: [
    {
      type: "image",
      title: t({ en: "Zero-Config Authentication", ru: "Аутентификация без настройки" }),
      description: t({ en: "...", ru: "..." }),
      image: "/landing/introduction/auth.webp",
      imagePosition: "left",
      features: [
        {
          title: t({ en: "One-Click Social Login", ru: "Соцлогин в один клик" }),
          description: t({ en: "...", ru: "..." }),
        },
      ],
    },
  ],
},

Отзывы пользователей

userTestimonials: {
  display: true,
  title: t({ en: "What Our Users Say", ru: "Что говорят пользователи" }),
  testimonials: [
    {
      text: t({ en: "...", ru: "..." }),
      image: "/avatars/user1.avif",
      name: "Sarah Chen",
      role: t({ en: "CTO, TechStart", ru: "Технический директор, TechStart" }),
    },
  ],
},

FAQ

faq: {
  display: true,
  title: t({ en: "Frequently Asked Questions", ru: "Часто задаваемые вопросы" }),
  description: t({ en: "...", ru: "..." }),
  items: [
    {
      question: t({ en: "What is GolOps?", ru: "Что такое GolOps?" }),
      answer: t({ en: "...", ru: "..." }),
    },
  ],
},

Навигация в header

header: {
  display: true,
  items: [
    { label: t({ en: "Documentation", ru: "Документация" }), href: "/docs" },
    { label: t({ en: "Chat", ru: "Чат" }), href: "/chat" },
    {
      label: t({ en: "More Features", ru: "Ещё возможности" }),
      children: [
        { label: t({ en: "Blog", ru: "Блог" }), href: "/blog" },
        { label: t({ en: "Roadmap", ru: "Дорожная карта" }), href: "/roadmap" },
      ],
    },
  ],
},
footer: {
  display: true,
  companyName: "GolOps",
  scrollToTop: t({ en: "Back to Top", ru: "Наверх" }),
  sections: [
    {
      title: t({ en: "About", ru: "О проекте" }),
      links: [
        { label: t({ en: "About Us", ru: "О нас" }), href: "/about" },
      ],
    },
  ],
},

Настройки цен

Модуль цен включается в landing.content.ts:

pricing: {
  display: true,
},

Контент страницы цен находится в src/config/locale/pricing.content.ts.

Политика конфиденциальности и условия использования

Файлы legal-хранится в content/legal/:

ФайлСтраницаМаршрут
content/legal/privacy-policy.mdxPrivacy Policy/legal/privacy-policy
content/legal/privacy-policy.ru.mdxPrivacy Policy/ru/legal/privacy-policy
content/legal/terms-of-service.mdxTerms of Service/legal/terms-of-service
content/legal/terms-of-service.ru.mdxTerms of Service/ru/legal/terms-of-service

Прочие страницы

ПутьСтраница
src/config/locale/auth.content.tsВход и регистрация
src/config/locale/user-dashboard.content.tsКабинет пользователя
src/config/locale/admin.content.tsАдмин-панель
src/config/locale/404.content.tsСтраница 404
src/config/locale/error.content.tsСтраница ошибки

Содержание