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

35 lines
1.2 KiB
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>
2024-06-11 00:58:35 +00:00
<footer>
<p>Find the repository on <a href="https://github.com/Notoric/slink">GitHub</a></p>
<p>Made by <a href="https://notoric.net">[Notoric]</a></p>
</footer>
@yield('scripts')
2024-06-09 21:45:57 +00:00
</body>
</html>