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

View File

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