save broken

This commit is contained in:
isUnknown 2024-03-10 19:24:24 +01:00
parent 94d404288f
commit f04e9a66fb
17 changed files with 184 additions and 81 deletions

View file

@ -1,25 +1,20 @@
<?php snippet('header'); ?>
<header id="header" class="minimized">
<div id="logo" >
<a href="/" class="no-line">
<h2 id="actuel">actuel</h2>
<h2 id="inactuel">inactuel</h2>
</a>
</div>
</header>
<main id="<?= $page->template() ?>">
<article>
<div class="article-header">
<h1 class="main-title title-center <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h1>
<p></p>
</div>
<?php snippet('tabs', [
'left' => [
'label' => 'Présentation',
'content' => $page->presentation()
],
'authorFilter' => $page->author()
]) ?>
<?php snippet('cover', slots: true) ?>
<?php slot('title') ?>
<h1 class="main-title title-center <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h1>
<?php endslot() ?>
<?php slot('tabs') ?>
<?php snippet('tabs', [
'left' => [
'label' => 'Présentation',
'content' => $page->presentation()
],
'authorFilter' => $page->author()
]) ?>
<?php endslot() ?>
<?php endsnippet() ?>
</article>
</main>