mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-16 12:36:48 +00:00
✨ Added SEO attributes and extended localization
- Added `#[SeoDataAttribute]` annotations to Livewire components for SEO management. - Extended translations in English, Spanish, and German for better localization support.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
<?php
|
||||
|
||||
use App\Attributes\SeoDataAttribute;
|
||||
use App\Traits\SeoTrait;
|
||||
use Livewire\Volt\Component;
|
||||
|
||||
new class extends Component {
|
||||
new
|
||||
#[SeoDataAttribute(key: 'settings_appearance')]
|
||||
class extends Component {
|
||||
use SeoTrait;
|
||||
}; ?>
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
<?php
|
||||
|
||||
use App\Attributes\SeoDataAttribute;
|
||||
use App\Livewire\Actions\Logout;
|
||||
use App\Traits\SeoTrait;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Livewire\Volt\Component;
|
||||
|
||||
new class extends Component {
|
||||
new
|
||||
#[SeoDataAttribute(key: 'settings_delete_user_form')]
|
||||
class extends Component {
|
||||
use SeoTrait;
|
||||
|
||||
public string $password = '';
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Attributes\SeoDataAttribute;
|
||||
use App\Traits\SeoTrait;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
@@ -7,7 +8,9 @@ use Illuminate\Validation\Rules\Password;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Livewire\Volt\Component;
|
||||
|
||||
new class extends Component {
|
||||
new
|
||||
#[SeoDataAttribute(key: 'settings_password')]
|
||||
class extends Component {
|
||||
use SeoTrait;
|
||||
|
||||
public string $current_password = '';
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Attributes\SeoDataAttribute;
|
||||
use App\Models\User;
|
||||
use App\Traits\SeoTrait;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
@@ -7,7 +8,9 @@ use Illuminate\Support\Facades\Session;
|
||||
use Illuminate\Validation\Rule;
|
||||
use Livewire\Volt\Component;
|
||||
|
||||
new class extends Component {
|
||||
new
|
||||
#[SeoDataAttribute(key: 'settings_profile')]
|
||||
class extends Component {
|
||||
use SeoTrait;
|
||||
|
||||
public string $name = '';
|
||||
|
||||
Reference in New Issue
Block a user