Add Livewire config, update composer dependencies, and enhance Blade layouts

- Introduced `livewire/livewire` v4 dependency.
- Added `config/livewire.php` for Livewire customization.
- Adjusted `login.blade.php` language fallback logic for session handling.
- Created new Blade layouts (`error.blade.php`, `auth.blade.php`, `app.blade.php`) for unified component architecture.
This commit is contained in:
HolgerHatGarKeineNode
2026-01-17 14:12:41 +01:00
parent 5e0cc9efaf
commit fb185d7226
7 changed files with 340 additions and 3 deletions

View File

@@ -37,11 +37,11 @@ class extends Component {
public ?string $url = null;
public ?string $lnurl = null;
public ?string $qrCode = null;
public string $currentLangCountry = 'de-DE';
public ?string $currentLangCountry = 'de-DE';
public function mount(): void
{
$this->currentLangCountry = session('lang_country');
$this->currentLangCountry = session('lang_country') ?? 'de-DE';
// Nur beim ersten Mount initialisieren
if ($this->k1 === null) {