Flux durch TallStackUI 4 ersetzt
- TallStackUI 4 (MIT) statt Flux; Komponenten mit Präfix ts- (<x-ts-…>) - Layouts, Login-, Passwort-, 2FA- und Einstellungsseiten neu aufgebaut - Livewire-Skripte explizit in beiden Layouts, damit Alpine auch auf den Fortify-Seiten ohne Livewire-Komponente läuft - Dark Mode über tallstackui_darkTheme(), ohne Aufblitzen beim Laden - Registrierungs-View und ungenutzte Layout-Varianten entfernt - Test: Seiten laden keine Ressourcen von fremden Hosts (Vorgabe "alles lokal") Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
dedce594a0
commit
b297518810
@@ -1,5 +1,36 @@
|
||||
<x-layouts::app.sidebar :title="$title ?? null">
|
||||
<flux:main>
|
||||
{{ $slot }}
|
||||
</flux:main>
|
||||
</x-layouts::app.sidebar>
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"
|
||||
x-data="tallstackui_darkTheme({ default: 'system' })"
|
||||
x-bind:class="{ 'dark': darkTheme }">
|
||||
<head>
|
||||
@include('partials.head')
|
||||
</head>
|
||||
<body class="min-h-screen bg-gray-50 antialiased dark:bg-dark-900">
|
||||
<x-ts-toast />
|
||||
<x-ts-dialog />
|
||||
|
||||
<x-ts-layout>
|
||||
<x-slot:header>
|
||||
<x-ts-layout.header>
|
||||
<x-slot:right>
|
||||
<x-user-menu />
|
||||
</x-slot:right>
|
||||
</x-ts-layout.header>
|
||||
</x-slot:header>
|
||||
|
||||
<x-slot:menu>
|
||||
<x-ts-side-bar smart navigate>
|
||||
<x-slot:brand>
|
||||
<x-app-logo class="px-4 py-5" />
|
||||
</x-slot:brand>
|
||||
|
||||
<x-ts-side-bar.item :text="__('Dashboard')" icon="home" :route="route('dashboard')" />
|
||||
</x-ts-side-bar>
|
||||
</x-slot:menu>
|
||||
|
||||
{{ $slot }}
|
||||
</x-ts-layout>
|
||||
|
||||
@livewireScripts
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user