From 367dc246ff4797473541611df6e5cc96398b9bb8 Mon Sep 17 00:00:00 2001 From: Stephen Date: Mon, 4 Nov 2019 21:21:25 -0800 Subject: [PATCH] privacy --- Resources/Views/privacy.leaf | 21 +++++++++++++++++++++ Sources/App/routes.swift | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 Resources/Views/privacy.leaf diff --git a/Resources/Views/privacy.leaf b/Resources/Views/privacy.leaf new file mode 100644 index 0000000..5e797a4 --- /dev/null +++ b/Resources/Views/privacy.leaf @@ -0,0 +1,21 @@ + + + +Privacy Anyone? + + + +

We don't have a privacy policy yet, you just gotta trust that I'm not collecting and selling all your data.

+ +

To contact White Hat click +here.
+ +

Thank you for participating in the White Hat app beta.

+ + diff --git a/Sources/App/routes.swift b/Sources/App/routes.swift index d193b8e..d84e0c3 100644 --- a/Sources/App/routes.swift +++ b/Sources/App/routes.swift @@ -8,4 +8,7 @@ public func routes(_ router: Router) throws { router.get("/index.html") { request in return try request.view().render("home") } + router.get("/privacy") { request in + return try request.view().render("privacy") + } }