Files
docs/src/config/docs.config.ts
S.Gromov 7554ce58db feat: добавить документацию по Figma Adaptive Standards
- добавлены исходные материалы канона по адаптивным макетам

- добавлена конфигурация VitePress для новой документации

- подключена сборка документации в npm-скриптах, CI и Docker

- обновлена карточка документации на главной странице
2026-05-13 11:20:14 +03:00

69 lines
2.5 KiB
TypeScript
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.

export type DocLink = {
label: string
href: string
}
export type DocCard = {
title: string
label: string
mark: string
description: string
href?: string
status: string
accent: string
links: DocLink[]
}
export const docs: DocCard[] = [
{
title: 'SLM Design',
label: 'Архитектура',
mark: 'SLM',
description: 'Архитектура frontend-приложений, где слои задают направление зависимостей, модули становятся границами ответственности, а явный DI через фабрики удерживает домены изолированными и предсказуемыми.',
href: '/slm-design/',
status: 'Доступно',
accent: 'violet',
links: [
{ label: 'llms.txt', href: '/slm-design/llms.txt' },
{ label: 'llms-full.txt', href: '/slm-design/llms-full.txt' },
],
},
{
title: 'NextJS Style Guide',
label: 'Стиль проекта',
mark: 'NX',
description: 'Правила организации Next.js-приложений, роутинга, серверных границ и проектных соглашений.',
status: 'Скоро',
accent: 'blue',
links: [
{ label: 'llms.txt', href: '/nextjs-style-guide/llms.txt' },
{ label: 'llms-full.txt', href: '/nextjs-style-guide/llms-full.txt' },
],
},
{
title: 'React Style Guide',
label: 'Стиль кода',
mark: 'RE',
description: 'Практики написания React-компонентов, хуков, состояния и клиентского UI-кода.',
status: 'Скоро',
accent: 'cyan',
links: [
{ label: 'llms.txt', href: '/react-style-guide/llms.txt' },
{ label: 'llms-full.txt', href: '/react-style-guide/llms-full.txt' },
],
},
{
title: 'Figma Adaptive Standards',
label: 'Макеты',
mark: 'FG',
description: 'Стандарты и требования к подготовке адаптивных макетов в Figma: брейкпоинты, ресайз в диапазоне, Auto Layout/Constraints, компоненты, сетка, типографика, состояния UI, A11y и передача в разработку.',
href: '/figma-adaptive-standards/',
status: 'Доступно',
accent: 'pink',
links: [
{ label: 'llms.txt', href: '/figma-adaptive-standards/llms.txt' },
{ label: 'llms-full.txt', href: '/figma-adaptive-standards/llms-full.txt' },
],
},
]