mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
ranamed LanguageSwitch to LocaleSwitch
This commit is contained in:
parent
0386fd4bb7
commit
e16a9ab5dc
@ -8,7 +8,7 @@
|
|||||||
>
|
>
|
||||||
<ds-logo />
|
<ds-logo />
|
||||||
</a>
|
</a>
|
||||||
<language-switch class="topbar-language-switch" />
|
<locale-switch class="topbar-locale-switch" />
|
||||||
<template v-if="isLoggedIn">
|
<template v-if="isLoggedIn">
|
||||||
<no-ssr>
|
<no-ssr>
|
||||||
<v-popover
|
<v-popover
|
||||||
@ -62,14 +62,14 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import LanguageSwitch from '~/components/LanguageSwitch'
|
import LocaleSwitch from '~/components/LocaleSwitch'
|
||||||
|
|
||||||
let mouseEnterTimer = null
|
let mouseEnterTimer = null
|
||||||
let mouseLeaveTimer = null
|
let mouseLeaveTimer = null
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
LanguageSwitch
|
LocaleSwitch
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -136,7 +136,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.topbar-language-switch {
|
.topbar-locale-switch {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
top: -16px;
|
top: -16px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
:width="{ base: '100%', sm: '50%' }"
|
:width="{ base: '100%', sm: '50%' }"
|
||||||
center
|
center
|
||||||
>
|
>
|
||||||
|
<locale-switch />
|
||||||
<ds-space
|
<ds-space
|
||||||
margin-top="small"
|
margin-top="small"
|
||||||
margin-bottom="xxx-small"
|
margin-bottom="xxx-small"
|
||||||
@ -82,9 +83,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import LocaleSwitch from '~/components/LocaleSwitch'
|
||||||
|
|
||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
LocaleSwitch
|
||||||
|
},
|
||||||
layout: 'blank',
|
layout: 'blank',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user