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

30 lines
751 B
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 -->
<div class="flex flex-1">
<!-- Sidebar -->
<aside class="sidebar bg-gray-200 w-1/5">
@include('partials.sidebar')
</aside>
<!-- Main content area -->
<main class="content flex-1 bg-gray-100">
@yield('content')
</main>
</div>
<!-- Footer -->
<footer class="mt-auto">
@include('partials.footer')
</footer>
2024-02-15 21:01:07 +02:00
</body>
</html>