From 9ed80c66b588b66adf3ffead399a5bee03596446 Mon Sep 17 00:00:00 2001
From: "Butler, Alexis (UG - Computer Science)" <ab02259@surrey.ac.uk>
Date: Sun, 9 May 2021 20:55:39 +0100
Subject: [PATCH] Policy footer

---
 app/views/layouts/application.html.erb | 1 +
 app/views/shared/_footer.html.erb      | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 app/views/shared/_footer.html.erb

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 31a73d4..3712d7b 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -23,5 +23,6 @@
 
   <footer>
     <%= render 'cookies_eu/consent_banner', link: '/policy/cookie-notice', target: '_blank'%>
+    <%= render 'shared/footer' %>
   </footer>
 </html>
diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb
new file mode 100644
index 0000000..3aa32c6
--- /dev/null
+++ b/app/views/shared/_footer.html.erb
@@ -0,0 +1,5 @@
+<div style="position: fixed; bottom: 0; left: 0; right: 0; background:#343A40; color: white;text-align:center;">
+  <%=link_to "Cookie Policy", policy_cookie_notice_path%> |
+  <%=link_to "Privacy Policy", policy_privacy_path%> |
+  <%=link_to "Security Policy", policy_security_path%>
+</div>
\ No newline at end of file
-- 
GitLab