Aggiunge i tornei con hub, pagina pubblica e tabellone per semifinali e finali.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<% content_for :title, t("tournaments.directory.meta_title") %>
|
||||
<% content_for :meta_description, t("tournaments.directory.meta_description") %>
|
||||
<% content_for :canonical_url, seo_absolute_url(public_tournament_pages_path) %>
|
||||
|
||||
<div class="wrap team-directory">
|
||||
<h1><%= t("tournaments.directory.heading") %></h1>
|
||||
<p class="results-hint"><%= t("tournaments.directory.hint") %></p>
|
||||
|
||||
<% if @tournaments.any? %>
|
||||
<div class="team-directory-grid">
|
||||
<% @tournaments.each do |tournament| %>
|
||||
<%= render "public/tournament_pages/directory_card", tournament: tournament %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% else %>
|
||||
<div class="empty-state empty-state--soft">
|
||||
<p><strong><%= t("tournaments.directory.empty") %></strong></p>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user