feat: Adds privacy policy.
All checks were successful
CI / Linux Tests (push) Successful in 8m30s

This commit is contained in:
2026-02-10 16:26:23 -05:00
parent dc9f51c04f
commit 08e67ce308
12 changed files with 1225 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ extension SiteRoute {
/// The routes return html.
public enum View: Equatable, Sendable {
case home
case privacyPolicy
case login(LoginRoute)
case signup(SignupRoute)
case project(ProjectRoute)
@@ -25,6 +26,10 @@ extension SiteRoute {
Route(.case(Self.home)) {
Method.get
}
Route(.case(Self.privacyPolicy)) {
Path { "privacy-policy" }
Method.get
}
Route(.case(Self.login)) {
SiteRoute.View.LoginRoute.router
}