54 lines
1.9 KiB
PHP
54 lines
1.9 KiB
PHP
|
<!DOCTYPE html>
|
||
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||
|
|
||
|
<title>{{ config('app.name', 'Laravel Admin') }}</title>
|
||
|
|
||
|
<!-- 字型 & CSS -->
|
||
|
<link rel="preconnect" href="https://fonts.bunny.net">
|
||
|
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
|
||
|
|
||
|
<!-----------------------------------------------------------
|
||
|
-- animate.min.css by Daniel Eden (https://animate.style)
|
||
|
-- is required for the animation of notifications and slide out panels
|
||
|
-- you can ignore this step if you already have this file in your project
|
||
|
--------------------------------------------------------------------------->
|
||
|
|
||
|
<link href="{{ asset('vendor/bladewind/css/animate.min.css') }}" rel="stylesheet" />
|
||
|
<link href="{{ asset('vendor/bladewind/css/bladewind-ui.min.css') }}" rel="stylesheet" />
|
||
|
<script src="{{ asset('vendor/bladewind/js/helpers.js') }}"></script>
|
||
|
|
||
|
<!-- Scripts -->
|
||
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||
|
@livewireStyles
|
||
|
</head>
|
||
|
<body class="bg-gray-100 text-gray-800">
|
||
|
@auth
|
||
|
<div class="flex min-h-screen">
|
||
|
{{-- Sidebar --}}
|
||
|
<livewire:layout.admin.sidebar />
|
||
|
|
||
|
<div class="flex-1 flex flex-col">
|
||
|
{{-- Top nav --}}
|
||
|
<livewire:layout.admin.navigation />
|
||
|
|
||
|
{{-- Page content --}}
|
||
|
<main class="p-6">
|
||
|
{{ $slot }}
|
||
|
</main>
|
||
|
</div>
|
||
|
</div>
|
||
|
@else
|
||
|
<main class="p-6">
|
||
|
{{ $slot }}
|
||
|
</main>
|
||
|
@endauth
|
||
|
|
||
|
@livewireScripts
|
||
|
</body>
|
||
|
</html>
|
||
|
|