Files
BUT2/mini-crm/resources/views/layouts/app.blade.php
T

33 lines
710 B
PHP

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Mini-CRM</title>
{{-- TP6 : taille lisible des flèches SVG utilisées par la pagination Laravel. --}}
<style>
main nav[role="navigation"] svg { width: 1rem; height: 1rem; }
main nav[role="navigation"] a, main nav[role="navigation"] span { margin-right: .35rem; }
</style>
</head>
<body>
<header>
<h1>Mini-CRM</h1>
<nav>
<a href="/">Accueil</a>
<a href="{{ route('clients.index') }}">Clients</a>
<a href="{{ route('clients.create') }}">Ajouter un client</a>
<a href="{{ route('products.index') }}">Produits</a>
<a href="/contacts">Contacts</a>
</nav>
</header>
<main>
@yield('content')
</main>
<footer>
Mini-CRM
</footer>
</body>
</html>