add meetup event landing page, seo added

This commit is contained in:
HolgerHatGarKeineNode
2023-02-06 18:53:24 +01:00
parent 62a18bac28
commit 436e0511b7
11 changed files with 28 additions and 11 deletions

View File

@@ -7,6 +7,7 @@ use App\Models\Meetup;
use App\Models\MeetupEvent; use App\Models\MeetupEvent;
use App\Rules\UniqueAttendeeName; use App\Rules\UniqueAttendeeName;
use Livewire\Component; use Livewire\Component;
use RalphJSmit\Laravel\SEO\Support\SEOData;
class LandingPageEvent extends Component class LandingPageEvent extends Component
{ {
@@ -147,6 +148,12 @@ class LandingPageEvent extends Component
public function render() 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'),
)
]);
} }
} }

View File

@@ -707,5 +707,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "Dein eindeutiger Name, damit wir die Anzahl der Teilnehmer korrekt zählen können (muss nicht unbedingt dein echter Name sein)", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "Dein eindeutiger Name, damit wir die Anzahl der Teilnehmer korrekt zählen können (muss nicht unbedingt dein echter Name sein)",
"I will show up": "Ich sage zu", "I will show up": "Ich sage zu",
"Unfortunately I can\\'t come": "Leider kann ich nicht kommen", "Unfortunately I can\\'t come": "Leider kann ich nicht kommen",
"Might attend": "Vielleicht komme ich" "Might attend": "Vielleicht komme ich",
"Here you can confirm your participation and find more information about the Meetup.": "Hier kannst du deine Teilnahme bestätigen und weitere Informationen zum Meetup finden."
} }

View File

@@ -701,5 +701,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -701,5 +701,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -702,5 +702,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -702,5 +702,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -702,5 +702,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -702,5 +702,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -702,5 +702,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -702,5 +702,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }

View File

@@ -676,5 +676,6 @@
"Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "", "Your unique name so that we can count the number of participants correctly (does not necessarily have to be your real name)": "",
"I will show up": "", "I will show up": "",
"Unfortunately I can\\'t come": "", "Unfortunately I can\\'t come": "",
"Might attend": "" "Might attend": "",
"Here you can confirm your participation and find more information about the Meetup.": ""
} }