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:
HolgerHatGarKeineNode
2025-11-22 22:12:45 +01:00
parent eb089f670c
commit 25843db5a9
9 changed files with 244 additions and 17 deletions

View File

@@ -3,6 +3,7 @@
use App\Models\LoginKey;
use App\Models\User;
use App\Notifications\ModelCreatedNotification;
use App\Traits\SeoTrait;
use Illuminate\Auth\Events\Lockout;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\RateLimiter;
@@ -20,6 +21,8 @@ use eza\lnurl;
new #[Layout('components.layouts.auth')]
class extends Component {
use SeoTrait;
#[Validate('required|string|email')]
public string $email = '';