59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>@ViewData["Title"] - Kehati</title>
|
|
<meta property="og:description" content="Jelajahi flora, fauna, dan lokasi konservasi di Jakarta bersama Dinas Lingkungan Hidup." />
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta property="og:site_name" content="Kehati Jakarta" />
|
|
|
|
<link rel="shortcut icon" href="https://adiwiyata.dinaslhdki.id/assets/logo-dinas.ico" type="image/x-icon" />
|
|
|
|
<!-- Twitter -->
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<script type="importmap"></script>
|
|
<link rel="stylesheet" href="~/css/app.css" />
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
|
|
</head>
|
|
<body>
|
|
@{
|
|
var currentPath = Context.Request.Path.Value?.ToLower();
|
|
}
|
|
|
|
@RenderBody()
|
|
|
|
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
|
<script src="~/js/site.js" asp-append-version="true"></script>
|
|
<script src="https://unpkg.com/lucide@latest"></script>
|
|
<script>
|
|
const btn = document.getElementById('menuButton');
|
|
const menu = document.getElementById('mobileMenu');
|
|
const icon = document.getElementById('menuIcon');
|
|
|
|
btn.addEventListener('click', () => {
|
|
|
|
menu.classList.toggle('hidden');
|
|
|
|
if (menu.classList.contains('hidden')) {
|
|
icon.setAttribute('data-lucide', 'menu');
|
|
} else {
|
|
icon.setAttribute('data-lucide', 'x');
|
|
}
|
|
|
|
lucide.createIcons();
|
|
});
|
|
|
|
lucide.createIcons();
|
|
</script>
|
|
@await RenderSectionAsync("Scripts", required: false)
|
|
</body>
|
|
</html>
|