CSS cleanup and decrease padding on hero and section a bit

This commit is contained in:
2025-09-02 23:19:31 +02:00
parent d124561ef9
commit 7c45c0af08
24 changed files with 689 additions and 213 deletions

14
main.go
View File

@ -346,6 +346,18 @@ func (s *Server) aboutHandler(w http.ResponseWriter, r *http.Request) {
s.renderTemplate(w, "over-mij.html", data)
}
// dienstenHandler handles the services page
func (s *Server) dienstenHandler(w http.ResponseWriter, r *http.Request) {
data := s.createPageData("Diensten en tarieven - "+s.config.CompanyName, "diensten")
s.renderTemplate(w, "diensten.html", data)
}
// linuxHandler handles the Linux page (distributions + features)
func (s *Server) linuxHandler(w http.ResponseWriter, r *http.Request) {
data := s.createPageData("Linux distributies en functies - "+s.config.CompanyName, "linux")
s.renderTemplate(w, "linux.html", data)
}
// setupRoutes configures all HTTP routes
func (s *Server) setupRoutes() {
// Static files
@ -356,6 +368,8 @@ func (s *Server) setupRoutes() {
http.HandleFunc("/", s.homeHandler)
http.HandleFunc("/contact", s.contactHandler)
http.HandleFunc("/over-mij", s.aboutHandler)
http.HandleFunc("/diensten", s.dienstenHandler)
http.HandleFunc("/linux", s.linuxHandler)
http.HandleFunc("/health", s.healthHandler)
}