improve home

This commit is contained in:
isUnknown 2024-12-01 12:37:11 +01:00
parent 8e09bceb02
commit 4c5b7677d7
4 changed files with 20 additions and 12 deletions

View file

@ -3,15 +3,9 @@
<li
id="subscribe-btn-wrapper"
>
<button id="subscribe-btn" class="plus">
<a id="subscribe-btn" class="plus">
s'inscrire
</button>
<form id="subscribe-form" class="hidden">
<label for="email">
<input type="email" name="email" id="email" placeholder="votre e-mail">
<button type="submit" onclick="subscribe(event)"></button>
</label>
</form>
</a>
</li>
<li>
<a href="<?= $site->find('a-propos')->url() ?>">

View file

@ -36,7 +36,7 @@ $entryTopPos = $entryTopPos ?? 20;
</head>
<body class="background-grid <?= e($page->fullWidth() == 'true', 'full-width') ?>" data-template="<?= $page->template() ?>" >
<header id="main-header">
<a id="logo" href="<?= $site->url() ?>" class="no-underline" title="aller à l'accueil">
<a id="logo" href="<?= e($page->isHomePage(), '#main-edito', $site->url()) ?>" class="no-underline" title="<?= e($page->isHomePage(), 'lire l\'éditorial', 'aller à l\'accueil') ?>">
<h1>
<span id="actuel">actuel</span>
<span id="inactuel">inactuel</span>

View file

@ -6,14 +6,14 @@
<?php slot('title') ?>
<a
href="#main-edito"
class="no-underline"
class="no-underline home-baseline"
title="lire l'éditorial"
>
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle()->inline() ?></h2>
</a>
<a href="#main-edito" class="no-underline" title="lire l'éditorial">
<a href="#main-edito" class="main-edito-btn | no-underline" title="lire l'éditorial">
<p
class="main-edito-btn | toggle-btn toggle-btn--left"
class="oggle-btn toggle-btn--left"
>éditorial</p>
</a>
<button class="plus open-nav" title="ouvrir la navigation">textes</button>