This commit is contained in:
antonin gallon 2026-02-16 11:23:12 +01:00
commit e82ad2f4a8
78 changed files with 3918 additions and 6986 deletions

View file

@ -22,6 +22,8 @@ $entryTopPos ??= 20;
</script>
<script defer src="<?= url('assets/js/ragadjust.js') ?>">
</script>
<script defer src="<?= url('assets/js/light-mode.js') ?>">
</script>
<meta name="robots" content="noindex, nofollow, noarchive">
@ -62,6 +64,15 @@ $entryTopPos ??= 20;
<meta name="apple-mobile-web-app-title" content="actuel-inactuel" />
<link rel="manifest" href="/site.webmanifest" />
<!-- ICON -->
<style>
:root {
--icon-search: url("<?= url('assets/images/icons/search.svg') ?>");
--icon-close: url("<?= url('assets/images/icons/close.svg') ?>");
--icon-theme-toggler: url("<?= url('assets/images/icons/circle-half.svg') ?>");
}
</style>
<?php if ($page->additionnalCss()->isNotEmpty()): ?>
<!-- CUSTOM CSS -->
<style>
@ -74,6 +85,9 @@ $entryTopPos ??= 20;
<body
class="background-grid <?= e($page->fullWidth() == 'true', 'full-width') ?>"
data-template="<?= $page->template() ?>">
<button class="theme-toggler" data-theme-toggler>
<span class="theme-toggler-icon"></span>
</button>
<header id="main-header">
<a id="logo"
href="<?= e($page->isHomePage(), '#main-edito', $site->url()) ?>"

View file

@ -7,9 +7,7 @@
</p>
<div class="search">
<input class="search__input" type="text" placeholder="Chercher" x-model="search">
<img x-show="search.length === 0"
src="<?= url('assets/images/icons/search.svg') ?>"
class="search__icon" alt="Icône loupe indiquant le champ de recherche.">
<div class="search__icon"></div>
<button x-show="search.length > 0" @click="search = ''" class="search__icon">
<img
src="<?= url('assets/images/icons/close.svg') ?>"