mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-20 01:30:15 +00:00
🛠️ Enhance SEO: Add meta tags for services and meetups landing pages, including dynamic title, description, and image handling
This commit is contained in:
@@ -144,6 +144,16 @@ class extends Component {
|
||||
}
|
||||
}; ?>
|
||||
|
||||
@section('meta')
|
||||
@php
|
||||
$SEOData = SeoDataAttribute::getData('meetups_landingpage');
|
||||
$SEOData->title = $this->event->meetup->name;
|
||||
$SEOData->description = $this->event->meetup->intro ? str($this->event->meetup->intro)->limit(50) : $SEOData->description;
|
||||
$SEOData->image = $this->event->meetup->getFirstMediaUrl('logo');
|
||||
@endphp
|
||||
{!! seo($SEOData)->render() !!}
|
||||
@endsection
|
||||
|
||||
<div class="container mx-auto px-4 py-8">
|
||||
<!-- Breadcrumb -->
|
||||
<div class="mb-6">
|
||||
|
||||
Reference in New Issue
Block a user