Files
score_and_win/resources/views/layouts/master.blade.php
T
2026-06-10 10:46:22 +05:45

59 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>