ldc-gen-game-web/resources/views/layout.blade.php

43 lines
1.3 KiB
PHP
Raw Permalink Normal View History

<!doctype html>
2023-08-21 10:22:07 +02:00
<html dir="ltr" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
2023-11-20 17:22:24 +01:00
@include('back::layouts.head')
</head>
2023-08-21 10:22:07 +02:00
2023-11-23 17:31:28 +01:00
<body
data-bs-theme="{{ (\App\Enums\Theme\BootstrapThemeEnum::make(intval(Cache::get('theme'))) ?? \App\Enums\Theme\BootstrapThemeEnum::light)->name() }}">
<!-- Navigation -->
@include('back::layouts.header')
2023-11-23 17:31:28 +01:00
<!-- Main content -->
<main class="container-fluid @hasSection('main-class') @yield('main-class') @endif">
2023-11-23 17:31:28 +01:00
<div class="row justify-content-center p-3">
<!-- Show a message when an action is performed -->
<div class="container">
<div class="row justify-content-center">
<div class="col-12 col-md-10 col-lg-8 px-2">
@include('back::modules.flash-messages')
</div>
</div>
2023-08-21 10:22:07 +02:00
</div>
2023-11-23 17:31:28 +01:00
<!-- Main content -->
<div class="row justify-content-center">
<div class="col-12 col-md-10 col-lg-8 p-md-0 pt-3">
@yield('content')
</div>
2023-08-21 10:22:07 +02:00
</div>
</div>
</main>
2023-11-23 17:31:28 +01:00
<!-- Footer -->
2023-11-20 17:22:24 +01:00
@include('back::layouts.footer')
2023-11-23 17:31:28 +01:00
<!-- Other -->
2023-11-20 17:22:24 +01:00
@include('modules.script-routes')
2023-11-23 17:31:28 +01:00
@vite(['resources/ts/bo.ts'])
@stack('scripts')
</body>
2023-08-21 10:22:07 +02:00
</html>