modifs version web, demande alexandre
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
This commit is contained in:
parent
0eb6152db1
commit
87c08bc529
2 changed files with 32 additions and 26 deletions
|
|
@ -146,8 +146,8 @@ foreach ($subpages as $subpage) {
|
|||
───────────────────────────────────────── -->
|
||||
<?php if ($tpl === 'map'): ?>
|
||||
<section class="nw-section nw-section--map" id="section-<?= $subpage->uid() ?>">
|
||||
<div class="nw-section--map__wrapper">
|
||||
<div class="nw-container nw-section__header__wrapper">
|
||||
<div class="nw-section--map__wrapper nw-container">
|
||||
<!-- <div class="nw-container nw-section__header__wrapper"> -->
|
||||
<header class="nw-section__header">
|
||||
<h2 class="nw-section__title"><?= html($subpage->title()) ?></h2>
|
||||
<?php if ($subpage->tags()->isNotEmpty()): ?>
|
||||
|
|
@ -158,22 +158,16 @@ foreach ($subpages as $subpage) {
|
|||
</div>
|
||||
<?php endif ?>
|
||||
</header>
|
||||
|
||||
<?php if ($subpage->intro()->isNotEmpty()): ?>
|
||||
<div class="nw-prose"><?= $subpage->intro() ?></div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
<!-- Carte MapLibre inline -->
|
||||
<?php
|
||||
$markers = $subpage->children()->listed()->filterBy('intendedTemplate', 'marker');
|
||||
$mapId = 'map-' . $subpage->uid();
|
||||
?>
|
||||
<div class="nw-map-part">
|
||||
<div class="nw-map-wrap">
|
||||
<div id="<?= $mapId ?>" class="nw-map"></div>
|
||||
</div>
|
||||
<!-- Fichiers de la carte -->
|
||||
<!-- Carte MapLibre inline -->
|
||||
<?php
|
||||
$markers = $subpage->children()->listed()->filterBy('intendedTemplate', 'marker');
|
||||
$mapId = 'map-' . $subpage->uid();
|
||||
?>
|
||||
<div class="nw-map-part">
|
||||
<div class="nw-map-wrap">
|
||||
<div id="<?= $mapId ?>" class="nw-map"></div>
|
||||
</div>
|
||||
<!-- Fichiers de la carte -->
|
||||
<?php if ($subpage->files()->isNotEmpty()): ?>
|
||||
<div class="nw-files">
|
||||
<?php foreach ($subpage->files() as $file): ?>
|
||||
|
|
@ -185,8 +179,13 @@ foreach ($subpages as $subpage) {
|
|||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($subpage->intro()->isNotEmpty()): ?>
|
||||
<div class="nw-prose"><?= $subpage->intro() ?></div>
|
||||
<?php endif ?>
|
||||
<!-- </div> -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ── Liste des marqueurs sous la carte ── -->
|
||||
<?php if ($markers->isNotEmpty()): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue