diff --git a/app/Livewire/Landing.php b/app/Livewire/Landing.php new file mode 100644 index 0000000..b411967 --- /dev/null +++ b/app/Livewire/Landing.php @@ -0,0 +1,26 @@ +get(); + } + + #[Layout('layouts.guest')] + public function render(): View + { + return view('livewire.landing'); + } +} diff --git a/resources/views/livewire/landing.blade.php b/resources/views/livewire/landing.blade.php new file mode 100644 index 0000000..7880b82 --- /dev/null +++ b/resources/views/livewire/landing.blade.php @@ -0,0 +1,9 @@ +
+
+ @foreach ($this->landings as $value) + {!! $value->content !!} + @endforeach +
+
diff --git a/routes/web.php b/routes/web.php index 261b513..b63e7be 100644 --- a/routes/web.php +++ b/routes/web.php @@ -24,4 +24,6 @@ }); Route::impersonate(); + + Route::get('landing', App\Livewire\Landing::class)->name('landing'); });