mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
- Added `#[SeoDataAttribute]` annotations to Livewire components for SEO management. - Extended translations in English, Spanish, and German for better localization support.
26 lines
939 B
PHP
26 lines
939 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Helper;
|
|
|
|
use App\Attributes\SeoDataAttribute;
|
|
use App\Traits\SeoTrait;
|
|
use Livewire\Component;
|
|
use RalphJSmit\Laravel\SEO\Support\SEOData;
|
|
|
|
#[SeoDataAttribute(key: 'follow_the_rabbit')]
|
|
class FollowTheRabbit extends Component
|
|
{
|
|
use SeoTrait;
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.helper.follow-the-rabbit')->with([
|
|
'SEOData' => new SEOData(
|
|
title: __('Bitcoin - Rabbit Hole'),
|
|
description: __('Dies ist ein großartiger Überblick über die Bitcoin-Kaninchenhöhle mit Zugängen zu Bereichen, die Bitcoin umfasst. Jedes Thema hat seine eigene Kaninchenhöhle, die durch Infografiken auf einfache und verständliche Weise visualisiert wird, mit QR-Codes, die zu erklärenden Videos und Artikeln führen. Viel Spaß auf Ihrer Entdeckungsreise!'),
|
|
image: asset('img/kaninchenbau.png')
|
|
),
|
|
]);
|
|
}
|
|
}
|