prepare subscription page

This commit is contained in:
isUnknown 2024-12-01 12:55:24 +01:00
parent 4c5b7677d7
commit 1b62fa7589
10 changed files with 77 additions and 61 deletions

View file

@ -0,0 +1,19 @@
<?php snippet('header') ?>
<main id="<?= $page->template() ?>">
<article>
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
<?php slot('title') ?>
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
<?= $page->body() ?>
<form id="subscribe-form">
<label for="email">
<input type="email" name="email" id="email" placeholder="votre e-mail">
<button type="submit" onclick="subscribe(event)"></button>
</label>
</form>
<?php endslot() ?>
<?php endsnippet() ?>
</article>
</main>
<?php snippet('footer') ?>