Add second group card variant with h2 heading

This commit is contained in:
2026-05-28 10:43:57 +02:00
parent 5e0fa182dd
commit 4475885368
+31
View File
@@ -166,6 +166,37 @@
</article>
</div>
<p class="sg-preview-label">Variante: Group Card mit H2 Überschrift</p>
<div class="sg-group-card" data-component="group-card">
<h2>Gruppenüberschrift</h2>
<article class="sg-card" data-component="card" data-component-context="group-card">
<div class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue" data-component-part="card-header">
<div class="sg-strong">Card in Group</div>
</div>
<div class="sg-card-segment sg-card-segment--body" data-component-part="card-body">
<p class="sg-body">
Group Cards bündeln mehrere zusammengehörige Cards.
</p>
</div>
</article>
<article class="sg-card" data-component="card" data-component-context="group-card">
<div class="sg-card-segment sg-card-segment--header sg-card-segment--darkgreen" data-component-part="card-header">
<div class="sg-strong">Weitere Card</div>
</div>
<div class="sg-card-segment sg-card-segment--body" data-component-part="card-body">
<p class="sg-body">
Die Group Card enthält hier zusätzlich eine H2-Überschrift.
</p>
</div>
</article>
</div>
</section>
<!-- Component: Multisegment Card -->