first-commiit
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user