|
@@ -11,7 +11,7 @@ const currentRouteName = computed(() => router.currentRoute.value.name);
|
|
|
|
|
|
<div class="nav" >
|
|
|
<div class="module-wrapper" v-for="m of blogModules" :key="m.routeName" @click="router.push(m.routeUrl)">
|
|
|
- <div :class="(currentRouteName == m.routeName) ? ['module-active-icon-wrapper'] : ['icon-wrapper']">
|
|
|
+ <div :class="(currentRouteName == m.routeName) ? ['active-icon-wrapper'] : ['icon-wrapper']">
|
|
|
<div v-html="m.iconTemplate" class="module-icon-svg"/>
|
|
|
</div>
|
|
|
<div class="module-item">{{ m.title }}</div>
|
|
@@ -85,7 +85,7 @@ const currentRouteName = computed(() => router.currentRoute.value.name);
|
|
|
transition: .3s all;
|
|
|
}
|
|
|
|
|
|
-.module-active-icon-wrapper {
|
|
|
+.active-icon-wrapper {
|
|
|
background: var(--secondary-background-color);
|
|
|
border-radius: 12px;
|
|
|
width: 32px;
|