optimierung

This commit is contained in:
Sabrina Hennrich 2025-05-21 15:53:22 +02:00
parent 95ecf79b92
commit 2fa63ee505
2 changed files with 14 additions and 10 deletions

View File

@ -1,13 +1,15 @@
<template>
<nav v-if="breadcrumbs && breadcrumbs.length" class="breadcrumbs" aria-label="Breadcrumb">
<ul>
<router-link to="/">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
<li>
<router-link to="/" aria-label="Startseite">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true" focusable="false">
<title>Startseite</title>
<path d="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/>
</svg>
</router-link>
</li>
<li v-for="(crumb, index) in breadcrumbs" :key="index">
<router-link v-if="index < breadcrumbs.length - 1" :to="crumb.to">
{{ crumb.label }}
</router-link>
@ -56,7 +58,7 @@
padding: 1rem .25rem 1rem .5rem
//min-width: 200px
background-color: rgba(white, .98)
border: 1px solid $lightgrey
border: 1px solid darken($lightgrey, 5%)
writing-mode: vertical-rl
transform: rotate(180deg)
//border-bottom-left-radius: .65rem
@ -77,7 +79,7 @@
li
display: flex
align-items: center
color: $primaryColor
color: darken($primaryColor, 10%)
font-size: .7rem
svg

View File

@ -214,8 +214,8 @@ const navigateTo = useRouter().push;
@media(max-width: $breakPointSM)
padding-left: 0
h2
color: lighten($darkgrey, 40%)
font-size: 1.2rem
color: darken($pink, 20%)
font-size: .9rem
margin-bottom: 1rem
h3
font-size: 2rem
@ -248,4 +248,6 @@ const navigateTo = useRouter().push;
color: white
.grafiker
padding-top: 5vh
.supheadlineMint
color: darken($primaryColor, 10%)
</style>