From 6ad56d0dc9e2ab06f6bc1620180aef57ee344897 Mon Sep 17 00:00:00 2001
From: Michael Bumann
Date: Sat, 2 May 2020 16:48:42 +0200
Subject: [PATCH] Add privacy policy and terms of service
---
app/views/layouts/application.html.erb | 3 +++
app/views/sessions/new.html.erb | 4 ++++
app/views/sessions/signup.html.erb | 4 ++++
config/routes.rb | 3 +++
4 files changed, 14 insertions(+)
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b0f779b..7e73fe9 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -44,6 +44,9 @@
Crafted in Rwanda and Germany by @bumi, @musayann & @karemarsy
+
+ Privacy Policy - Terms of Service
+
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index d875bb3..a15b518 100644
--- a/app/views/sessions/new.html.erb
+++ b/app/views/sessions/new.html.erb
@@ -17,6 +17,10 @@
Login with your existing Google account, no new credentials needed.
Do you need help? <%= link_to 'let us know', help_url %>.
+
+
+ By signing in you agree to
the <%= link_to 'Terms of Service', '/terms' %> and <%= link_to 'Privacy Policy', '/privacy' %>.
+
diff --git a/app/views/sessions/signup.html.erb b/app/views/sessions/signup.html.erb
index b669309..488a088 100644
--- a/app/views/sessions/signup.html.erb
+++ b/app/views/sessions/signup.html.erb
@@ -23,6 +23,10 @@
Do you need help? <%= link_to 'let us know', help_url %>.
+
+
+ By signing in you agree to
the <%= link_to 'Terms of Service', '/terms' %> and <%= link_to 'Privacy Policy', '/privacy' %>.
+
diff --git a/config/routes.rb b/config/routes.rb
index 4d9a499..13f84c7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -31,6 +31,9 @@ Rails.application.routes.draw do
get '/demo(/:backend)' => 'home#demo', :as => :demo
get '/contact', to: redirect('/#contact-us'), :as => :contact
get '/help', to: redirect('https://www.notion.so/Tinyforms-Help-Center-04f13b5908bc46cfb4283079a3cb1149')
+ get '/privacy', to: redirect('https://www.notion.so/Privacy-Policy-f4bd2d6c8e7742bbb9ca1c952aec0379')
+ get '/terms', to: redirect('https://www.notion.so/Terms-and-Conditions-d73fd11089164eac91ede8ab4b4da5b3')
+
get '/form-building-service', to: redirect('https://www.notion.so/Tinyforms-Help-Center-04f13b5908bc46cfb4283079a3cb1149')
root 'home#index'