30 lines
937 B
PHP
30 lines
937 B
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>@yield('title')</title>
|
|
<link rel="stylesheet" href="{{ asset('css/default.css') }}">
|
|
@yield('head')
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="container">
|
|
<a id="logo" href="home">[Notoric]</a>
|
|
@if (Auth::check())
|
|
<nav>
|
|
<a href="profile"><img src="{{ asset('img/icons/profile.svg') }}"></a>
|
|
<a href="logout"><img src="{{ asset('img/icons/logout.svg') }}"></a>
|
|
</nav>
|
|
@else
|
|
<nav>
|
|
<a href="register">Register</a>
|
|
<a href="login">Log In</a>
|
|
</nav>
|
|
@endif
|
|
</div>
|
|
</header>
|
|
<main>
|
|
@yield('content')
|
|
</main>
|
|
</body>
|
|
</html> |