first-commiit

This commit is contained in:
2025-03-27 00:15:06 +03:00
parent 9431734f28
commit 6d8cedaecb
14 changed files with 887 additions and 23 deletions

View File

@@ -1,3 +1,4 @@
import { Link } from "react-router-dom"
import "./Layout.css"
export const Layout = ({ children }) => {
@@ -7,8 +8,8 @@ export const Layout = ({ children }) => {
<h1 className="header__logo">Сервис</h1>
<nav className="header__menu">
<a href="/">Список заказов</a>
<a href="/add">Добавить заказ</a>
<a href="/logout">Выйти</a>
<Link to='/add'>Добавить заказ</Link>
<a href="/login">Войти</a>
</nav>
</header>
<main className="main-content">