slink/laravel/resources/views/default.blade.php

31 lines
997 B
PHP
Raw Normal View History

2024-06-09 21:45:57 +00:00
<!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>
2024-06-10 00:31:46 +00:00
<header>
<div class="container">
<a id="logo" href="/home">[slink]</a>
2024-06-10 00:31:46 +00:00
@if (Auth::check())
<nav>
2024-06-10 22:07:48 +00:00
<a href="/profile"><img title="Profile" src="{{ asset('img/icons/profile.svg') }}"></a>
<a href="/logout"><img title="Logout" src="{{ asset('img/icons/logout.svg') }}"></a>
2024-06-10 00:31:46 +00:00
</nav>
@else
<nav>
2024-06-10 22:07:48 +00:00
<a href="/register">Register</a>
<a href="/login">Log In</a>
2024-06-10 00:31:46 +00:00
</nav>
@endif
</div>
</header>
2024-06-09 21:45:57 +00:00
<main>
@yield('content')
</main>
@yield('scripts')
2024-06-09 21:45:57 +00:00
</body>
</html>