<nav class=" breadcrumb ">
<ul class="breadcrumb__list">
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="#">Handwerker & Bauunternehmer</a>
</li>
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="#">Tiefbau</a>
</li>
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="#">Abwasser</a>
</li>
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="#">Kanalbau</a>
</li>
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="#">Kanalrohre</a>
</li>
</ul>
</nav>
{{#breadcrumbs}}
<nav class="{{mixes}} breadcrumb {{modifiers}}">
<ul class="breadcrumb__list">
{{#each links}}
<li class="breadcrumb__item">
<a class="breadcrumb__link" href="{{{link}}}">{{{title}}}</a>
</li>
{{/each}}
</ul>
</nav>
{{/breadcrumbs}}
{
"breadcrumbs": {
"links": [
{
"title": "Handwerker & Bauunternehmer",
"link": "#"
},
{
"title": "Tiefbau",
"link": "#"
},
{
"title": "Abwasser",
"link": "#"
},
{
"title": "Kanalbau",
"link": "#"
},
{
"title": "Kanalrohre",
"link": "#"
}
]
}
}
.breadcrumb {
$root: &;
$margin: map-get($grid-gutters, 'medium');
$half-margin: rem-calc($margin/2);
$quater-margin: rem-calc($margin / 4);
$three-quarters: rem-calc($margin * 0.75);
$three-halves: rem-calc($margin * 1.5);
@include typography-level('breadcrumb');
color: $gray-darker;
&__list {
display: flex;
flex-wrap: wrap;
column-gap: $three-halves;
padding: $three-quarters 0;
list-style: none;
}
&__item {
position: relative;
display: block;
margin: $quater-margin 0;
a {
color: inherit;
}
&:first-child {
margin-left: 0;
}
&:last-child {
color: $primary;
&::after {
display: none;
}
}
&::after {
$symbol: map-get($icons, 'chevron-right');
@include icon-content-extended($symbol);
position: absolute;
top: 0.125em;
right: -$margin;
}
}
}
There are no notes for this item.