mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-16 18:31:49 +01:00
Set a dedicated blade landing view
This commit is contained in:
parent
aa32575d22
commit
11d9da51d4
@ -30,7 +30,7 @@ public function index()
|
||||
|
||||
// if (Auth::user()->preferences)
|
||||
|
||||
return view('landing')->with([
|
||||
return view('landing_v3')->with([
|
||||
'appSettings' => $settings,
|
||||
'appConfig' => collect([
|
||||
'proxyAuth' => $proxyAuth,
|
||||
|
37
resources/views/landing_v3.blade.php
vendored
Normal file
37
resources/views/landing_v3.blade.php
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html data-theme="{{ $userPreferences['theme'] }}" lang="{{ $lang }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="description" content="{{ __('commons.2fauth_description') }}" lang="{{ $lang }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no, viewport-fit=cover">
|
||||
<meta name="csrf-token" content="{{csrf_token()}}">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<title>{{ config('app.name') }}</title>
|
||||
|
||||
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
|
||||
<link rel="icon" type="image/png" href="{{ asset('favicon.png') }}" />
|
||||
<link rel="apple-touch-icon" href="{{ asset('favicon_lg.png') }}" />
|
||||
<link rel="apple-touch-icon-precomposed" href="{{ asset('favicon_lg.png') }}" />
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
@vite('resources/sass/app.scss')
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<app></app>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var appSettings = {!! $appSettings !!};
|
||||
var appConfig = {!! $appConfig !!};
|
||||
var userPreferences = {!! $userPreferences->toJson() !!};
|
||||
var appVersion = '{{ config("2fauth.version") }}';
|
||||
var isDemoApp = {!! $isDemoApp !!};
|
||||
var isTestingApp = {!! $isTestingApp !!};
|
||||
var appLocales = {!! $locales !!};
|
||||
</script>
|
||||
@vite('resources/js/app.js')
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user