add a barebones privacy policy, will likely need to expand it if the service gets more usage

This commit is contained in:
2022-02-25 00:48:40 -05:00
parent 7e2eb2cb75
commit 9b362d0241
6 changed files with 74 additions and 7 deletions

View File

@@ -10,4 +10,9 @@ defmodule EntenduWeb.PageController do
|> clear_session()
|> render("index.html")
end
def privacy(conn, _params) do
conn
|> render("privacy_policy.html")
end
end

View File

@@ -35,6 +35,8 @@ defmodule EntenduWeb.Router do
post "/just/for", LinkController, :for
get "/just/for/you", LinkController, :you_page
get "/just/for/you/:id", LinkController, :auth_page
get "/privacy-policy", PageController, :privacy
end
scope "/auth", EntenduWeb do

View File

@@ -0,0 +1,3 @@
<section>
<%= react_component("Components.PrivacyPolicyPage") %>
</section>