Initial commit
This commit is contained in:
59
resources/views/main-page.blade.php
Normal file
59
resources/views/main-page.blade.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<x-app-layout>
|
||||
<x-slot name="header">
|
||||
@if (session('login-success-data'))
|
||||
{{ __('messages.login_success', session('login-success-data')) }}
|
||||
@else
|
||||
{{ __('Main page') }}
|
||||
@endif
|
||||
</x-slot>
|
||||
|
||||
@if (session('unauthorizedAction'))
|
||||
<div class="alert alert-danger">
|
||||
<livewire:notify-unauthorized-action>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Show the secondary / success / info / error /alert notification session messages --}}
|
||||
@if (session('notification'))
|
||||
<livewire:notification>
|
||||
@endif
|
||||
|
||||
{{-- Show the notification message that profile has been switched --}}
|
||||
@if (session('profile-switched-notification'))
|
||||
<livewire:notify-switch-profile>
|
||||
@endif
|
||||
|
||||
{{-- Show the notification message that the email address has been verified --}}
|
||||
@if (session('email-verified'))
|
||||
<livewire:notify-email-verified>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
@if (session('results'))
|
||||
@livewire('search.show', ['results' => session('results')])
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="py-0 md:py-3">
|
||||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
|
||||
|
||||
<div class="overflow-hidden bg-theme-background shadow-xl sm:rounded-lg">
|
||||
<livewire:main-page>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(getActiveProfileType() === 'Admin')
|
||||
<div class="py-6">
|
||||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
|
||||
|
||||
<div class="overflow-hidden bg-theme-background shadow-xl sm:rounded-lg">
|
||||
<livewire:admin.maintenance-mode>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</x-app-layout>
|
||||
Reference in New Issue
Block a user