harmonize header page
All checks were successful
Deploy / Deploy to Production (push) Successful in 10s
All checks were successful
Deploy / Deploy to Production (push) Successful in 10s
This commit is contained in:
parent
849b506c50
commit
e6f62a62df
22 changed files with 302 additions and 229 deletions
|
|
@ -1,12 +1,13 @@
|
|||
|
||||
<?php snippet('header') ?>
|
||||
<main>
|
||||
|
||||
<header class="page__header">
|
||||
<p class="tag-inline">Dossier</p>
|
||||
<p class="page__type">Dossier</p>
|
||||
<h2 class="page__title"><?= $page->title() ?></h2>
|
||||
|
||||
<?php if ($page->description()->isNotEmpty()): ?>
|
||||
<div class="page__description">
|
||||
<div class="description">
|
||||
<p><?= $page->description() ?></p>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
@ -20,7 +21,7 @@ $investigations = site()->find('enquetes')->children()->listed()->filter(functio
|
|||
?>
|
||||
|
||||
<?php if ($investigations->isNotEmpty()): ?>
|
||||
<section id="container-cards">
|
||||
<section class="container-cards">
|
||||
|
||||
<?php foreach ($investigations as $investigation): ?>
|
||||
<article class="card--article">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue