fix styling and add address env vars

This commit is contained in:
2025-07-08 02:23:16 +02:00
parent edbb6cb6a6
commit c8d1549c94
11 changed files with 523 additions and 130 deletions

31
templates/header.html Normal file
View File

@ -0,0 +1,31 @@
{{define "header"}}
<header>
<nav class="navbar">
<div class="nav-container">
<div class="nav-logo">
<a href="/">
<img src="/static/Tux.svg" alt="Tux the Linux Penguin" class="tux-icon">
<h1>{{.CompanyName}}</h1>
</a>
</div>
<div class="nav-links">
<a href="/"{{if eq .CurrentPage "home"}} class="active"{{end}}>Home</a>
<a href="#voordelen">Voordelen</a>
<a href="#distros">Linux Keuze</a>
<a href="#diensten">Diensten</a>
<a href="/contact"{{if eq .CurrentPage "contact"}} class="active"{{end}}>Contact</a>
</div>
<button class="mobile-menu-toggle" onclick="toggleMobileMenu()">
<span></span>
</button>
<div class="mobile-menu" id="mobile-menu">
<a href="/"{{if eq .CurrentPage "home"}} class="active"{{end}}>Home</a>
<a href="#voordelen">Voordelen</a>
<a href="#distros">Linux Keuze</a>
<a href="#diensten">Diensten</a>
<a href="/contact"{{if eq .CurrentPage "contact"}} class="active"{{end}}>Contact</a>
</div>
</div>
</nav>
</header>
{{end}}