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 />
|
||||
</a>
|
||||
<language-switch class="topbar-language-switch" />
|
||||
<locale-switch class="topbar-locale-switch" />
|
||||
<template v-if="isLoggedIn">
|
||||
<no-ssr>
|
||||
<v-popover
|
||||
@ -62,14 +62,14 @@
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import LanguageSwitch from '~/components/LanguageSwitch'
|
||||
import LocaleSwitch from '~/components/LocaleSwitch'
|
||||
|
||||
let mouseEnterTimer = null
|
||||
let mouseLeaveTimer = null
|
||||
|
||||
export default {
|
||||
components: {
|
||||
LanguageSwitch
|
||||
LocaleSwitch
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -136,7 +136,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.topbar-language-switch {
|
||||
.topbar-locale-switch {
|
||||
display: inline-block;
|
||||
top: -16px;
|
||||
position: relative;
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
:width="{ base: '100%', sm: '50%' }"
|
||||
center
|
||||
>
|
||||
<locale-switch />
|
||||
<ds-space
|
||||
margin-top="small"
|
||||
margin-bottom="xxx-small"
|
||||
@ -82,9 +83,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import LocaleSwitch from '~/components/LocaleSwitch'
|
||||
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
LocaleSwitch
|
||||
},
|
||||
layout: 'blank',
|
||||
data() {
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user