-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (86 loc) · 3.64 KB
/
index.html
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!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="Semantics of Sustainability Home">
<title>Home - Semantics of Sustainability</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css"> <!-- Link to main CSS -->
</head>
<body class="home">
<!-- Navigation Bar -->
<header class="header">
<div class="navbar home-nav">
<span class="menu-toggle">☰</span>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about/index.html">About</a></li>
<li><a href="news/index.html">News</a></li>
<li><a href="people/index.html">People</a></li>
<li><a href="output/index.html">Output</a></li>
</ul>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="hero-text-box">
<h1>Semantics of Sustainability</h1>
<p>Using machine learning to study the conceptual origins and evolution of Sustainability in the Netherlands.</p>
</div>
</section>
<!-- Main Content Section -->
<section class="content-wrapper">
<!-- About Section -->
<div class="content-box about-section">
<h2>About Our Project</h2>
<img src="assets/about.png" alt="About Icon" class="content-icon">
<a href="about/index.html" class="button">Learn More</a>
</div>
<!-- News Section -->
<div class="content-box updates-section">
<h2>Check out the News</h2>
<img src="assets/updates.png" alt="Updates Icon" class="content-icon">
<a href="news/index.html" class="button centered-button">See the News</a>
</div>
<!-- People Section -->
<div class="content-box people-section">
<h2>Meet Our People</h2>
<img src="assets/people.png" alt="People Icon" class="content-icon">
<a href="people/index.html" class="button centered-button">See Our People</a>
</div>
<!-- Output Section -->
<div class="content-box output-section">
<h2>Find our Output</h2>
<img src="assets/blog.png" alt="Output Icon" class="content-icon">
<a href="output/index.html" class="button centered-button">Go to Output</a>
</div>
<!-- Github Section -->
<div class="content-box github-section">
<h2>Visit Our Github</h2>
<img src="assets/git.png" alt="Github Icon" class="content-icon">
<a href="https://github.com/Semantics-of-Sustainability" class="button centered-button">Visit our Github</a>
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2024 Semantics of Sustainability. All Rights Reserved.</p>
</footer>
<!-- JavaScript for Hamburger Menu -->
<script>
document.addEventListener('DOMContentLoaded', function() {
const menuToggle = document.querySelector('.menu-toggle');
const navbar = document.querySelector('.navbar');
const navbarMenu = navbar.querySelector('ul');
// Toggle the menu visibility on mobile when clicking the hamburger icon
menuToggle.addEventListener('click', function() {
navbarMenu.style.display = (navbarMenu.style.display === 'none') ? 'flex' : 'none';
});
// Only hide the menu on small screens (mobile)
if (window.innerWidth <= 767) {
navbarMenu.style.display = 'none';
}
});
</script>
</body>
</html>