adrema/resources/views/components/layouts/app.blade.php

21 lines
764 B
PHP
Raw Normal View History

2024-09-24 01:26:08 +02:00
<!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>
</body>
</html>