TraceDash/resources/views/home.blade.php

22 lines
904 B
PHP

<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
{{ __('Home') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-full mx-auto sm:px-6 lg:px-8">
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 text-gray-900 dark:text-gray-100">
@if (Auth::check())
{{ __("You're logged in!") }} <a href="{{ route('dashboard') }}">{{ __("Click here to access your dashboard") }}</a>
@else
<p>{{ __("You're not logged in!") }} <a href="{{ route('login') }}" class="text-amber-400">{{ __("Click here to log in") }}</a></p>
@endif
</div>
</div>
</div>
</div>
</x-app-layout>