Repository navigation
Expand file tree
/
Copy pathfiltered-temples.html
More file actions
56 lines (52 loc) · 2.3 KB
/
Copy pathfiltered-temples.html
File metadata and controls
56 lines (52 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Temple Album Page by Kim Brown">
<meta name="author" content="Kim Brown">
<title>Temple Album - Kim Brown</title>
<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=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap">
<!-- Default CSS for mobile-first styling -->
<link rel="stylesheet" href="styles/temples.css" id="main-stylesheet">
<!-- CSS file for larger screens will be loaded dynamically -->
<link rel="stylesheet" href="styles/filtered-temples-large.css" media="screen and (min-width: 768px)">
<script src="scripts/temples.js" defer></script>
<script src="scripts/filtered-temples.js" defer></script>
<script src="scripts/getdates.js" defer></script>
</head>
<body>
<header>
<h1>Temple Album</h1>
<button class="hamburger">☰</button> <!-- Hamburger icon -->
<nav class="nav">
<ul class="navigation">
<li><a href="#" data-action="home">Home</a></li>
<li><a href="#" data-action="old">Old</a></li>
<li><a href="#" data-action="new">New</a></li>
<li><a href="#" data-action="large">Large</a></li>
<li><a href="#" data-action="small">Small</a></li>
</ul>
</nav>
</header>
<main>
<h2>Home</h2>
<div class="temple-gallery"></div>
</main>
<footer>
<p>© <span id="currentyear"></span> 🏴 Kim Brown 🏴 Edinburgh, Scotland
🏴</p>
<p id="lastModified"></p>
</footer>
<script>
// JavaScript to toggle the navigation menu and hamburger icon
document.querySelector('.hamburger').addEventListener('click', function() {
this.classList.toggle('active');
document.querySelector('.nav').classList.toggle('show');
});
</script>
</body>
</html>