CSS cleanup and decrease padding on hero and section a bit
This commit is contained in:
14
main.go
14
main.go
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user