You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
1.4 KiB

{{-- resources/views/layouts/soft-ui.blade.php --}}
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>@yield('title', 'Dashboard')</title>
{{-- 1. Soft UI CSS --}}
<link rel="stylesheet" href="{{ asset('soft-ui/assets/css/soft-ui-dashboard.css') }}" />
{{-- 2. Google fonts / Icons (nếu cần) --}}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet" />
{{-- 3. Livewire --}}
@livewireStyles
{{-- 4. CSS bổ sung --}}
@stack('css')
</head>
<body class="g-sidenav-show bg-gray-100">
{{-- Ảnh nền header (tùy chọn) --}}
<div class="min-height-300 bg-primary position-absolute w-100"></div>
{{-- Sidebar --}}
@include('layouts.partials.sidebar')
<main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg">
{{-- Navbar --}}
@include('layouts.partials.navbar')
{{-- Nội dung chính --}}
<div class="container-fluid py-4">
@yield('content')
</div>
</main>
{{-- 5. Core JS bundle (đã gồm Popper & Bootstrap) --}}
<script src="{{ asset('soft-ui/assets/js/soft-ui-dashboard.min.js') }}"></script>
{{-- 6. Livewire --}}
@livewireScripts
{{-- 7. JS bổ sung --}}
@stack('js')
</body>
</html>