ranamed LanguageSwitch to LocaleSwitch

This commit is contained in:
Grzegorz Leoniec 2018-12-18 11:14:18 +01:00
parent 0386fd4bb7
commit e16a9ab5dc
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
3 changed files with 10 additions and 4 deletions

View File

@ -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;

View File

@ -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 {