|
|
@ -2,8 +2,10 @@
|
|
|
|
import VPIconLanguages from './icons/VPIconLanguages.vue'
|
|
|
|
import VPIconLanguages from './icons/VPIconLanguages.vue'
|
|
|
|
import VPFlyout from './VPFlyout.vue'
|
|
|
|
import VPFlyout from './VPFlyout.vue'
|
|
|
|
import VPMenuLink from './VPMenuLink.vue'
|
|
|
|
import VPMenuLink from './VPMenuLink.vue'
|
|
|
|
|
|
|
|
import { useData } from '../composables/data.js'
|
|
|
|
import { useLangs } from '../composables/langs.js'
|
|
|
|
import { useLangs } from '../composables/langs.js'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { theme } = useData()
|
|
|
|
const { localeLinks, currentLang } = useLangs({ correspondingLink: true })
|
|
|
|
const { localeLinks, currentLang } = useLangs({ correspondingLink: true })
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
@ -12,6 +14,7 @@ const { localeLinks, currentLang } = useLangs({ correspondingLink: true })
|
|
|
|
v-if="localeLinks.length && currentLang.label"
|
|
|
|
v-if="localeLinks.length && currentLang.label"
|
|
|
|
class="VPNavBarTranslations"
|
|
|
|
class="VPNavBarTranslations"
|
|
|
|
:icon="VPIconLanguages"
|
|
|
|
:icon="VPIconLanguages"
|
|
|
|
|
|
|
|
:label="theme.langMenuLabel || 'Change language'"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="items">
|
|
|
|
<div class="items">
|
|
|
|
<p class="title">{{ currentLang.label }}</p>
|
|
|
|
<p class="title">{{ currentLang.label }}</p>
|
|
|
|