Files
moonwell-web/resources/views/app.blade.php
T

32 lines
1.6 KiB
PHP

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" sizes="16x16 32x32 48x48 64x64 128x128 256x256" href="{{ asset('favicon.ico') }}?v=moonwell-2">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('branding/favicon-32.png') }}">
<link rel="icon" type="image/png" sizes="192x192" href="{{ asset('branding/moonwell-icon-192.png') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('branding/apple-touch-icon.png') }}">
<meta name="theme-color" content="#070a18">
@foreach ($page['props']['seo']['head'] as $tag)
{!! $tag !!}
@endforeach
@if (config('seo.google_verification'))
<meta name="google-site-verification" content="{{ config('seo.google_verification') }}">
@endif
@if (config('seo.yandex_verification'))
<meta name="yandex-verification" content="{{ config('seo.yandex_verification') }}">
@endif
@vite('resources/js/app.js')
<x-inertia::head />
</head>
<body>
{{-- Public content is readable before JavaScript loads; Vue replaces it on mount. --}}
<script data-page="app" type="application/json">{!! json_encode($page, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_THROW_ON_ERROR) !!}</script>
<div id="app">@include('seo.content')</div>
@if ($page['component'] !== 'Auth/AccountAccess')
@include('partials.yandex-metrika')
@endif
</body>
</html>