Files
timebank-cc-public/resources/views/welcome.blade.php
Ronald Huynen 2547717edb Initial commit
2026-03-23 21:37:59 +01:00

37 lines
1.2 KiB
PHP

@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>