feat: add terms and privacy pages
This commit is contained in:
parent
0da5aadbbe
commit
c473c88c33
9 changed files with 240 additions and 6 deletions
|
|
@ -24,6 +24,14 @@ func (h *homeHandler) HomePage(w http.ResponseWriter, r *http.Request) {
|
|||
http.Redirect(w, r, "/app/dashboard", http.StatusSeeOther)
|
||||
}
|
||||
|
||||
func (h *homeHandler) PrivacyPage(w http.ResponseWriter, r *http.Request) {
|
||||
ui.Render(w, r, pages.Privacy())
|
||||
}
|
||||
|
||||
func (h *homeHandler) TermsPage(w http.ResponseWriter, r *http.Request) {
|
||||
ui.Render(w, r, pages.Terms())
|
||||
}
|
||||
|
||||
func (home *homeHandler) NotFoundPage(w http.ResponseWriter, r *http.Request) {
|
||||
ui.Render(w, r, pages.NotFound())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue