my-website/resources/views/layout.blade.php

36 lines
1.1 KiB
PHP
Raw Normal View History

2024-02-15 21:01:07 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
@vite("resources/css/app.css")
</head>
2024-02-16 17:12:34 +02:00
<body class="flex flex-col min-h-screen">
2024-02-15 21:01:07 +02:00
@include('partials.navbar')
2024-02-16 17:12:34 +02:00
<!-- Main Content Wrapper -->
<main class="relative min-h-screen flex flex-col justify-center bg-white overflow-hidden">
<!--<div class="flex flex-1 min-h-screen">-->
<div class="flex-grow">
<div class="grid grid-cols-6 min-h-screen">
<!-- Sidebar -->
@include('partials.sidebar_v2')
2024-02-16 17:12:34 +02:00
<!-- Main content area -->
@if ( empty($sidebarContent) )
<div class="col-span-6">
@else
<div class="col-span-5">
@endif
@yield('content')
</div>
</div>
</div>
</main>
2024-02-16 17:12:34 +02:00
<!-- Footer -->
<footer class="mt-auto">
@include('partials.footer')
</footer>
2024-02-15 21:01:07 +02:00
</body>
</html>