forked from LaconicNetwork/cosmos-explorer
feat: navbar lang
This commit is contained in:
+9
-11
@@ -23,15 +23,13 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VLocaleProvider :rtl="isAppRtl">
|
||||
<!-- ℹ️ This is required to set the background color of active nav link based on currently active global theme's primary -->
|
||||
<VApp
|
||||
:style="`--v-global-theme-primary: ${hexToRgb(
|
||||
global.current.value.colors.primary
|
||||
)}`"
|
||||
>
|
||||
<RouterView />
|
||||
<TxDialog/>
|
||||
</VApp>
|
||||
</VLocaleProvider>
|
||||
<!-- ℹ️ This is required to set the background color of active nav link based on currently active global theme's primary -->
|
||||
<VApp
|
||||
:style="`--v-global-theme-primary: ${hexToRgb(
|
||||
global.current.value.colors.primary
|
||||
)}`"
|
||||
>
|
||||
<RouterView />
|
||||
<TxDialog />
|
||||
</VApp>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user