<!DOCTYPE html>
<html class="h-full" lang="de">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

        <title>{{ $title ?? 'Page Title' }}</title>
        <meta name="socketport" content="{{env('SOCKET_PORT')}}" />
        <meta name="adrema_base_url" content="/">
        @if(auth()->id())
        <meta name="meilisearch_key" content="{{config('scout.meilisearch.key')}}" />
        @endif
        @vite('resources/livewire-js/app.js')
    </head>
    <body class="min-h-full flex flex-col">
        <livewire:page.sidebar />
        {{ $slot }}
        <page-search-modal v-if="searchVisible" @close="searchVisible = false"></page-search-modal>
        @livewireScriptConfig
    </body>
</html>
