mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
add meetup event landing page, seo added
This commit is contained in:
@@ -7,6 +7,7 @@ use App\Models\Meetup;
|
||||
use App\Models\MeetupEvent;
|
||||
use App\Rules\UniqueAttendeeName;
|
||||
use Livewire\Component;
|
||||
use RalphJSmit\Laravel\SEO\Support\SEOData;
|
||||
|
||||
class LandingPageEvent extends Component
|
||||
{
|
||||
@@ -147,6 +148,12 @@ class LandingPageEvent extends Component
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.meetup.landing-page-event');
|
||||
return view('livewire.meetup.landing-page-event')->layout('layouts.guest', [
|
||||
'SEOData' => new SEOData(
|
||||
title: $this->meetupEvent->start->asDateTime().' - '.$this->meetup->name,
|
||||
description: __('Here you can confirm your participation and find more information about the Meetup.').' - '.$this->meetupEvent->description,
|
||||
image: $this->meetup->getFirstMediaUrl('logo'),
|
||||
)
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user