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:
2026-09-05 15:05:57 +02:00
co-authored by Cursor
parent d52434fb2e
commit a1f4c24a43
124 changed files with 6979 additions and 91 deletions
@@ -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>