Refactor Dashboard component to implement a structured routing system with dedicated pages for workplace input, login, chain selection, task management, and completion. Introduce centralized localStorage management for user data and navigation logic, enhancing user experience and streamlining the application flow. Remove the deprecated LoginForm component and update the MainPage to redirect users based on their authentication and task status.
Some checks failed
platform/bro-js/challenge-pl/pipeline/head There was a failure building this commit

This commit is contained in:
2025-12-14 13:58:24 +03:00
parent 9f5a236c7c
commit c9bbe83bbb
19 changed files with 881 additions and 419 deletions

View File

@@ -23,6 +23,38 @@
"description": "# React компонент\n\nСоздайте компонент `StatCard` с пропсами `title` и `value`.",
"createdAt": "2024-09-05T11:30:00.000Z",
"updatedAt": "2024-10-01T09:45:00.000Z"
},
{
"id": "task-css-layout",
"_id": "task-css-layout",
"title": "CSS-верстка",
"description": "# CSS-верстка\n\nСверстайте карточку с заголовком, описанием и кнопкой. Используйте Flexbox и тени.",
"createdAt": "2024-09-10T14:00:00.000Z",
"updatedAt": "2024-10-05T09:00:00.000Z"
},
{
"id": "task-js-dom",
"_id": "task-js-dom",
"title": "DOM-манипуляции",
"description": "# DOM-манипуляции\n\nНапишите скрипт, который добавляет элементы списка по клику на кнопку и очищает их по второй кнопке.",
"createdAt": "2024-09-15T10:20:00.000Z",
"updatedAt": "2024-10-07T12:30:00.000Z"
},
{
"id": "task-react-state",
"_id": "task-react-state",
"title": "Состояние React",
"description": "# Состояние React\n\nСоздайте компонент, который показывает счётчик кликов и два кнопки — увеличить/сбросить. Используйте хуки.",
"createdAt": "2024-09-20T09:15:00.000Z",
"updatedAt": "2024-10-08T08:45:00.000Z"
},
{
"id": "task-api-fetch",
"_id": "task-api-fetch",
"title": "Работа с API",
"description": "# Работа с API\n\nСделайте запрос к фиктивному API и отобразите список пользователей с именами и email.",
"createdAt": "2024-09-25T13:40:00.000Z",
"updatedAt": "2024-10-09T10:10:00.000Z"
}
]
}