2021-11-19 07:19:46 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>@yield('title', 'Sklep')</title>
|
|
|
|
<link rel="stylesheet" href="{{ mix("css/app.css") }}">
|
|
|
|
@stack('head')
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<nav>
|
2021-11-24 11:34:46 +01:00
|
|
|
<i class="fa fa-hamburger"></i>
|
|
|
|
<div>
|
2021-11-26 11:23:50 +01:00
|
|
|
@auth
|
|
|
|
<a href="{{ url("user") }}"> Hello {{ Auth::user()->name }} </a>
|
|
|
|
@endauth
|
|
|
|
@guest
|
|
|
|
<a href="{{ route("login") }}">Login</a>
|
|
|
|
@endguest
|
2021-11-24 11:34:46 +01:00
|
|
|
</div>
|
2021-11-19 07:19:46 +01:00
|
|
|
</nav>
|
|
|
|
<main>
|
2021-11-26 10:45:44 +01:00
|
|
|
<div class="alerts">
|
|
|
|
@if(Session::has('success'))
|
|
|
|
<div class="alert alert-success">
|
|
|
|
{{ Session::get('success') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
@foreach($errors->all() as $message)
|
|
|
|
<div class="alert alert-error">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2021-11-19 07:19:46 +01:00
|
|
|
@yield('main')
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer>
|
2021-11-24 11:34:46 +01:00
|
|
|
<h4>Copyright 2021 JA</h4>
|
2021-11-19 07:19:46 +01:00
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|