Files
Verde-Web/resources/views/layouts/web.blade.php

31 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ $title ?? 'Verde — Garbage Monitoring' }}</title>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=inter:400,500,600,700&display=swap" rel="stylesheet" />
{{-- Reverb config consumed lazily by window.Verde.getEcho() --}}
<script>
window.VERDE_BROADCAST = {
key: @json(config('reverb.apps.apps.0.key')),
host: @json(config('reverb.apps.apps.0.options.host', request()->getHost())),
port: @json(config('reverb.apps.apps.0.options.port', 8080)),
scheme: @json(config('reverb.apps.apps.0.options.scheme', 'http')),
};
</script>
@vite(['resources/css/app.css', 'resources/js/app.js'])
@stack('styles')
</head>
<body class="font-sans">
{{ $slot ?? '' }}
@yield('content')
@stack('scripts')
</body>
</html>