|
@@ -1,16 +1,15 @@
|
|
|
<!-- @format -->
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { ArrowDown } from "@element-plus/icons-vue"
|
|
|
-import { useCommonStore } from "@/stores/modules/common"
|
|
|
+import { ArrowDown } from '@element-plus/icons-vue'
|
|
|
+import { useCommonStore } from '@/stores/modules/common'
|
|
|
|
|
|
const commonStore = useCommonStore()
|
|
|
-const { customNavigateColor } = storeToRefs(commonStore)
|
|
|
+const { navigateTextColor } = storeToRefs(commonStore)
|
|
|
|
|
|
const catalogsVisible = ref<boolean>(false)
|
|
|
const resourceVisible = ref<boolean>(false)
|
|
|
const aboutVisible = ref<boolean>(false)
|
|
|
-// const customNavigateColor = ref<string>("text-#fff")
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
@@ -18,7 +17,7 @@ const aboutVisible = ref<boolean>(false)
|
|
|
<NuxtLink
|
|
|
to="/solutions"
|
|
|
class="hover:text-#9B6CFF cursor-pointer"
|
|
|
- :class="customNavigateColor"
|
|
|
+ :class="navigateTextColor"
|
|
|
>
|
|
|
Solutions
|
|
|
</NuxtLink>
|
|
@@ -28,7 +27,7 @@ const aboutVisible = ref<boolean>(false)
|
|
|
>
|
|
|
<span
|
|
|
class="el-dropdown-link text-16px flex items-center"
|
|
|
- :class="[{ '!text-#9B6CFF': catalogsVisible }, customNavigateColor]"
|
|
|
+ :class="[{ '!text-#9B6CFF': catalogsVisible }, navigateTextColor]"
|
|
|
>
|
|
|
Catalogs
|
|
|
<el-icon
|
|
@@ -45,7 +44,7 @@ const aboutVisible = ref<boolean>(false)
|
|
|
>
|
|
|
<span
|
|
|
class="el-dropdown-link text-16px flex items-center"
|
|
|
- :class="[{ '!text-#9B6CFF': resourceVisible }, customNavigateColor]"
|
|
|
+ :class="[{ '!text-#9B6CFF': resourceVisible }, navigateTextColor]"
|
|
|
>
|
|
|
Resources
|
|
|
<el-icon
|
|
@@ -58,10 +57,14 @@ const aboutVisible = ref<boolean>(false)
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
<el-dropdown-item>
|
|
|
- <NuxtLink to="/blog"> Blog </NuxtLink>
|
|
|
+ <NuxtLink to="/blog">
|
|
|
+ Blog
|
|
|
+ </NuxtLink>
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item>
|
|
|
- <NuxtLink to="/faq"> FAQ </NuxtLink>
|
|
|
+ <NuxtLink to="/faq">
|
|
|
+ FAQ
|
|
|
+ </NuxtLink>
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
@@ -72,7 +75,7 @@ const aboutVisible = ref<boolean>(false)
|
|
|
>
|
|
|
<span
|
|
|
class="el-dropdown-link text-16px flex items-center"
|
|
|
- :class="[{ '!text-#9B6CFF': aboutVisible }, customNavigateColor]"
|
|
|
+ :class="[{ '!text-#9B6CFF': aboutVisible }, navigateTextColor]"
|
|
|
>
|
|
|
About
|
|
|
<el-icon
|
|
@@ -85,10 +88,14 @@ const aboutVisible = ref<boolean>(false)
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
<el-dropdown-item>
|
|
|
- <NuxtLink to="/about-us"> About Us </NuxtLink>
|
|
|
+ <NuxtLink to="/about-us">
|
|
|
+ About Us
|
|
|
+ </NuxtLink>
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item>
|
|
|
- <NuxtLink to="/contact"> Contact Us </NuxtLink>
|
|
|
+ <NuxtLink to="/contact">
|
|
|
+ Contact Us
|
|
|
+ </NuxtLink>
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|