panel/btn mobile & scripts
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
This commit is contained in:
parent
bd97c1c33e
commit
f28680f77e
26 changed files with 506 additions and 297 deletions
|
|
@ -1,5 +1,4 @@
|
|||
<?php snippet('back-to-top') ?>
|
||||
</main>
|
||||
<?php snippet('back-to-top') ?>
|
||||
<footer id="site-footer">
|
||||
<div class="site-footer__container">
|
||||
<div class="footer__newsletter">
|
||||
|
|
|
|||
|
|
@ -65,4 +65,3 @@
|
|||
</div>
|
||||
</header>
|
||||
<?php snippet('nav') ?>
|
||||
<main>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
<?php snippet('header') ?>
|
||||
<main>
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
@ -1,2 +1,4 @@
|
|||
<?php snippet('header') ?>
|
||||
<main>
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
@ -1,10 +1,31 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
|
||||
<?php
|
||||
// Récupérer le rapport (première page enfant de type report)
|
||||
$report = $page->children()->filterBy('intendedTemplate', 'report')->first();
|
||||
?>
|
||||
|
||||
<div class="btn--group__mobile">
|
||||
<?php if ($report): ?>
|
||||
<button class="btn--bold"><a href="<?= $report->url() ?>">Lire le rapport</a></button>
|
||||
<?php endif ?>
|
||||
<div class="dropdown dropdown--position-mobile">
|
||||
<button class="dropdown__trigger btn--bold-inline no-link">
|
||||
<span class="icon"><?= svg('assets/icons/share.svg') ?></span>
|
||||
<span class="text">Partager</span>
|
||||
</button>
|
||||
<div class="dropdown__content">
|
||||
<?php snippet('modal-share') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="panel-left" id="banner--page">
|
||||
|
|
@ -335,5 +356,5 @@ if ($relatedInvestigations->isEmpty()) {
|
|||
</aside>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<main>
|
||||
|
||||
<header class="page__header">
|
||||
<h2 class="page__title"><?= $page->title() ?></h2>
|
||||
|
|
@ -111,5 +111,5 @@
|
|||
<?php endforeach ?>
|
||||
|
||||
</section>
|
||||
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,25 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<div class="btn--group__mobile">
|
||||
<button id="toggle-panel__mobile" class="btn--bold-inline no-link btn--toc">
|
||||
<span class="icon"><?= svg('assets/icons/toc.svg') ?></span>
|
||||
<span class="text">Table des matières</span>
|
||||
</button>
|
||||
<div class="dropdown dropdown--position-mobile">
|
||||
<button class="dropdown__trigger btn--bold-inline no-link">
|
||||
<span class="icon"><?= svg('assets/icons/share.svg') ?></span>
|
||||
<span class="text">Partager</span>
|
||||
</button>
|
||||
<div class="dropdown__content">
|
||||
<?php snippet('modal-share') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<button id="toggle-panel" class="btn--bold-inline no-link">
|
||||
<main>
|
||||
|
||||
<button id="toggle-panel" class="btn--bold-inline no-link btn--toc">
|
||||
<?= svg('assets/icons/toc.svg') ?>
|
||||
</button>
|
||||
|
||||
|
|
@ -267,5 +284,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
<?php snippet('header') ?>
|
||||
<main>
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue