From 231d8fea1fae337d9f809095b3db9b536c8934b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D1=8F=D1=87=D0=B5=D1=81=D0=BB=D0=B0=D0=B2=20=D0=98?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Tue, 14 Nov 2023 21:31:43 +0400 Subject: [PATCH] =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=B4=D0=B8=D1=8F=20=D0=B3?= =?UTF-8?q?=D0=BD=D0=B5=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lab4/src/App.jsx | 25 ++++---- lab4/src/components/navigation/Navigation.css | 14 ++--- lab4/src/components/navigation/Navigation.jsx | 57 +++++++++++-------- lab4/src/main.jsx | 32 +++++++++-- lab4/src/pages/index.jsx | 34 +++++++++++ 5 files changed, 114 insertions(+), 48 deletions(-) create mode 100644 lab4/src/pages/index.jsx diff --git a/lab4/src/App.jsx b/lab4/src/App.jsx index 7c7b6c4..63089b5 100644 --- a/lab4/src/App.jsx +++ b/lab4/src/App.jsx @@ -1,19 +1,24 @@ -import { Container } from 'react-bootstrap' -import './App.css' -import Navigation from './components/navigation/Navigation' -import { Outlet } from 'react-router-dom' -import Footer from './components/footer/Footer' +import PropTypes from 'prop-types'; +import { Container } from 'react-bootstrap'; +import { Outlet } from 'react-router-dom'; +import './App.css'; +import Footer from './components/footer/Footer.jsx'; +import Navigation from './components/navigation/Navigation.jsx'; -function App() { +const App = ({ routes }) => { return ( <> - +