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

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>