diff --git a/README.md b/README.md index 9f8f743..ac91487 100644 --- a/README.md +++ b/README.md @@ -1,43 +1,25 @@ -

Statamic Logo

+# Summer CMS -## About Statamic +## Gest started +Install deps -Statamic is the flat-first, Laravel + Git powered CMS designed for building beautiful, easy to manage websites. +```bash +composer install +``` +Run development server -> [!NOTE] -> This repository contains the code for a fresh Statamic project that is installed via the Statamic CLI tool. -> -> The code for the Statamic Composer package itself can be found at the [Statamic core package repository][cms-repo]. +```bash +php artisan serve +``` +## Statamic Documentation -## Learning Statamic - -Statamic has extensive [documentation][docs]. We dedicate a significant amount of time and energy every day to improving them, so if something is unclear, feel free to open issues for anything you find confusing or incomplete. We are happy to consider anything you feel will make the docs and CMS better. - -## Support - -We provide official developer support on [Statamic Pro](https://statamic.com/pricing) projects. Community-driven support is available on the [forum](https://statamic.com/forum) and in [Discord][discord]. - - -## Contributing - -Thank you for considering contributing to Statamic! We simply ask that you review the [contribution guide][contribution] before you open issues or send pull requests. - - -## Code of Conduct - -In order to ensure that the Statamic community is welcoming to all and generally a rad place to belong, please review and abide by the [Code of Conduct](https://github.com/statamic/cms/wiki/Code-of-Conduct). - - -## Important Links - -- [Statamic Main Site](https://statamic.com) -- [Statamic Documentation][docs] -- [Statamic Core Package Repo][cms-repo] -- [Statamic Migrator](https://github.com/statamic/migrator) -- [Statamic Discord][discord] +Statamic has extensive [documentation][docs]. [docs]: https://statamic.dev/ -[discord]: https://statamic.com/discord -[contribution]: https://github.com/statamic/cms/blob/master/CONTRIBUTING.md -[cms-repo]: https://github.com/statamic/cms + +## Control panel + +CP is available under /cp. Credentials are: +- user: `summercms@hfsplay.fr` +- password: `0NRG4k7Qx1bG9Qj5Fh8Iu1JH6j` diff --git a/composer.json b/composer.json index ae1a4f2..a4a4727 100644 --- a/composer.json +++ b/composer.json @@ -10,14 +10,14 @@ "laravel" ], "require": { - "php": "^8.2", + "php": "^8.1", "laravel/framework": "^12.0", "laravel/tinker": "^2.10.1", "statamic/cms": "^5.0", "statamic/ssg": "^3.1" }, "require-dev": { - "barryvdh/laravel-debugbar": "^3.8.1", + "barryvdh/laravel-debugbar": "^3.16", "fakerphp/faker": "^1.23", "laravel/pail": "^1.2.2", "laravel/pint": "^1.24", diff --git a/composer.lock b/composer.lock index 6d82369..ccc5c0d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a0d3e423d988eb2b3b764048424247ee", + "content-hash": "d126fe524ac321c53a33c8dacc393d84", "packages": [ { "name": "ajthinking/archetype", @@ -7967,16 +7967,16 @@ "packages-dev": [ { "name": "barryvdh/laravel-debugbar", - "version": "v3.16.1", + "version": "v3.16.3", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "21b2c6fce05453efd4bceb34f9fddaa1cdb44090" + "reference": "c91e57ea113edd6526f5b8cd6b1c6ee02c67b28e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/21b2c6fce05453efd4bceb34f9fddaa1cdb44090", - "reference": "21b2c6fce05453efd4bceb34f9fddaa1cdb44090", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/c91e57ea113edd6526f5b8cd6b1c6ee02c67b28e", + "reference": "c91e57ea113edd6526f5b8cd6b1c6ee02c67b28e", "shasum": "" }, "require": { @@ -7985,7 +7985,7 @@ "illuminate/support": "^10|^11|^12", "php": "^8.1", "php-debugbar/php-debugbar": "^2.2.4", - "symfony/finder": "^6|^7" + "symfony/finder": "^6|^7|^8" }, "require-dev": { "mockery/mockery": "^1.3.3", @@ -8036,7 +8036,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.16.1" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.16.3" }, "funding": [ { @@ -8048,7 +8048,7 @@ "type": "github" } ], - "time": "2025-11-19T08:31:25+00:00" + "time": "2025-12-23T17:37:00+00:00" }, { "name": "fakerphp/faker", @@ -10722,7 +10722,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.2" + "php": "^8.1" }, "platform-dev": {}, "plugin-api-version": "2.9.0" diff --git a/config/statamic/assets.php b/config/statamic/assets.php index 6d1967e..19f720c 100644 --- a/config/statamic/assets.php +++ b/config/statamic/assets.php @@ -221,7 +221,7 @@ return [ | */ - 'svg_sanitization_on_upload' => true, + 'svg_sanitization_on_upload' => false, /* |-------------------------------------------------------------------------- diff --git a/content/collections/pages/home.md b/content/collections/pages/home.md index aca2e9d..21a3a02 100644 --- a/content/collections/pages/home.md +++ b/content/collections/pages/home.md @@ -1,16 +1,10 @@ --- -title: Home id: home -template: home blueprint: pages +title: Home +template: home +author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 +updated_by: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 +updated_at: 1767641964 --- -## Welcome to your brand new Statamic site! - -Not sure what to do next? Here are a few ideas, but feel free to explore in your own way, in your own time. - -- [Jump into the Control Panel](/cp) and edit this page or begin setting up your own collections and blueprints. -- [Head to the docs](https://statamic.dev) and learn how Statamic works. -- [Watch some Statamic videos](https://youtube.com/statamic) on YouTube. -- [Join our Discord chat](https://statamic.com/discord) and meet thousands of other Statamic developers. -- [Start a discussion](https://github.com/statamic/cms/discussions) and get answers to your questions. -- [Star Statamic on Github](https://github.com/statamic/cms) if you enjoy using it! +## HFS SUMMER 2026 \ No newline at end of file diff --git a/content/collections/prices.yaml b/content/collections/prices.yaml new file mode 100644 index 0000000..fbca64e --- /dev/null +++ b/content/collections/prices.yaml @@ -0,0 +1,13 @@ +title: Prices +template: default +layout: layout +revisions: false +sort_dir: asc +date_behavior: + past: public + future: private +preview_targets: + - + label: Entry + url: '{permalink}' + refresh: true diff --git a/content/collections/sponsors.yaml b/content/collections/sponsors.yaml new file mode 100644 index 0000000..f132b6d --- /dev/null +++ b/content/collections/sponsors.yaml @@ -0,0 +1,5 @@ +title: Sponsors +revisions: false +date_behavior: + past: public + future: private diff --git a/content/collections/tournaments.yaml b/content/collections/tournaments.yaml new file mode 100644 index 0000000..4ea2157 --- /dev/null +++ b/content/collections/tournaments.yaml @@ -0,0 +1,14 @@ +title: Tournaments +template: tournaments/show +layout: layout +revisions: false +route: '/tournament/{slug}' +sort_dir: asc +date_behavior: + past: public + future: private +preview_targets: + - + label: Entry + url: '{permalink}' + refresh: true diff --git a/content/collections/tournaments/hado-1.md b/content/collections/tournaments/hado-1.md new file mode 100644 index 0000000..07dacf3 --- /dev/null +++ b/content/collections/tournaments/hado-1.md @@ -0,0 +1,15 @@ +--- +id: f84919d4-1ab4-4dc7-a918-23e6a1542d16 +blueprint: tournament +title: 'Facteur X' +author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 +updated_by: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 +updated_at: 1767730026 +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 +--- +That's the FX yup. Et ca déchire. \ No newline at end of file diff --git a/content/collections/tournaments/hado.md b/content/collections/tournaments/hado.md new file mode 100644 index 0000000..5dbacba --- /dev/null +++ b/content/collections/tournaments/hado.md @@ -0,0 +1,14 @@ +--- +id: 8bd8dafe-19f4-4a20-a72f-46cb0b6ac245 +blueprint: tournament +title: Hado +author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 +updated_by: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 +updated_at: 1767728408 +logo: hado_logo.png +type: stier +backdrop: image_2026-01-06_202805491.png +start: '2026-01-06 14:00' +end: '2026-01-06 17:00' +--- +That's the hado yup. Et ca déchire. \ No newline at end of file diff --git a/content/globals/hfs.yaml b/content/globals/hfs.yaml new file mode 100644 index 0000000..27a7ae5 --- /dev/null +++ b/content/globals/hfs.yaml @@ -0,0 +1,3 @@ +title: hfs +data: + logo: logo_black.svg diff --git a/public/assets/.meta/hado_logo.png.yaml b/public/assets/.meta/hado_logo.png.yaml new file mode 100644 index 0000000..d3dffc8 --- /dev/null +++ b/public/assets/.meta/hado_logo.png.yaml @@ -0,0 +1,7 @@ +data: { } +size: 71304 +last_modified: 1767643396 +width: 800 +height: 612 +mime_type: image/png +duration: null diff --git a/public/assets/.meta/image_2026-01-06_202805491.png.yaml b/public/assets/.meta/image_2026-01-06_202805491.png.yaml new file mode 100644 index 0000000..925e5ce --- /dev/null +++ b/public/assets/.meta/image_2026-01-06_202805491.png.yaml @@ -0,0 +1,7 @@ +data: { } +size: 1160813 +last_modified: 1767727685 +width: 694 +height: 960 +mime_type: image/png +duration: null diff --git a/public/assets/.meta/image_2026-01-06_210603982.png.yaml b/public/assets/.meta/image_2026-01-06_210603982.png.yaml new file mode 100644 index 0000000..4654c9a --- /dev/null +++ b/public/assets/.meta/image_2026-01-06_210603982.png.yaml @@ -0,0 +1,7 @@ +data: { } +size: 103259 +last_modified: 1767729964 +width: 368 +height: 354 +mime_type: image/png +duration: null diff --git a/public/assets/.meta/image_2026-01-06_210653383.png.yaml b/public/assets/.meta/image_2026-01-06_210653383.png.yaml new file mode 100644 index 0000000..d34de8a --- /dev/null +++ b/public/assets/.meta/image_2026-01-06_210653383.png.yaml @@ -0,0 +1,7 @@ +data: { } +size: 3714632 +last_modified: 1767730013 +width: 1920 +height: 1080 +mime_type: image/png +duration: null diff --git a/public/assets/.meta/logo_black.svg.yaml b/public/assets/.meta/logo_black.svg.yaml new file mode 100644 index 0000000..66d2a80 --- /dev/null +++ b/public/assets/.meta/logo_black.svg.yaml @@ -0,0 +1,7 @@ +data: { } +size: 369010 +last_modified: 1767644691 +width: '5249' +height: '1799' +mime_type: image/svg+xml +duration: null diff --git a/public/assets/hado_logo.png b/public/assets/hado_logo.png new file mode 100644 index 0000000..163137c Binary files /dev/null and b/public/assets/hado_logo.png differ diff --git a/public/assets/image_2026-01-06_202805491.png b/public/assets/image_2026-01-06_202805491.png new file mode 100644 index 0000000..bcaec53 Binary files /dev/null and b/public/assets/image_2026-01-06_202805491.png differ diff --git a/public/assets/image_2026-01-06_210603982.png b/public/assets/image_2026-01-06_210603982.png new file mode 100644 index 0000000..ee78149 Binary files /dev/null and b/public/assets/image_2026-01-06_210603982.png differ diff --git a/public/assets/image_2026-01-06_210653383.png b/public/assets/image_2026-01-06_210653383.png new file mode 100644 index 0000000..e93a3b5 Binary files /dev/null and b/public/assets/image_2026-01-06_210653383.png differ diff --git a/public/assets/logo_black.svg b/public/assets/logo_black.svg new file mode 100644 index 0000000..4ed51b3 --- /dev/null +++ b/public/assets/logo_black.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/blueprints/collections/tournaments/tournament.yaml b/resources/blueprints/collections/tournaments/tournament.yaml new file mode 100644 index 0000000..3358d3c --- /dev/null +++ b/resources/blueprints/collections/tournaments/tournament.yaml @@ -0,0 +1,108 @@ +title: Tournament +tabs: + main: + display: Main + sections: + - + display: 'Infos de base' + fields: + - + handle: title + field: + type: text + required: true + validate: + - required + - + handle: type + field: + options: + - + key: stier + value: Tier-S + - + key: atier + value: Tier-A + - + key: rythm + value: 'Rythm Tier' + - + key: family + value: 'Family Tier' + max_items: 1 + type: select + display: type + instructions: 'Type de tournoi' + - + handle: content + field: + type: markdown + display: Description + localizable: true + sortable: false + - + handle: logo + field: + max_files: 1 + container: assets + type: assets + display: Logo + instructions: 'Transparent tournament logo' + mode: grid + - + handle: backdrop + field: + max_files: 1 + container: assets + type: assets + display: Backdrop + instructions: 'Image du jeu' + sortable: false + - + handle: template + field: + type: template + display: Template + localizable: true + - + handle: video + field: + type: video + display: video + instructions: 'Video du tournoi' + sortable: false + - + display: 'Dates and place' + fields: + - + handle: qualif_start + 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' + sidebar: + display: Sidebar + sections: + - + fields: + - + handle: slug + field: + type: slug + localizable: true + validate: 'max:200' diff --git a/resources/blueprints/globals/hfs.yaml b/resources/blueprints/globals/hfs.yaml new file mode 100644 index 0000000..7f82bbf --- /dev/null +++ b/resources/blueprints/globals/hfs.yaml @@ -0,0 +1,13 @@ +tabs: + main: + display: Main + sections: + - + fields: + - + handle: logo + field: + max_files: 1 + container: assets + type: assets + display: Logo diff --git a/resources/views/home.antlers.html b/resources/views/home.antlers.html index dcfa716..ca5cff2 100644 --- a/resources/views/home.antlers.html +++ b/resources/views/home.antlers.html @@ -1,17 +1,22 @@ - - - + +
+ +
+
{{ content | widont }}
+
+

Tournaments

+
+ {{ collection:tournaments type:is="stier" }} + + {{ title }} + {{ date }} + title + + {{ /collection:tournaments }} +
+
diff --git a/resources/views/layout.antlers.html b/resources/views/layout.antlers.html index 4b32651..e8e623d 100644 --- a/resources/views/layout.antlers.html +++ b/resources/views/layout.antlers.html @@ -5,9 +5,15 @@ {{ title ?? site:name }} - {{ vite src="resources/js/site.js|resources/css/site.css" }} + + +
{{ template_content }}
diff --git a/resources/views/tournaments/index.antlers.html b/resources/views/tournaments/index.antlers.html new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/tournaments/show.antlers.html b/resources/views/tournaments/show.antlers.html new file mode 100644 index 0000000..d5bf5b5 --- /dev/null +++ b/resources/views/tournaments/show.antlers.html @@ -0,0 +1,33 @@ +
+ +

{{ title }}

+ + + +
+ {{ type:label }} Tournament • {{ start }} +
+ {{ logo:alt }} +
+
+
+
+

Debut des qualifications

+

{{ qualifs }}

+
+
+

Debut

+

{{ start }}

+
+
+

Fin

+

{{ end }}

+
+
+
+ + + +
+ {{ content }} +
diff --git a/users/karkinge@gmail.com.yaml b/users/karkinge@gmail.com.yaml deleted file mode 100644 index a556653..0000000 --- a/users/karkinge@gmail.com.yaml +++ /dev/null @@ -1,3 +0,0 @@ -super: true -id: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152 -password_hash: $2y$12$pwAXK4qpIxRa61S.jxpaZeEs4Ldbf6vaJTheTfJTFjbu81Ky/H2ua diff --git a/users/summercms@hfsplay.fr.yaml b/users/summercms@hfsplay.fr.yaml new file mode 100644 index 0000000..e683190 --- /dev/null +++ b/users/summercms@hfsplay.fr.yaml @@ -0,0 +1,4 @@ +name: 'Summer CMS' +super: true +id: cf207a21-df92-4f9c-b7c7-897476d8f464 +password_hash: $2y$12$4RaXU/OASGriMWgxdr913.xgd71kVjblelgknqss6imjJxwY5XQUO