diff --git a/src/components/Footer.vue b/src/components/Footer.vue
index 0a24a1b..9cd31f4 100755
--- a/src/components/Footer.vue
+++ b/src/components/Footer.vue
@@ -43,47 +43,47 @@
-
+
{{ $t('header.home') }}
-
+
{{ $t('header.about') }}
-
+
{{ $t('header.blog') }}
-
+
{{ $t('header.projects') }}
-
+
{{ $t('header.services') }}
-
+
{{ $t('header.env') }}
-
+
{{ $t('header.guestbook') }}
-
+
{{ $t('header.newsletter') }}
-
+
{{ $t('header.contact') }}
@@ -137,10 +137,18 @@ export default defineComponent({
}
}, 'hiring_message')
+ const store = useStore
()
+ const route = computed(() => store.state.route)
+ const isWindow = (loc: string) => {
+ if (loc === '') return route.value === "/"
+ else return route.value.includes(loc)
+ }
+
return {
getDate,
isDarkMode,
- hiring_message
+ hiring_message,
+ isWindow
}
}
})
@@ -171,7 +179,15 @@ export default defineComponent({
}
.link a {
- @apply duration-300 hover:font-bold hover:transform hover:translate-x-4
+ @apply duration-500 border-b-2 border-transparent;
+
+ &.link-active {
+ @apply text-indigo-600;
+ }
+
+ &:hover {
+ @apply border-indigo-600
+ }
}
}