Skip to content

Commit f9bf2dc

Browse files
authored
Revert "privacy policy deluxe (#473)" (#475)
1 parent 34b8bb2 commit f9bf2dc

File tree

4 files changed

+1
-74
lines changed

4 files changed

+1
-74
lines changed

app/views/layouts/application.html.erb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,7 @@
164164
<!-- 250px is defined in nav.css -->
165165
<main class="flex-1 lg:ml-[250px] lg:max-w-[calc(100%-250px)] p-5 mb-[100px] pt-16 lg:pt-5 transition-all duration-300 ease-in-out">
166166
<%= yield %>
167-
<!-- the real footer -->
168167
<footer class="relative w-full mt-12 mb-5 p-2.5 text-center text-xs text-gray-600 hover:text-gray-300 transition-colors duration-200">
169-
<p class="text-sm text-gray-300">
170-
Made with ❤️ by <%= link_to "Hack Club", "https://hackclub.com", class: "text-inherit underline opacity-80 hover:opacity-100 transition-opacity duration-200", target: "_blank", rel: "noopener" %> | <%= link_to "Privacy Policy", "/privacy", class: "text-inherit underline opacity-80 hover:opacity-100 transition-opacity duration-200" %>
171-
</p>
172168
<div class="container">
173169
<p>
174170
Build <%= link_to Rails.application.config.git_version, Rails.application.config.commit_link, class: "text-inherit underline opacity-80 hover:opacity-100 transition-opacity duration-200" %>

app/views/static_pages/index.html.erb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@
9595
<p class="m-0 ml-2 italic text-gray-400"><%= @ssp_message %> (this is real data)</p>
9696
<% end %>
9797
</div>
98-
<div class="flex items-center text-gray-600">
99-
By continuing, you agree to Hackatime's <%= link_to "Privacy Policy", "/privacy", class: "text-inherit underline opacity-80 hover:opacity-100 transition-opacity duration-200 mx-1" %>
100-
</div>
10198
</div>
10299
<% end %>
103100
<p>
@@ -168,9 +165,6 @@
168165
Because you're on localhost, <%= link_to "click here to view the email", letter_opener_web_path %>
169166
<% end %>
170167
<% end %>
171-
<p class="text-sm text-gray-600">
172-
By using this site, you agree to our <%= link_to "Privacy Policy", "/privacy", class: "text-inherit underline opacity-80 hover:opacity-100 transition-opacity duration-200" %>.
173-
</p>
174168
</div>
175169
</div>
176170
</div>

app/views/static_pages/privacy.html.erb

Lines changed: 0 additions & 63 deletions
This file was deleted.

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@ def matches?(request)
189189
end
190190
end
191191

192+
# SEO routes
192193
get "/sitemap.xml", to: "sitemap#sitemap", defaults: { format: "xml" }
193-
get "/privacy", to: "static_pages#privacy"
194194
end

0 commit comments

Comments
 (0)