This commit is contained in:
2026-01-14 22:53:46 +01:00
parent 618cc0f799
commit 76a27dd920
29 changed files with 320 additions and 78 deletions

View File

@ -1,43 +1,25 @@
<p align="center"><img src="https://statamic.com/assets/branding/Statamic-Logo+Wordmark-Rad.svg" width="400" alt="Statamic Logo" /></p>
# 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`

View File

@ -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",

18
composer.lock generated
View File

@ -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"

View File

@ -221,7 +221,7 @@ return [
|
*/
'svg_sanitization_on_upload' => true,
'svg_sanitization_on_upload' => false,
/*
|--------------------------------------------------------------------------

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,5 @@
title: Sponsors
revisions: false
date_behavior:
past: public
future: private

View File

@ -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

View File

@ -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.

View File

@ -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.

3
content/globals/hfs.yaml Normal file
View File

@ -0,0 +1,3 @@
title: hfs
data:
logo: logo_black.svg

View File

@ -0,0 +1,7 @@
data: { }
size: 71304
last_modified: 1767643396
width: 800
height: 612
mime_type: image/png
duration: null

View File

@ -0,0 +1,7 @@
data: { }
size: 1160813
last_modified: 1767727685
width: 694
height: 960
mime_type: image/png
duration: null

View File

@ -0,0 +1,7 @@
data: { }
size: 103259
last_modified: 1767729964
width: 368
height: 354
mime_type: image/png
duration: null

View File

@ -0,0 +1,7 @@
data: { }
size: 3714632
last_modified: 1767730013
width: 1920
height: 1080
mime_type: image/png
duration: null

View File

@ -0,0 +1,7 @@
data: { }
size: 369010
last_modified: 1767644691
width: '5249'
height: '1799'
mime_type: image/svg+xml
duration: null

BIN
public/assets/hado_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 360 KiB

View File

@ -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'

View File

@ -0,0 +1,13 @@
tabs:
main:
display: Main
sections:
-
fields:
-
handle: logo
field:
max_files: 1
container: assets
type: assets
display: Logo

File diff suppressed because one or more lines are too long

View File

@ -5,9 +5,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title ?? site:name }}</title>
{{ vite src="resources/js/site.js|resources/css/site.css" }}
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-slate-100 dark:bg-gray-800 font-sans leading-normal text-slate-800 dark:text-gray-400">
<nav class="bg-black text-xs uppercase text-green-500 text-center flex items-center justify-center space-x-4">
{{ nav:collection:pages include_home="true" }}
<a href="{{ url }}" class="p-2 block hover:text-yellow-200">{{ title }}</a>
{{ /nav:collection:pages }}
</nav>
<div class="mx-auto px-2 lg:min-h-screen flex flex-col items-center justify-center">
{{ template_content }}
</div>

View File

@ -0,0 +1,33 @@
<section style="background-image: url('{{ backdrop }}');" class="bg-cover bg-center">
<h1 class="text-3xl bg-yellow-400 text-center text-yellow-900 font-bold mt-6 p-6">{{ title }}</h1>
<div class="border text-center text-yellow-600 border-yellow-400 mt-8 p-3 text-xs uppercase">
{{ type:label }} Tournament &bull; {{ start }}
</div>
<img src="{{ logo }}" class="border-2 border-yellow-400 p-1" alt="{{ logo:alt }}" />
</section>
<section class="infos">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-8 text-sm text-yellow-400">
<div class="border border-yellow-400 p-4">
<h2 class="font-bold mb-2">Debut des qualifications</h2>
<p>{{ qualifs }}</p>
</div>
<div class="border border-yellow-400 p-4">
<h2 class="font-bold mb-2">Debut</h2>
<p>{{ start }}</p>
</div>
<div class="border border-yellow-400 p-4">
<h2 class="font-bold mb-2">Fin</h2>
<p>{{ end }}</p>
</div>
</div>
</section>
<article class="space-y-4 mt-8 text-sm text-yellow-400 leading-loose">
{{ content }}
</article>

View File

@ -1,3 +0,0 @@
super: true
id: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152
password_hash: $2y$12$pwAXK4qpIxRa61S.jxpaZeEs4Ldbf6vaJTheTfJTFjbu81Ky/H2ua

View File

@ -0,0 +1,4 @@
name: 'Summer CMS'
super: true
id: cf207a21-df92-4f9c-b7c7-897476d8f464
password_hash: $2y$12$4RaXU/OASGriMWgxdr913.xgd71kVjblelgknqss6imjJxwY5XQUO