mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Shorten logged out landing page
This commit is contained in:
@@ -29,25 +29,23 @@
|
||||
</p>
|
||||
<% unless current_user %>
|
||||
<p class="text-xl mt-2">
|
||||
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" %>!
|
||||
</p>
|
||||
|
||||
<% if @home_stats&.[](:seconds_tracked) && @home_stats&.[](:users_tracked) %>
|
||||
<div>
|
||||
<h2 class="text-3xl my-2">Join Thousands of High Schoolers</h2>
|
||||
<p class="text-2xl">
|
||||
<h2 class="text-3xl my-2">
|
||||
Already tracking <span class="text-primary"><%= number_with_delimiter(@home_stats[:seconds_tracked] / 3600) %> <%= 'hour'.pluralize(@home_stats[:seconds_tracked] / 3600) %></span>
|
||||
of coding across <span class="text-primary"><%= number_with_delimiter(@home_stats[:users_tracked]) %> <%= 'high schooler'.pluralize(@home_stats[:users_tracked]) %></span>
|
||||
since <span class="text-primary">2025</span>.
|
||||
</p>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="my-8">
|
||||
<h2 class="text-2xl mb-4">Why Choose Hackatime?</h2>
|
||||
<ul class="text-xl list-none p-0">
|
||||
<li class="my-2">✅ <strong>100% Free</strong> - No paid plans or hidden fees</li>
|
||||
<li class="my-2">✅ <strong>100% Free</strong></li>
|
||||
<li class="my-2">📊 <strong>75+ Editors</strong> - Works with <%= link_to "VS Code", doc_path("editors/vs-code") %>, <%= link_to "Vim", doc_path("editors/vim") %>, <%= link_to "Sublime", doc_path("editors/sublime-text") %> and <%= link_to "more", docs_path + "#supported-editors" %></li>
|
||||
<li class="my-2">📡 <strong>Works Offline</strong> - Time tracking continues even without internet</li>
|
||||
<li class="my-2">📡 <strong>Works Offline</strong></li>
|
||||
<li class="my-2">🔒 <strong>Privacy First</strong> - Your data stays safe</li>
|
||||
<li class="my-2">⚡ <strong>Real-time Stats</strong> - See your coding time instantly</li>
|
||||
<li class="my-2">🏆 <strong>Leaderboards</strong> - Compare with other high schoolers</li>
|
||||
|
||||
Reference in New Issue
Block a user