From 17c893802d0a64316dc8e382804364a5d0eb1b64 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 17:19:37 -0500 Subject: [PATCH] Fix HTML/CSS errors and improve consistency in landing page (#841) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Echo --- app/views/static_pages/index.html.erb | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/app/views/static_pages/index.html.erb b/app/views/static_pages/index.html.erb index 904c863..70e1340 100644 --- a/app/views/static_pages/index.html.erb +++ b/app/views/static_pages/index.html.erb @@ -22,7 +22,7 @@ <% if current_user %>

Keep Track of Your Coding Time

<% else %> -

Track How Much You Code

+

Track How Much You Code

<%= link_to hca_auth_path(continue: @continue_param), class: "inline-flex items-center justify-center w-full px-6 py-3 rounded text-white font-bold bg-primary hover:bg-primary/80 transition-colors", data: { turbo: false }, onclick: "let s=this.querySelector('.spinner'),i=this.querySelector('.icon');s.classList.remove('hidden');i.classList.add('hidden');this.style.cssText='pointer-events:none;opacity:0.7'" do %> @@ -77,7 +77,7 @@ ['Emacs', 'emacs'], ['Jupyter', 'jupyter'], ['OnShape', 'onshape'] ] %> <% popular_editors.each do |name, slug| %> - " class="bg-darkless rounded-lg p-3 hover:bg-primary/10 transition-all duration-200 text-center block hover:-translate-y-0.5 hover:shadow-lg hover:shadow-blue-500/20"> + " class="bg-darkless rounded-lg p-3 hover:bg-primary/20 transition-all duration-200 text-center block hover:-translate-y-0.5 hover:shadow-lg hover:shadow-primary/20"> <%= name %>
<%= name %>
@@ -97,11 +97,11 @@

<% end %>
-
-

100%
free

-

works
offline

-

real time
stats

-

rise to the
top #1

+
+

100%
free

+

works
offline

+

real time
stats

+

rise to the
top #1

@@ -112,8 +112,8 @@
-

For your favourite Hack Club events!

-

Don't commit fraud lol ;)

+

For your favorite Hack Club events!

+

First class support for Hack Club events, and more.

@@ -130,7 +130,7 @@
-
+
@@ -194,7 +194,7 @@
Link your GitHub account to unlock project linking, show what you're working on, and qualify for leaderboards!
- <%= link_to "Connect GitHub", "/auth/github", class: "bg-primary hover:bg-red-600 text-white font-medium px-4 py-2 rounded-lg transition-colors duration-200 flex-shrink-0", data: { turbo: false } %> + <%= link_to "Connect GitHub", "/auth/github", class: "bg-primary hover:bg-primary text-white font-medium px-4 py-2 rounded-lg transition-colors duration-200 flex-shrink-0", data: { turbo: false } %>
<% end %> @@ -245,13 +245,13 @@
- -

Start hacking with Hackatime now!

-

Superrrrrr easy to setup :)

+

It is super easy to setup, here is a quick guide!

+
+ +
<% end %>