Форматировние кода и изменение структуры css файлов

This commit is contained in:
Vladiysss
2026-02-04 17:52:36 +03:00
parent 4f58b675fb
commit c07e560362
15 changed files with 765 additions and 813 deletions

View File

@@ -1,6 +1,6 @@
import logo from './logo.svg';
import './App.css';
import React from 'react';
import './css/App.css';
import './css/Modal.css';
import { BrowserRouter, Routes, Route } from 'react-router-dom'; // Исправленный импорт
import Login from './Login';
import Profile from './Profile';
@@ -13,17 +13,17 @@ import OtherProfile from './OtherProfile';
function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/login" element={<Login />} />
<Route path="/profile" element={<Profile />} />
<Route path="/registration" element={<Registration />} />
<Route path="/main" element={<Mainpage />} />
<Route path="/kanban-boards-list" element={<KBBoardsList />} />
<Route path="/kanban-board/:id" element={<KBBoard />} />
<Route path="/profile/:id" element={<OtherProfile />} />
{/* Корректный редирект на страницу входа */}
<Route path="*" element={<Mainpage />} />
</Routes>
<Routes>
<Route path="/login" element={<Login />} />
<Route path="/profile" element={<Profile />} />
<Route path="/registration" element={<Registration />} />
<Route path="/main" element={<Mainpage />} />
<Route path="/kanban-boards-list" element={<KBBoardsList />} />
<Route path="/kanban-board/:id" element={<KBBoard />} />
<Route path="/profile/:id" element={<OtherProfile />} />
{/* Корректный редирект на страницу входа */}
<Route path="*" element={<Mainpage />} />
</Routes>
</BrowserRouter>
);
}