Files
vue-pult/docs/migration/header/TITLE.md
2025-10-01 11:54:13 +03:00

24 lines
1.1 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.
# Документация по переносу заголовка в хедере
## Общая структура в React
- **Расположение**: В AppHeader.tsx, левая часть flex, первый элемент.
- **Тип**: h1 элемент с текстом "Игровой Пульт".
- **Зависимости**: Tailwind CSS.
- **JSX**: <h1 class="text-xl font-bold">Игровой Пульт</h1>.
## Элементы
- Текст: "Игровой Пульт" (text-xl font-bold).
- Нет иконок или дополнительных элементов.
- Всегда видимый, статичный.
## Стили (Tailwind примеры)
- Основной: text-xl font-bold (белый текст).
- Responsive: text-lg на tablet, text-base на mobile.
## Взаимодействие
- Нет кликов или handlers, пассивный элемент.
- В AppHeader: <div class="flex items-center space-x-4"> <h1>...</h1> <UserInfo /> </div>.
## Vue маппинг
- <template>: <h1 class="text-xl font-bold">Игровой Пульт</h1>.
- Нет props или state.