{{ description }}
+{{ description }}
diff --git a/content/collections/tournaments/hado-1.md b/content/collections/tournaments/hado-1.md index d2e76e9..4f9b97f 100644 --- a/content/collections/tournaments/hado-1.md +++ b/content/collections/tournaments/hado-1.md @@ -4,16 +4,13 @@ blueprint: tournament title: 'Facteur X' author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 updated_by: cf207a21-df92-4f9c-b7c7-897476d8f464 -updated_at: 1769422061 +updated_at: 1769700323 logo: image_2026-01-06_210603982.png type: stier backdrop: image_2026-01-06_210653383.png -start: '2026-01-07 14:00' -end: '2026-01-07 17:00' duplicated_from: 8bd8dafe-19f4-4a20-a72f-46cb0b6ac245 game: 'Street Fighter 2X' video: 'https://www.youtube.com/watch?v=U7Zb7LNR_pE' -qualif_start: '2026-01-22 00:00' guests: - id: mkpj5kld @@ -51,6 +48,23 @@ description: - type: text text: 'oeishfosiujfbqgovbvouiqberghyvbouybgoqg !' +phases: + - + id: mkzlrzjx + phase_name: 'Facteur X - Solo' + qualif_start: '2026-01-29 16:22' + start: '2026-01-29 16:22' + end: '2026-01-29 16:22' + type: phase + enabled: true + - + id: mkzlvifv + phase_name: 'Facteur X - Team' + qualif_start: '2026-01-29 16:22' + start: '2026-01-29 16:22' + end: '2026-01-29 16:22' + type: phase + enabled: true --- That's the FX yup. Et ca déchire. -Ca va etre chanmé. \ No newline at end of file +Ca va etre chanmé. diff --git a/public/assets/js/main.js b/public/assets/js/main.js index 2a4ade0..9db4c36 100644 --- a/public/assets/js/main.js +++ b/public/assets/js/main.js @@ -1,4 +1,5 @@ document.addEventListener('DOMContentLoaded', () => { + console.log('DOM fully loaded and parsed'); const FPS = 60; // Target frames per second for cursor tracking @@ -152,4 +153,22 @@ document.addEventListener('DOMContentLoaded', () => { }); }); })(); -}); + + // Navbar mobile + // Get all "navbar-burger" elements + const $navbarBurgers = document.querySelector('.navbar-burger'); + console.log('$navbarBurgers:', $navbarBurgers); + // Add a click event on each of them + let el = $navbarBurgers; + el.addEventListener('click', () => { + console.log('Navbar burger clicked'); + // Get the target from the "data-target" attribute + const target = el.dataset.target; + const $target = document.getElementById(target); + + // Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu" + el.classList.toggle('is-active'); + $target.classList.toggle('is-active'); + + }); +}, { once: true }); diff --git a/public/css/site.css b/public/css/site.css index c60b3d4..9cd7a6c 100644 --- a/public/css/site.css +++ b/public/css/site.css @@ -35,7 +35,11 @@ body{ } #nav{ --bulma-navbar-item-img-max-height: 2.5rem; + display:flex; + justify-content: space-between; + align-items: center; } + #hero{ justify-content:center; } diff --git a/resources/blueprints/collections/tournaments/tournament.yaml b/resources/blueprints/collections/tournaments/tournament.yaml index 9104676..5850ed8 100644 --- a/resources/blueprints/collections/tournaments/tournament.yaml +++ b/resources/blueprints/collections/tournaments/tournament.yaml @@ -76,29 +76,23 @@ tabs: instructions: 'Video du tournoi' sortable: false - - display: 'Dates and place' + display: Phases + instructions: 'Différentes phases type solo / team / etc' fields: - - handle: qualif_start + handle: phases field: - time_enabled: true - type: date - display: qualif_start - instructions: 'Debut des qualifs' - - - handle: start - field: - time_enabled: true - type: date - display: start - instructions: 'Debut du tournoi' - - - handle: end - field: - time_enabled: true - type: date - display: End - instructions: 'Fin du tournoi' + type: replicator + display: Phases + sets: + new_set_group: + display: 'New Set Group' + sets: + phase: + display: Phase + fields: + - + import: tournament_phases - display: Guests instructions: 'Infos des invités' diff --git a/resources/views/_guest.antlers.html b/resources/views/_guest.antlers.html index 6e9fd11..dcf4f54 100644 --- a/resources/views/_guest.antlers.html +++ b/resources/views/_guest.antlers.html @@ -21,7 +21,7 @@ {{ /if }}
{{ name }}
+{{ name }}
{{#@johnsmith
#}}{{ description }}
+{{ description }}
+
+
{{ hfs:date_start }} - {{ hfs:date_end }}
-{{ hfs:place }}
+{{ hfs:place }}