From 05ba02ba4f794a8087d04a2c5fc7f34e353e1a36 Mon Sep 17 00:00:00 2001 From: Zach Latta Date: Mon, 4 Aug 2025 11:40:43 -0400 Subject: [PATCH] Shorten logged out landing page --- app/views/static_pages/index.html.erb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/views/static_pages/index.html.erb b/app/views/static_pages/index.html.erb index cec75c5..d1b3e11 100644 --- a/app/views/static_pages/index.html.erb +++ b/app/views/static_pages/index.html.erb @@ -29,25 +29,23 @@

<% unless current_user %>

- Hackatime helps you track how much time you spend coding. See which programming languages you use most and how productive you are. It's completely free and works with over <%= link_to "75 code editors", docs_path + "#supported-editors" %>! + See which programming languages you use most and how productive you are. Free and works with over <%= link_to "75 code editors", docs_path + "#supported-editors" %>!

<% if @home_stats&.[](:seconds_tracked) && @home_stats&.[](:users_tracked) %>
-

Join Thousands of High Schoolers

-

+

Already tracking <%= number_with_delimiter(@home_stats[:seconds_tracked] / 3600) %> <%= 'hour'.pluralize(@home_stats[:seconds_tracked] / 3600) %> of coding across <%= number_with_delimiter(@home_stats[:users_tracked]) %> <%= 'high schooler'.pluralize(@home_stats[:users_tracked]) %> since 2025. -

+

-

Why Choose Hackatime?