comparison resources/views/welcome.blade.php @ 0:9d7dcd54c677

Initial Commit and package setup
author luka
date Sat, 23 Aug 2025 22:20:51 -0400
parents
children 8971e685366b
comparison
equal deleted inserted replaced
-1:000000000000 0:9d7dcd54c677
1 <!DOCTYPE html>
2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3
4 <head>
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <title>{{ config('app.name', '') }} </title>
8 <!-- Scripts -->
9 @vite(['resources/sass/app.scss', 'resources/js/app.js'])
10 </head>
11
12 <body class="font-sans antialiased bg-light">
13 <header class="p-4 w-100 text-body-secondary mb-3 d-none d-lg-block">
14 @if (Route::has('login'))
15 <nav class="d-flex align-items-center justify-content-end gap-2">
16 @auth
17 <a href="{{ url('/dashboard') }}" class="btn btn-outline-secondary btn-sm">
18 Dashboard
19 </a>
20 @else
21 <a href="{{ route('login') }}" class="btn btn-outline-secondary btn-sm">
22 Log in
23 </a>
24 @if (Route::has('register'))
25 <a href="{{ route('register') }}" class="btn btn-outline-secondary btn-sm">
26 Register
27 </a>
28 @endif
29 @endauth
30 </nav>
31 @endif
32 </header>
33 <div class="text-dark d-flex p-3 p-lg-4 align-items-center justify-content-center flex-column">
34 <main class="text-center">
35 <h1>Welcome to Laravel</h1>
36 <p class="lead">This is a basic homepage for your Laravel application.</p>
37 </main>
38 @if (Route::has('login'))
39 <div class="d-none d-lg-block" style="height: 58px;"></div>
40 @endif
41 </div>
42 </body>
43
44 </html>