diff --git a/config/statamic/assets.php b/config/statamic/assets.php index 82fa21e..4875408 100644 --- a/config/statamic/assets.php +++ b/config/statamic/assets.php @@ -101,6 +101,7 @@ return [ // 'small' => ['w' => 200, 'h' => 200, 'q' => 75, 'fit' => 'crop'], 'thumbnail' => [ 'w' => 300, 'h' => 300, 'q' => 75 ], 'logo' => [ 'w' => 200, 'h' => 200, 'q' => 80, 'fit' => 'contain' ], + 'logo_large' => [ 'w' => 400, 'h' => 400, 'q' => 80, 'fit' => 'contain' ], ], /* diff --git a/config/statamic/cp.php b/config/statamic/cp.php index 24f23ed..0121ce5 100644 --- a/config/statamic/cp.php +++ b/config/statamic/cp.php @@ -53,9 +53,20 @@ return [ */ 'widgets' => [ - 'getting_started', +// 'getting_started', + [ + 'type' => 'collection', + 'collection' => 'pages', + 'limit' => 10, + ], + [ + 'type' => 'collection', + 'collection' => 'tournaments', + 'limit' => 10, + ], ], + /* |-------------------------------------------------------------------------- | Date Format diff --git a/config/statamic/system.php b/config/statamic/system.php index 87a5bfe..657e844 100644 --- a/config/statamic/system.php +++ b/config/statamic/system.php @@ -94,7 +94,8 @@ return [ | */ - 'date_format' => 'F jS, Y', +// 'date_format' => 'F jS, Y', + 'date_format' => 'd/m/Y', /* |-------------------------------------------------------------------------- diff --git a/content/collections/pages/home.md b/content/collections/pages/home.md index e2824fe..21a61ec 100644 --- a/content/collections/pages/home.md +++ b/content/collections/pages/home.md @@ -5,7 +5,7 @@ title: Home template: home author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 updated_by: cf207a21-df92-4f9c-b7c7-897476d8f464 -updated_at: 1768920692 +updated_at: 1769093488 incentives: - id: mki632jb @@ -51,15 +51,6 @@ photos: - photos/285129975_4931884353606270_9099815639564787952_n.jpg - photos/285133824_4931922866935752_1400404880920508743_n.jpg content: - - - type: paragraph - content: - - - type: text - marks: - - - type: bold - text: 'Le HFS Summer' - type: heading attrs: @@ -90,5 +81,5 @@ content: type: hardBreak - type: text - text: "Une bulle de nostalgie ou bornes d'arcade, flippers, consoles retro, jeux forains et LAN party à l'ancienne cohabiteront dans la bonne humeur et l'échange. Des tournois internationaux ou pour le fun à vivre de l'intérieur, en spectateur ou en tant que compétiteur. Prenez part à l'aventure HFS Play, embarquez avec nous pour une toute nouvelle édition XXL !" + text: "Une bulle de nostalgie ou bornes d'arcade, flippers, consoles retro, jeux forains et LAN party à l'ancienne cohabitent dans la bonne humeur. Des tournois internationaux ou pour le fun à vivre de l'intérieur, en spectateur ou en tant que compétiteur. Prenez part à l'aventure HFS Play, embarquez avec nous pour une toute nouvelle édition XXL !" --- diff --git a/content/collections/tournaments/hado-1.md b/content/collections/tournaments/hado-1.md index 7588e48..c5ecfe8 100644 --- a/content/collections/tournaments/hado-1.md +++ b/content/collections/tournaments/hado-1.md @@ -4,12 +4,52 @@ blueprint: tournament title: 'Facteur X' author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 updated_by: cf207a21-df92-4f9c-b7c7-897476d8f464 -updated_at: 1769009650 +updated_at: 1769093099 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 + name: Kark + country: France + picture: mousse.png + reveal: true + type: guest + enabled: true +description: + - + type: heading + attrs: + level: 2 + content: + - + type: text + text: 'BACK DANS LES BACS !' + - + type: paragraph + content: + - + type: text + text: 'Retour du truc blablabalbalbalbalbal' + - + type: paragraph + content: + - + type: text + text: oduihbozbqozbqozf + - + type: paragraph + content: + - + type: text + text: 'oeishfosiujfbqgovbvouiqberghyvbouybgoqg !' --- -That's the FX yup. Et ca déchire. \ No newline at end of file +That's the FX yup. Et ca déchire. +Ca va etre chanmé. \ No newline at end of file diff --git a/public/css/site.css b/public/css/site.css index 0e0b622..45e0b72 100644 --- a/public/css/site.css +++ b/public/css/site.css @@ -11,6 +11,7 @@ --bulma-black-h: 0; --bulma-black-s: 0%; --bulma-black-l: 6%; + --bulma-body-background-color: hsl(0, 0%, 6%); } .has-text-weight-bold { font-weight: 600 !important; @@ -35,6 +36,9 @@ body{ #hero .hero-body{ flex-direction: column;flex-grow:0; } +h1{ + margin:0; +} /* -----------------------------------------------*/ /*Custom classes*/ @@ -211,6 +215,12 @@ video{ place-items: center; columns: 3; } + +/*TOURNAMENT PAGE*/ +#tournament-header{ + background-size: cover; + background-position: center; +} /*------------------------------------------------------------------*/ /*Twist animation*/ diff --git a/resources/blueprints/collections/tournaments/tournament.yaml b/resources/blueprints/collections/tournaments/tournament.yaml index df9e590..b3b2fbb 100644 --- a/resources/blueprints/collections/tournaments/tournament.yaml +++ b/resources/blueprints/collections/tournaments/tournament.yaml @@ -42,12 +42,11 @@ tabs: instructions: 'Type de tournoi' width: 33 - - handle: content + handle: description field: - type: markdown - display: Description - localizable: true - sortable: false + remove_empty_nodes: false + type: bard + display: description - handle: logo field: @@ -76,7 +75,6 @@ tabs: display: video instructions: 'Video du tournoi' sortable: false - width: 33 - display: 'Dates and place' fields: @@ -144,6 +142,7 @@ tabs: type: assets display: Picture instructions: 'Image détourée du guest' + max_files: 1 - handle: reveal field: diff --git a/resources/views/_tournamentblock.antlers.html b/resources/views/_tournamentblock.antlers.html index 390cbb3..bbc4d72 100644 --- a/resources/views/_tournamentblock.antlers.html +++ b/resources/views/_tournamentblock.antlers.html @@ -1,10 +1,9 @@ -
+{{ if logo }} + + + +
{{ hfs:date_start }} - {{ hfs:date_end }}
@@ -16,19 +16,22 @@
{{ reponse }} {{ reponse }} {{ price }} {{ qualifs }} {{ start }} {{ end }}L'évènement
+ L'évènement
{{ incentives }}
{{ partial:_incentiveblock }}
{{ /incentives }}
+
Tournois
@@ -36,47 +39,30 @@
- Tournois S-Tier
+
-
- {{ /collection:tournaments }}
-
Tournois S-Tier
- Tournois A-Tier
- Tournois Rythm-Tier
- Tournois Family-Tier
- Gallerie
- Gallerie
+ FAQ
- {{ question }}
- FAQ
+ {{ question }}
+ Tickets
- {{ title }}
- Tickets
+ Sponsors
-
-
Sponsors
+
+
{{ title }}
-
-
-
-
+
Debut des qualifications
- Debut
- Fin
-
+ {{ else }}
+
+ {{ /if }}
+