adjust sectioned style
This commit is contained in:
parent
fe7f31a112
commit
4aeeb3a4e4
5 changed files with 18 additions and 8 deletions
|
|
@ -20,9 +20,6 @@ fields:
|
|||
default: "h2"
|
||||
labels: false
|
||||
options:
|
||||
- value: h2
|
||||
icon: h2
|
||||
text: H2
|
||||
- value: h3
|
||||
icon: h3
|
||||
text: H3
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
</li>
|
||||
</template>
|
||||
</ul>
|
||||
<button class="calendar-strip__calendar-btn">calendrier</button>
|
||||
<a href="<?= page('programme')->url() ?>" class="calendar-strip__calendar-btn">calendrier</a>
|
||||
<div class="calendar-strip__date" :class="open ? 'open' : ''">
|
||||
<ul class="sessions sessions--detailed">
|
||||
<template x-for="session in targetSessions">
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
<ul>
|
||||
<?php foreach($category->children() as $subcategory): ?>
|
||||
<?php if ($subcategory->isIndexed() == 'true'): ?>
|
||||
<li><a class="expanded-nav__subcategory" href="<?= $subcategory->url() ?>"><?= $subcategory->title() ?></a></li>
|
||||
<li><a class="expanded-nav__subcategory" href="<?= $category->url() . '/#' . $subcategory->slug() ?>"><?= $subcategory->title() ?></a></li>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
</section>
|
||||
|
||||
<?php foreach($page->children() as $sectionPage): ?>
|
||||
<section>
|
||||
<section id="<?= $sectionPage->slug() ?>">
|
||||
<?php if ($sectionPage->isIndexed() != 'false'): ?>
|
||||
<h2 class="h3"><?= $sectionPage->title() ?></h2>
|
||||
<?php endif ?>
|
||||
<?php foreach ($sectionPage->section()->toLayouts() as $layout): ?>
|
||||
<div class="grid" id="<?= $layout->id() ?>">
|
||||
<div class="section__row grid" id="<?= $layout->id() ?>">
|
||||
<?php foreach ($layout->columns() as $column): ?>
|
||||
<div class="grid__item" style="--span:<?= $column->span() ?>">
|
||||
<div class="blocks">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue