Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@
<main class="flex-1 <%= 'lg:ml-[250px] lg:max-w-[calc(100%-250px)]' unless content_for?(:hide_nav) %> p-5 mb-[100px] pt-16 lg:pt-5 transition-all duration-300 ease-in-out">
<%= yield %>
<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">
<p class="text-sm text-gray-300">
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" %>
</p>
<div class="container">
<p>
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" %>
Expand Down
6 changes: 5 additions & 1 deletion app/views/static_pages/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<% if current_user %>
<h1 class="font-bold mt-1 mb-4 text-5xl text-center">Keep Track of <span class="text-primary">Your</span> Coding Time</h1>
<% else %>
<h1 class="font-bold mt-1 mb-1 text-5xl text-center">Track How Much You <span class="text-primary">Code</span></h1>
<h1 class="font-bold mt-1 mb-2 text-5xl text-center">Track How Much You <span class="text-primary">Code</span></h1>
<div class="flex flex-col w-full max-w-[50vw] mx-auto mb-22">
<%= link_to hca_auth_path, class: "inline-flex items-center justify-center px-6 py-3 rounded text-white font-bold cursor-pointer border-none w-full mt-4 bg-primary" do %>
<img src="/images/icon-rounded.png" class="h-6 w-6 mr-2">
Expand All @@ -49,6 +49,7 @@
<span class="hidden xl:inline">Slack Sign In</span>
<% end %>
</div>
<p class="mt-2 text-sm text-gray-400">By continuing, you agree to our <a href="/privacy" class="text-primary underline" target="_blank">Privacy Policy</a>.</p>
</div>
<% if params[:sign_in_email] %>
<div class="text-green-500 mt-4 text-center max-w-[50vw] mx-auto">
Expand Down Expand Up @@ -182,6 +183,9 @@
<% if @ssp_message %>
<p class="m-0 ml-2 italic text-gray-400"><%= @ssp_message %> (this is real data)</p>
<% end %>
<p class="mb-4 text-sm text-gray-400">
By continuing, you agree to our <a href="/privacy" class="text-primary underline">Privacy Policy</a>.
</p>
</div>
</div>
<% end %>
Expand Down
Loading