implement chat layout

This commit is contained in:
2026-05-01 00:56:34 +03:30
parent cde71d5761
commit ff86141fd6
5 changed files with 36 additions and 3 deletions

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
<head>
@include('partials.head')
</head>
<body class="h-dvh overflow-hidden bg-zinc-100 text-zinc-950 antialiased dark:bg-zinc-950 dark:text-zinc-50">
<a
href="#chat-workspace"
class="sr-only focus:not-sr-only focus:fixed focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-white focus:px-3 focus:py-2 focus:text-sm focus:font-medium focus:text-zinc-950 focus:shadow-sm dark:focus:bg-zinc-900 dark:focus:text-white"
>
{{ __('Skip to chat') }}
</a>
<main id="chat-workspace" class="h-dvh p-0 sm:p-3 lg:p-4">
{{ $slot }}
</main>
@persist('toast')
<flux:toast.group>
<flux:toast />
</flux:toast.group>
@endpersist
@fluxScripts
</body>
</html>