diff --git a/pages/lesson-2/_meta.ru.json b/pages/lesson-2/_meta.ru.json index cb35e36..090a94f 100644 --- a/pages/lesson-2/_meta.ru.json +++ b/pages/lesson-2/_meta.ru.json @@ -2,5 +2,6 @@ "chapter-1": "Глава 1. React-hook-form", "chapter-2": "Глава 2. Валидация форм", "chapter-3": "Глава 3. Рефакторинг", - "chapter-4": "Глава 4. Деплой на Vercel" + "chapter-4": "Глава 4. Деплой на Vercel", + "chapter-5": "Домашнее задание" } diff --git a/pages/lesson-2/chapter-5.en.mdx b/pages/lesson-2/chapter-5.en.mdx new file mode 100644 index 0000000..922266a --- /dev/null +++ b/pages/lesson-2/chapter-5.en.mdx @@ -0,0 +1 @@ +# Under construction diff --git a/pages/lesson-2/chapter-5.ru.mdx b/pages/lesson-2/chapter-5.ru.mdx new file mode 100644 index 0000000..6a3fc6e --- /dev/null +++ b/pages/lesson-2/chapter-5.ru.mdx @@ -0,0 +1,43 @@ +# Домашнее задание + +## Компоненты для форм + +### To Do + +- Text field with control +- Radio group with control + +### Требования + +- Универсальность +- Переиспользуемость + +## Формы авторизации + +### To Do + +- Sign in +- Sign up +- Forgot password +- Create new password +- Personal information (editable) + +### Требования + +- Все формы должны принимать коллбэк onSubmit через props, то есть не зависеть от уровня логики +- Все формы должны иметь нужные валидации + +## Стилизованные примитивы для таблиц + +### To Do + +- Table +- TableHead +- TableBody +- TableRow +- TableCell + +### Требования + +- Все примитивы должны быть стилизованы +- Все примитивы должны быть переиспользуемыми