diff --git a/components/main/header.vue b/components/main/header.vue
index c968880..1f73e4c 100644
--- a/components/main/header.vue
+++ b/components/main/header.vue
@@ -5,6 +5,11 @@ const colorMode = useColorMode()
function onClick(val: string) {
colorMode.preference = val
}
+
+const route = useRoute()
+function isActive(path: string) {
+ return route.path.startsWith(path)
+}
@@ -12,24 +17,24 @@ function onClick(val: string) {
-
-
+
{{ navbarData.homeTitle }}
-
-
+
Blogs
-
-
+
Categories
-
-
+
About
@@ -63,9 +68,3 @@ function onClick(val: string) {
-
-