Compare commits
3 Commits
269a03fbad
...
responsive
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cd13e91d8 | ||
|
|
4627f25b86 | ||
|
|
501c22224f |
@@ -12,7 +12,12 @@
|
||||
<header>
|
||||
<nav class="container">
|
||||
<a href="#" class="logo">Ground Zero Lab</a>
|
||||
<ul class="nav-links">
|
||||
<div class="hamburger" onclick="toggleHamburger()">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
<ul class="nav-links" id="navLinks">
|
||||
<li><a href="#about">Über Uns</a></li>
|
||||
<li><a href="#projects">Projekte</a></li>
|
||||
<li><a href="#tech">Technologie</a></li>
|
||||
@@ -133,4 +138,42 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>Ground Zero Lab - KI für kritische Wahrheit</p>
|
||||
<div class="footer-links">
|
||||
<a href="#about">Über Uns</a>
|
||||
<a href="#projects">Projekte</a>
|
||||
<a href="#tech">Technologie</a>
|
||||
<a href="#demo">Demo</a>
|
||||
<a href="#community">Community</a>
|
||||
</div>
|
||||
<p>© 2026 Ground Zero Lab</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
function toggleHamburger() {
|
||||
const navLinks = document.getElementById('navLinks');
|
||||
navLinks.classList.toggle('mobile-open');
|
||||
|
||||
const hamburger = document.querySelector('.hamburger');
|
||||
hamburger.classList.toggle('active');
|
||||
}
|
||||
|
||||
// Close mobile menu when clicking on a link
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const navLinks = document.getElementById('navLinks');
|
||||
const links = navLinks.querySelectorAll('a');
|
||||
|
||||
links.forEach(link => {
|
||||
link.addEventListener('click', function() {
|
||||
navLinks.classList.remove('mobile-open');
|
||||
document.querySelector('.hamburger').classList.remove('active');
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user