Compare commits

...

2 commits

2 changed files with 146 additions and 24 deletions

View file

@ -0,0 +1,109 @@
title: Investigation
create:
fields:
- subtitle
tabs:
contentTab:
label: Contenu
icon: page
columns:
- width: 2/6
fields:
publicationDate:
label: Date de publication
type: date
display: DD / MM / YYYY
default: today
width: 1/4
- width: 4/6
fields:
subtitle:
label: Sous-titre
type: text
chapo:
label: Chapo
type: writer
nodes: false
buttons: false
cover:
label: Visuel de couverture
type: files
multiple: false
min: 1
layout: cards
size: full
image:
ratio: 12/7
cover: true
body:
label: Corps
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
- "1/3, 1/3, 1/3"
fieldsets:
- heading
- text
- image
metadataTab:
label: Métadonnées
icon: table
fields:
incidentDate:
label: Date de l'incident
type: date
display: DD / MM / YYYY
width: 1/3
incidentLocation:
label: Lieu de l'incident
type: text
width: 1/3
incidentConsequences:
label: Conséquence(s)
type: text
width: 1/3
keywords:
label: Mots-clés
type: tags
width: 1/2
partners:
label: Partenaire(s)
type: structure
width: 1/2
fields:
name:
label: Nom
type: text
link:
label: Lien
type: link
options:
- url
methodologys:
label: Méthodologie
type: entries
field:
type: text
line:
type: line
team:
label: Équipe
type: structure
columns:
responsability:
width: 1/2
names:
width: 1/2
fields:
responsability:
label: Responsabilité
type: text
width: 1/2
names:
label: Nom
type: entries
width: 1/2
field:
type: text

View file

@ -3,13 +3,13 @@
<header>
<p class="page-type">Enquête</p>
<h2>Lexécution de Nidal et Khaled Amirah à Naplouse</h2>
<h2><?= $page->title() ?></h2>
<p class="date-publish"></p>
</header>
<div id="hero" class="hero-video">
<figure>
<img src="/assets/images/Nidal-Khaled-Amirah.png">
<img src="<?= $page->image()->url() ?>">
</figure>
<figcaption>Ici la légende de limage. À partir dimages exclusives, lanalyse conjointe de BTselem et Index démontre que les deux hommes ont été abattus par des soldats israéliens alors quils ne présentaient aucun danger.</figcaption>
</div>
@ -41,50 +41,63 @@
<dl class="section__article" id="section__dl">
<div class="dl__group">
<dt>Date de lincident</dt>
<dd><time datetime="2025-06-10">10 juin 2025</time></dd>
<dt><?= $page->blueprint()->field('incidentDate')['label']?></dt>
<dd><time datetime="<?= $page->incidentDate() ?>"><?= $page->incidentDate()->toDate('d M Y') ?></time></dd>
</div>
<div class="dl__group">
<dt>Lieu de lincident</dt>
<dd>Naplouse, Cisjordanie occupée, Palestine</dd>
<dt><?= $page->blueprint()->field('incidentLocation')['label'] ?></dt>
<dd><?= $page->Incidentlocation() ?></dd>
</div>
<div class="dl__group">
<dt>Conséquences</dt>
<dd>Mort</dd>
<dt><?= $page->blueprint()->field('incidentConsequences')['label'] ?></dt>
<dd><?= $page->Incidentconsequences() ?></dd>
</div>
<div class="dl__group dl__group__keywords">
<dt>Mots-clés</dt>
<dt><?= $page->blueprint()->field('keywords')['label'] ?></dt>
<dd>
<ul class="keywords">
<li><a href="#" target="_blank">Occupation</a></li>
<li><a href="#" target="_blank">Colonialité</a></li>
<li><a href="#" target="_blank">Forces armées</a></li>
<li><a href="#" target="_blank">Colonialité</a></li>
<?php foreach ($page->Keywords()->split() as $keyword): ?>
<li><a href="#" target="_blank"><?php echo $keyword ?></a></li>
<?php endforeach; ?>
</ul>
</dd>
</div>
<div class="dl__group">
<dt>Méthodologie</dt>
<dt><?= $page->blueprint()->field('methodologys')['label'] ?></dt>
<dd>
<ul>
<li>Reconstitution 3D</li>
<li>Frame-match</li>
<li>Analyse audiovisuelle</li>
<?php foreach ($page->Methodologys()->toEntries() as $methodology): ?>
<li><?php echo $methodology ?></li>
<?php endforeach; ?>
</ul>
</dd>
</div>
<div class="dl__group">
<dt>Équipe</dt>
<dd>Nadav Joffe, Basile Trouillet, Francesco Sebregondi, Basile Trouillet, Francesco Sebregondi</dd>
<dt><?= $page->blueprint()->field('team')['label'] ?></dt>
<dd>
<?php
$namesList = [];
foreach ($page->Team()->toStructure() as $row) {
foreach ($row->names() as $names) {
foreach ($names as $name) {
$namesList[] = $name;
}
}
}
echo implode(', ', $namesList);
?>
</dd>
</div>
<div class="dl__group">
<dt>Partenaire(s)</dt>
<dd><a href="#" target="_blank">BTselem</a></dd>
<dt><?= $page->blueprint()->field('partners')['label'] ?></dt>
<dd>
<a href="#" target="_blank">BTselem</a>
</dd>
</div>
<div class="dl__group">
<dt>Date de publication</dt>
<dd><time datetime="2025-12-09">09 dec 2025</time></dd>
<dt><?= $page->blueprint()->field('publicationDate')['label'] ?></dt>
<dd><time datetime="<?= $page->Publicationdate() ?>"><?= $page->Publicationdate()->toDate('d M Y') ?></time></dd>
</div>
</dl>