File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
resources/views/pages/includes/inertia Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ @props ([
2+ ' maskIconColor' ,
3+ ' microsoftTileColor' ,
4+ ' themeColor' ,
5+ ' defaultName' => config (' app.name' , ' ARK' ),
6+ ' viewport' => ' width=device-width, initial-scale=1.0' ,
7+ ] )
8+
9+ <head >
10+ <meta charset =" utf-8" >
11+ <meta name =" viewport" content =" {{ $viewport } }" >
12+
13+ <!-- CSRF Token -->
14+ <meta name =" csrf-token" content =" {{ csrf_token () } }" >
15+
16+ @if (config (' ui.dark-mode.enabled' ) === true )
17+ <x-ark-dark-theme-script />
18+ @endif
19+
20+ <!-- Favicon -->
21+ @unless (isset ($favicons ) )
22+ <link rel =" apple-touch-icon" sizes =" 180x180" href =" /apple-touch-icon.png" >
23+ <link rel =" icon" type =" image/png" sizes =" 32x32" href =" /favicon-32x32.png" >
24+ <link rel =" icon" type =" image/png" sizes =" 16x16" href =" /favicon-16x16.png" >
25+ <link rel =" manifest" href =" /site.webmanifest" >
26+ <link rel =" mask-icon" href =" /safari-pinned-tab.svg" color =" {{ $maskIconColor } }" >
27+ <meta name =" msapplication-TileColor" content =" {{ $microsoftTileColor } }" >
28+ <meta name =" theme-color" content =" {{ $themeColor } }" >
29+ @else
30+ {{ $favicons } }
31+ @endunless
32+
33+ <!-- Fonts -->
34+ <x-ark-font-loader src =" https://rsms.me/inter/inter.css" />
35+
36+ {{ $slot } }
37+
38+ <!-- Styles -->
39+ @vite (' resources/css/app.css' )
40+ @livewireStyles
41+
42+ @if (config (' tracking.analytics.key' ) && Visitor:: isEuropean () )
43+ <
link href =
" https://cdn.jsdelivr.net/gh/orestbida/[email protected] /dist/cookieconsent.css" rel =
" stylesheet" >
44+ @endif
45+
46+ @stack (' scripts' )
47+ </head >
Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ private function registerBladeComponents(): void
247247 $ blade ->component ('ark::pages.includes.layout-body ' , 'ark-pages-includes-layout-body ' );
248248 $ blade ->component ('ark::pages.includes.layout-content ' , 'ark-pages-includes-layout-content ' );
249249 $ blade ->component ('ark::pages.includes.layout-head ' , 'ark-pages-includes-layout-head ' );
250+ $ blade ->component ('ark::pages.includes.inertia.layout-head ' , 'ark-pages-includes-layout-head-inertia ' );
250251 $ blade ->component ('ark::pages.includes.markdown-scripts ' , 'ark-pages-includes-markdown-scripts ' );
251252 $ blade ->component ('ark::pages.includes.crop-image-scripts ' , 'ark-pages-includes-crop-image-scripts ' );
252253 $ blade ->component ('ark::pages.includes.compress-image-scripts ' , 'ark-pages-includes-compress-image-scripts ' );
You can’t perform that action at this time.
0 commit comments