adding various meta tags, updating some others
This commit is contained in:
parent
2f396e54ac
commit
7cbc4e1ef3
@ -5,7 +5,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
||||||
|
<!-- Set the base URL for all relative URLs within the document -->
|
||||||
|
<base href="{{ url('/') }}">
|
||||||
|
|
||||||
<meta name="robots" content="index,follow">
|
<meta name="robots" content="index,follow">
|
||||||
<meta name="googlebot" content="index,follow">
|
<meta name="googlebot" content="index,follow">
|
||||||
@ -19,14 +21,15 @@
|
|||||||
<meta name="rating" content="General">
|
<meta name="rating" content="General">
|
||||||
|
|
||||||
<meta name="url" content="{{ url('/') }}">
|
<meta name="url" content="{{ url('/') }}">
|
||||||
<meta name="subject" content="{{$pageSubject ?? "your website's subject" }}"">
|
<meta name="subject" content="{{ \$pageSubject ?? "your website's subject" }}"">
|
||||||
<meta name="description" content="{{ $pageDescription ?? 'A description of the page' }}">
|
<meta name="description" content="{{ \$pageDescription ?? 'A description of the page' }}">
|
||||||
|
|
||||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||||
<meta name="application-name" content="Application Name">
|
<meta name="application-name" content="{{ config('app.name', 'Laravel') }}">
|
||||||
|
|
||||||
<!-- Privacy -->
|
<!-- Privacy -->
|
||||||
<meta name="twitter:dnt" content="on">
|
<meta name="twitter:dnt" content="on">
|
||||||
|
<meta name="pinterest" content="nopin" description="No pinning allowed.">
|
||||||
|
|
||||||
<!-- analytics -->
|
<!-- analytics -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
@ -48,23 +51,25 @@
|
|||||||
<link href="{{ url('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
<link href="{{ url('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link href="{{ mix('css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}">
|
<link href="{{ mix('/css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}">
|
||||||
@yield('css')
|
@yield('css')
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script>
|
<script>
|
||||||
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
||||||
document.documentElement.classList.remove('light')
|
document.documentElement.classList.add("dark"); localStorage.theme = "dark";
|
||||||
document.documentElement.classList.add('dark')
|
} else {
|
||||||
|
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@routes
|
@routes
|
||||||
<script src="{{ mix('js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script>
|
<script src="{{ mix('/js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script>
|
||||||
@inertiaHead
|
@inertiaHead
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans antialiased">
|
<body class="font-sans antialiased">
|
||||||
|
|
||||||
@inertia
|
@inertia
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user