mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
disable mini leaderboard and fix css
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<%= turbo_frame_tag "currently_hacking" do %>
|
||||
<% if users&.any? %>
|
||||
<div class="currently-hacking-list max-h-[60vh] overflow-y-auto p-1 bg-elevated">
|
||||
<div class="currently-hacking-list max-h-[60vh] overflow-y-auto p-1 bg-elevated bg-dark">
|
||||
<div class="space-y-3">
|
||||
<% users.each do |user| %>
|
||||
<div class="flex flex-col space-y-1 p-1 rounded-lg bg-dark hover:bg-darkless transition-colors duration-200">
|
||||
|
||||
@@ -124,9 +124,9 @@
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<%= turbo_frame_tag "mini_leaderboard", src: mini_leaderboard_static_pages_path do %>
|
||||
<%= render "leaderboards/mini_leaderboard_loading" %>
|
||||
<% end %>
|
||||
<%#= turbo_frame_tag "mini_leaderboard", src: mini_leaderboard_static_pages_path do %>
|
||||
<%#= render "leaderboards/mini_leaderboard_loading" %>
|
||||
<%# end %>
|
||||
|
||||
<%= turbo_frame_tag "filterable_dashboard", src: filterable_dashboard_static_pages_path do %>
|
||||
<span>Loading...</span>
|
||||
@@ -136,10 +136,10 @@
|
||||
<span>Loading...</span>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<% if @leaderboard %>
|
||||
<h3>Today's Top Hack Clubbers</h3>
|
||||
<%= render "leaderboards/mini_leaderboard", leaderboard: @leaderboard, current_user: nil %>
|
||||
<% end %>
|
||||
<%# if @leaderboard %>
|
||||
<!--<h3>Today's Top Hack Clubbers</h3>-->
|
||||
<%#= render "leaderboards/mini_leaderboard", leaderboard: @leaderboard, current_user: nil %>
|
||||
<%# end %>
|
||||
|
||||
<div class="login-grid">
|
||||
<div class="video-container">
|
||||
|
||||
Reference in New Issue
Block a user