mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-18 00:54:24 +00:00
✨ Add SEO support with configuration and traits
- Introduced `config/seo.php` to centralize SEO settings. - Implemented `SeoTrait` for dynamic SEO management. - Added `SeoDataAttribute` to set SEO metadata at the class level. - Updated various views to integrate dynamic SEO handling. - Included fallback settings for titles, descriptions, images, and more.
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
<?php
|
||||
|
||||
use App\Traits\SeoTrait;
|
||||
use Livewire\Volt\Component;
|
||||
use Livewire\Attributes\Layout;
|
||||
|
||||
new #[Layout('components.layouts.auth')]
|
||||
class extends Component {
|
||||
use SeoTrait;
|
||||
|
||||
public function goToMeetups(): void
|
||||
{
|
||||
$this->redirect(route_with_country('meetups.index'), navigate: true);
|
||||
@@ -23,7 +26,8 @@ class extends Component {
|
||||
<div class="flex justify-center">
|
||||
<a href="/" class="group flex items-center gap-3">
|
||||
<div>
|
||||
<flux:avatar class="[:where(&)]:size-32 [:where(&)]:text-base" size="xl" src="{{ asset('img/einundzwanzig-square.svg') }}" />
|
||||
<flux:avatar class="[:where(&)]:size-32 [:where(&)]:text-base" size="xl"
|
||||
src="{{ asset('img/einundzwanzig-square.svg') }}"/>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@@ -53,7 +57,8 @@ class extends Component {
|
||||
{{ __('Kartenansicht öffnen') }}
|
||||
</flux:button>
|
||||
|
||||
<flux:button :href="route('dashboard', ['country' => 'de'])" class="cursor-pointer w-full" icon="arrow-right-start-on-rectangle">
|
||||
<flux:button :href="route('dashboard', ['country' => 'de'])" class="cursor-pointer w-full"
|
||||
icon="arrow-right-start-on-rectangle">
|
||||
{{ __('Login') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user