32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html lang="en" class="bg-bg-light">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>{{ page.title }} - Behind the Desk</title>
|
|
<link href="/assets/css/styles.css" rel="stylesheet">
|
|
</head>
|
|
<body class="font-sans text-text-default pt-navbar-height">
|
|
{% include navbar.html %}
|
|
<main class="max-w-screen-lg mx-auto py-4 pb-16 bg-bg-footer">
|
|
<div class="px-4 mt-8">
|
|
<div class="mb-8">
|
|
{% include user_profile.html %}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const menuButton = document.getElementById('menuButton');
|
|
const mobileMenu = document.getElementById('mobileMenu');
|
|
|
|
menuButton.addEventListener('click', () => {
|
|
mobileMenu.classList.toggle('hidden');
|
|
const expanded = menuButton.getAttribute('aria-expanded') === 'true';
|
|
menuButton.setAttribute('aria-expanded', !expanded);
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|