first commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>Admin Dashboard – Rosetta International Education</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
|
||||
.dropdown:focus-within .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
@stack('css')
|
||||
</head>
|
||||
|
||||
<body class="bg-slate-50 min-h-screen flex flex-col">
|
||||
|
||||
@include('layouts.header')
|
||||
|
||||
<main class="flex-1">
|
||||
@yield('content')
|
||||
</main>
|
||||
|
||||
@include('layouts.footer')
|
||||
|
||||
<!-- Dropdown + Scoreboard JS -->
|
||||
<!-- Replace your dropdown JS with jQuery version -->
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
|
||||
// Toggle dropdown
|
||||
$('.dropdown > button').on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
$(this).next('.dropdown-menu').toggleClass('hidden');
|
||||
});
|
||||
|
||||
// Close all dropdowns when clicking outside
|
||||
$(document).on('click', function () {
|
||||
$('.dropdown-menu').addClass('hidden');
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
@stack('js')
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user