Initial commit
This commit is contained in:
36
resources/views/welcome.blade.php
Normal file
36
resources/views/welcome.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
@php
|
||||
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
|
||||
@endphp
|
||||
|
||||
<x-dynamic-component :component="$layout">
|
||||
<!-- Landing Post : big landing image with short intro -->
|
||||
@livewire('welcome.landing-post', ['type' => 'SiteContents\Welcome\Landing' ?? null, 'random' => true, 'limit' => 1])
|
||||
|
||||
<!-- Call To Action Post: Register now section --->
|
||||
@guest
|
||||
@livewire('welcome.cta-post', ['type' => 'SiteContents\Welcome\Cta' ?? null])
|
||||
@endguest
|
||||
|
||||
|
||||
<!-- Event card section -->
|
||||
@livewire('welcome.event-card-full', ['postNr' => 0])
|
||||
@livewire('welcome.event-card-full', ['postNr' => 1])
|
||||
|
||||
<!-- News card section -->
|
||||
@livewire('welcome.news-card-full', ['postNr' => 0])
|
||||
|
||||
<!-- Call card half -->
|
||||
@livewire('welcome-page.call-card-half', ['random' => true, 'rows' => 2])
|
||||
|
||||
<!-- Article card section -->
|
||||
@livewire('welcome.article-card-full', ['postNr' => 0, 'random' => true])
|
||||
|
||||
<!-- Image card section -->
|
||||
@livewire('welcome.image-card-full', ['postNr' => 0, 'random' => true])
|
||||
|
||||
<div class="bg-theme-secondary -my-9"></div>
|
||||
|
||||
@auth
|
||||
<div class="bg-theme-secondary -m-6"></div>
|
||||
@endauth
|
||||
</x-dynamic-component>
|
||||
Reference in New Issue
Block a user