🛠️ Enhance SEO: Add meta tags for services and meetups landing pages, including dynamic title, description, and image handling

This commit is contained in:
HolgerHatGarKeineNode
2025-12-07 05:14:52 +01:00
parent 95de6e96c9
commit 0750852f51
4 changed files with 53 additions and 15 deletions

View File

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