fix(glossaire): expose relations heading to reading follow #303

Merged
Archicratia merged 1 commits from fix/glossaire-relations-follow-heading into main 2026-03-26 19:47:04 +00:00

View File

@@ -7,12 +7,15 @@ interface Props {
}
const { relationBlocks = [] } = Astro.props;
const relationsHeadingId = "relations-conceptuelles";
---
{relationBlocks.length > 0 && (
<section class="glossary-relations" aria-label="Relations conceptuelles">
<h2>Relations conceptuelles</h2>
<section
class="glossary-relations"
aria-labelledby={relationsHeadingId}
>
<h2 id={relationsHeadingId}>Relations conceptuelles</h2>
<div class="glossary-relations-grid">
{relationBlocks.map((block) => (
<section class={`glossary-relations-card ${block.className}`}>