This commit is contained in:
parent
70bd4f2f2c
commit
7dad587062
9 changed files with 157 additions and 120 deletions
|
|
@ -32,7 +32,7 @@
|
|||
<?php if ($page->heroType()->value() == 'image'): ?>
|
||||
<?php if ($heroImage = $page->heroImages()->toFile()): ?>
|
||||
<!-- HERO IMAGE SIMPLE -->
|
||||
<div id="summary__hero">
|
||||
<div id="investigation__hero">
|
||||
<figure>
|
||||
<img src="<?= $heroImage->url() ?>" alt="<?= $page->title()->esc() ?>">
|
||||
</figure>
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
<?php elseif ($page->heroType()->value() == 'video'): ?>
|
||||
<!-- HERO VIDEO -->
|
||||
<div id="summary__hero" class="hero-video">
|
||||
<div id="investigation__hero" class="hero-video">
|
||||
<div class="player-container">
|
||||
|
||||
<?php if ($videoPreview = $page->videoPreview()->toFile()): ?>
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
<?php endif ?>
|
||||
</dl>
|
||||
|
||||
<div class="investigation__content">
|
||||
<div id="investigation__content">
|
||||
<?php foreach ($page->body()->toLayouts() as $layout): ?>
|
||||
<?php
|
||||
$columns = $layout->columns();
|
||||
|
|
@ -282,7 +282,7 @@
|
|||
<?php endforeach ?>
|
||||
</div>
|
||||
|
||||
<div class="investigation__aside" id="aside__impacts">
|
||||
<div class="investigation__aside" id="impacts">
|
||||
<h3 class="aside__title">Impacts</h3>
|
||||
|
||||
<!-- Contenu statique temporaire - sera dynamique quand les pages impacts seront créées -->
|
||||
|
|
@ -339,7 +339,7 @@ if ($relatedInvestigations->isEmpty()) {
|
|||
|
||||
|
||||
|
||||
<aside class="investigation__aside" id="aside__package">
|
||||
<aside class="investigation__aside" id="package">
|
||||
<h3 class="aside__title">Dans le dossier</h3>
|
||||
|
||||
<article class="card--package">
|
||||
|
|
@ -379,7 +379,7 @@ if (!empty($packageSlug) && site()->find('dossiers')) {
|
|||
|
||||
if ($package):
|
||||
?>
|
||||
<aside class="investigation__aside" id="aside__package">
|
||||
<aside class="investigation__aside" id="package">
|
||||
<h3 class="aside__title">Dans le dossier</h3>
|
||||
|
||||
<article class="card--package">
|
||||
|
|
@ -425,7 +425,7 @@ if ($package):
|
|||
|
||||
|
||||
<?php if ($relatedInvestigations->isNotEmpty()): ?>
|
||||
<aside class="investigation__aside" id="aside__related-articles">
|
||||
<aside class="investigation__aside" id="related-investigations">
|
||||
<h3 class="aside__title">Voir aussi</h3>
|
||||
|
||||
<?php foreach ($relatedInvestigations as $related): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue