Initial commit
This commit is contained in:
52
resources/views/spa.blade.php
Normal file
52
resources/views/spa.blade.php
Normal file
@@ -0,0 +1,52 @@
|
||||
@php
|
||||
$config = [
|
||||
'appName' => config('app.name'),
|
||||
'locale' => $locale = app()->getLocale(),
|
||||
'locales' => config('app.locales'),
|
||||
'githubAuth' => config('services.github.client_id'),
|
||||
'notion' => [
|
||||
'worker' => config('services.notion.worker'),
|
||||
],
|
||||
'links' => config('links'),
|
||||
'production' => App::isProduction(),
|
||||
'hCaptchaSiteKey' => config('services.h_captcha.site_key'),
|
||||
];
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<title>{{ config('app.name') }}</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Inter:100,400,600,700,800" rel="stylesheet" type="text/css">
|
||||
|
||||
<link rel="stylesheet" href="{{ mix('dist/css/app.css') }}">
|
||||
<link rel="icon" href="{{asset('/img/logo.svg')}}">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
{{-- Global configuration object --}}
|
||||
<script>
|
||||
window.config = @json($config);
|
||||
</script>
|
||||
|
||||
{{-- Load the application scripts --}}
|
||||
<script src="{{ mix('dist/js/app.js') }}"></script>
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script defer src="https://www.googletagmanager.com/gtag/js?id=G-PR916W6KJZ"></script>
|
||||
<script defer>
|
||||
window.dataLayer = window.dataLayer || []
|
||||
|
||||
function gtag () {dataLayer.push(arguments)}
|
||||
|
||||
gtag('js', new Date())
|
||||
|
||||
gtag('config', 'G-PR916W6KJZ')
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user