2025-10-07 16:21:26 +02:00
|
|
|
|
<?php snippet('header') ?>
|
2026-01-06 11:19:25 +01:00
|
|
|
|
<main>
|
2026-01-13 12:13:02 +01:00
|
|
|
|
|
2026-01-27 22:24:47 +01:00
|
|
|
|
<section class="section--home" id="home__hero">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section--inner">
|
|
|
|
|
|
<p class="baseline">Index est une ONG d’investigation numérique, au service du public, de la vérité et de la justice.</p>
|
2026-01-13 12:13:02 +01:00
|
|
|
|
|
2026-01-22 16:42:01 +01:00
|
|
|
|
<button class="btn--bold-inline">
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<a href="#">
|
|
|
|
|
|
<span class="text">En savoir plus</span>
|
|
|
|
|
|
<span class="icon"><?= svg('assets/icons/arrow-left.svg') ?></span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</button>
|
2026-01-27 22:24:47 +01:00
|
|
|
|
|
|
|
|
|
|
</div>
|
2026-01-13 12:13:02 +01:00
|
|
|
|
</section>
|
|
|
|
|
|
|
2026-01-27 19:09:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
2026-01-13 12:18:22 +01:00
|
|
|
|
<section class="section--home" id="home__investigations">
|
2026-01-13 12:13:02 +01:00
|
|
|
|
<div class="section--inner">
|
|
|
|
|
|
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<div class="col-left">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php $investigationsPage = site()->find('enquetes'); ?>
|
|
|
|
|
|
<h2 class="title-section"><?= $investigationsPage ? $investigationsPage->title() : 'Enquêtes' ?></h2>
|
|
|
|
|
|
<?php if ($investigationsPage && $investigationsPage->chapo()->isNotEmpty()): ?>
|
2026-01-27 21:28:14 +01:00
|
|
|
|
<p class="description-section">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?= $investigationsPage->chapo() ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
</p>
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php endif ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<button class="btn--bold-inline">
|
|
|
|
|
|
<a href="/enquetes">
|
|
|
|
|
|
<span class="text">Voir les enquêtes</span>
|
|
|
|
|
|
<span class="icon"><?= svg('assets/icons/arrow-left.svg') ?></span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-right">
|
|
|
|
|
|
|
2026-01-27 19:58:53 +01:00
|
|
|
|
<div class="home-investigations-slider swiper">
|
|
|
|
|
|
<div class="swiper-wrapper">
|
2026-01-27 19:09:56 +01:00
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
$latestInvestigations = site()->find('enquetes')->children()->listed()->sortBy('created', 'desc')->limit(3);
|
|
|
|
|
|
foreach ($latestInvestigations as $investigation):
|
|
|
|
|
|
?>
|
2026-01-27 19:58:53 +01:00
|
|
|
|
|
|
|
|
|
|
<div class="swiper-slide">
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<article class="card--article">
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($cover = $investigation->cover()->toFile()): ?>
|
|
|
|
|
|
<figure>
|
|
|
|
|
|
<img src="<?= $cover->url() ?>" alt="<?= $investigation->title()->esc() ?>">
|
|
|
|
|
|
</figure>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="title"><a href="<?= $investigation->url() ?>"><?= $investigation->title()->esc() ?></a></h4>
|
|
|
|
|
|
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php if ($investigation->chapo()->isNotEmpty()): ?>
|
|
|
|
|
|
<p class="description"><?= $investigation->chapo()->excerpt(200) ?></p>
|
|
|
|
|
|
<?php endif ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<time class="time-alone" datetime="<?= $investigation->incidentDate()->toDate('yyyy-MM-dd') ?>"><?= $investigation->incidentDate()->toDate('d MMMM yyyy', 'fr_FR') ?></time>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($keywords = $investigation->keywords()->split()): ?>
|
|
|
|
|
|
<div class="keywords-wrapper">
|
|
|
|
|
|
<ul class="keywords">
|
|
|
|
|
|
<?php foreach ($keywords as $keyword): ?>
|
|
|
|
|
|
<li><a href="#keyword" target="_blank"><?= esc($keyword) ?></a></li>
|
|
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($investigation->pinned()->toBool()): ?>
|
|
|
|
|
|
<div class="pin"><?= svg('assets/icons/pin.svg') ?></div>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<a class="link-block" href="<?= $investigation->url() ?>"></a>
|
|
|
|
|
|
</article>
|
2026-01-27 19:58:53 +01:00
|
|
|
|
</div>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
|
|
2026-01-27 19:58:53 +01:00
|
|
|
|
</div> <!-- swiper-wrapper -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Navigation buttons -->
|
|
|
|
|
|
<div class="swiper-button-prev"></div>
|
|
|
|
|
|
<div class="swiper-button-next"></div>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
|
2026-01-27 19:58:53 +01:00
|
|
|
|
<!-- Pagination -->
|
|
|
|
|
|
<div class="swiper-pagination"></div>
|
|
|
|
|
|
</div> <!-- home-investigations-slider -->
|
2026-01-27 19:09:56 +01:00
|
|
|
|
|
|
|
|
|
|
</div> <!-- col-right-->
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="section--home" id="home__impacts">
|
|
|
|
|
|
<div class="section--inner">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-left">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php $impactsPage = site()->find('impacts'); ?>
|
|
|
|
|
|
<h2 class="title-section"><?= $impactsPage ? $impactsPage->title() : 'Impacts' ?></h2>
|
|
|
|
|
|
<?php if ($impactsPage && $impactsPage->chapo()->isNotEmpty()): ?>
|
2026-01-27 21:28:14 +01:00
|
|
|
|
<p class="description-section">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?= $impactsPage->chapo() ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
</p>
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php endif ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<button class="btn--bold-inline">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<a href="/impacts">
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<span class="text">Voir les impacts</span>
|
|
|
|
|
|
<span class="icon"><?= svg('assets/icons/arrow-left.svg') ?></span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-right">
|
2026-01-27 19:58:53 +01:00
|
|
|
|
|
|
|
|
|
|
<!-- Contenu statique temporaire - sera dynamique quand les pages impacts seront créées -->
|
|
|
|
|
|
<div class="card--impact" data-impact-type="media">
|
|
|
|
|
|
<p class="tag">Médiatique</p>
|
|
|
|
|
|
<div class="content">
|
|
|
|
|
|
<p>12 articles et reprises</p>
|
|
|
|
|
|
<p>1.5M de vues cumulées</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<details class="open-graph__details">
|
|
|
|
|
|
<summary><p class="summary-inner">Détails <span class="arrow-details"><?= svg('assets/icons/arrow-details.svg') ?></span><p></summary>
|
|
|
|
|
|
<div class="open-graph__inner">
|
|
|
|
|
|
<?php snippet('card-open-graph') ?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</details>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="card--impact" data-impact-type="judiciaire">
|
|
|
|
|
|
<p class="tag">Judiciaire</p>
|
|
|
|
|
|
<p class="date">12 Dec 2025</p>
|
|
|
|
|
|
<div class="content">
|
|
|
|
|
|
<p >La justice israélienne déclare ouvrir une enquête sur "les circonstances de la mort de Nidal et Khaled Amirah".
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="card--impact" data-impact-type="judiciaire">
|
|
|
|
|
|
<p class="tag">Judiciaire</p>
|
|
|
|
|
|
<p class="date">12 Dec 2025</p>
|
|
|
|
|
|
<div class="content">
|
|
|
|
|
|
<p >La justice israélienne déclare ouvrir une enquête sur "les circonstances de la mort de Nidal et Khaled Amirah"
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><!-- col-right -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
</section>
|
|
|
|
|
|
|
2026-01-27 19:58:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<section class="section--home" id="home__folders">
|
|
|
|
|
|
<div class="section--inner">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-left">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php $foldersPage = site()->find('dossiers'); ?>
|
|
|
|
|
|
<h2 class="title-section"><?= $foldersPage ? $foldersPage->title() : 'Dossiers' ?></h2>
|
|
|
|
|
|
<?php if ($foldersPage && $foldersPage->chapo()->isNotEmpty()): ?>
|
2026-01-27 21:28:14 +01:00
|
|
|
|
<p class="description-section">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?= $foldersPage->chapo() ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
</p>
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<?php endif ?>
|
2026-01-27 19:09:56 +01:00
|
|
|
|
<button class="btn--bold-inline">
|
|
|
|
|
|
<a href="/dossiers">
|
|
|
|
|
|
<span class="text">Voir les dossiers</span>
|
|
|
|
|
|
<span class="icon"><?= svg('assets/icons/arrow-left.svg') ?></span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-right">
|
2026-01-27 19:58:53 +01:00
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
$latestFolders = site()->find('dossiers') ? site()->find('dossiers')->children()->listed()->sortBy('created', 'desc')->limit(2) : [];
|
|
|
|
|
|
if (count($latestFolders) > 0):
|
|
|
|
|
|
foreach ($latestFolders as $folder):
|
|
|
|
|
|
?>
|
|
|
|
|
|
<article class="card--folder">
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($cover = $folder->cover()->toFile()): ?>
|
|
|
|
|
|
<figure>
|
|
|
|
|
|
<img src="<?= $cover->url() ?>" alt="<?= $folder->title()->esc() ?>">
|
|
|
|
|
|
</figure>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="content">
|
2026-01-27 23:06:29 +01:00
|
|
|
|
<h4 class="title"><a href="<?= $folder->url() ?>"><span class="icon"><?= svg('assets/icons/folder.svg') ?></span><?= $folder->title()->esc() ?></a></h4>
|
2026-01-27 19:58:53 +01:00
|
|
|
|
|
|
|
|
|
|
<?php if ($folder->description()->isNotEmpty()): ?>
|
|
|
|
|
|
<p class="short"><?= $folder->description()->excerpt(200) ?></p>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
// Compter les enquêtes associées à ce dossier
|
|
|
|
|
|
$investigationsCount = site()->find('enquetes')->children()->listed()->filter(function($investigation) use ($folder) {
|
|
|
|
|
|
return $investigation->folder()->value() === $folder->slug();
|
|
|
|
|
|
})->count();
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
<?php if ($investigationsCount > 0): ?>
|
|
|
|
|
|
<li><?= $investigationsCount ?> enquête<?= $investigationsCount > 1 ? 's' : '' ?></li>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
<li>8 impacts</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<button class="btn--go-to"><a href="<?= $folder->url() ?>" target="_blank"><?= svg('assets/icons/arrow-left.svg') ?></a></button>
|
|
|
|
|
|
<a class="link-block" href="<?= $folder->url() ?>"></a>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
</div> <!-- col-right -->
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2026-01-13 12:13:02 +01:00
|
|
|
|
</section>
|
|
|
|
|
|
|
2026-01-27 19:58:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
2026-01-06 11:19:25 +01:00
|
|
|
|
</main>
|
2025-10-07 16:21:26 +02:00
|
|
|
|
<?php snippet('footer') ?>
|