Files
Test-Laravel-Blade-Basics/resources/views/authenticated.blade.php
T
PovilasKorop 52bf586b90 First commit
2021-10-26 15:48:35 +03:00

21 lines
743 B
PHP

<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Authenticated?') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 bg-white border-b border-gray-200">
{{-- Task: add a condition to show correct text --}}
{{-- If user is logged in, show their email --}}
Yes, I am logged in as [insert_user_email_here].
No, I am not logged in.
</div>
</div>
</div>
</div>
</x-app-layout>