Files
freeplanet/src/components/Footer/Footer.ts

64 lines
1.3 KiB
TypeScript
Raw Normal View History

import Vue from 'vue'
import { GlobalStore, UserStore } from '@modules'
import { Logo } from '../logo'
import { Component, Prop } from 'vue-property-decorator'
import { tools } from '@src/store/Modules/tools'
import { toolsext } from '@src/store/Modules/toolsext'
import { db_data } from '@src/db/db_data'
import { static_data } from '@src/db/static_data'
import Quasar from 'quasar'
import { FormNewsletter } from '../FormNewsletter'
import { IUserState } from '../../model'
import MixinBase from '../../mixins/mixin-base'
@Component({
mixins: [MixinBase],
name: 'Footer',
components: { Logo, FormNewsletter }
})
export default class Footer extends Vue {
public $t
public $v
public $q
get tools() {
return tools
}
get mythis() {
return this
}
get TelegramSupport() {
return GlobalStore.getters.getValueSettingsByKey('TELEGRAM_SUPPORT')
}
get Whatsapp_Cell() {
return GlobalStore.getters.getValueSettingsByKey('WHATSAPP_CELL')
}
get FBPage() {
const fb = GlobalStore.getters.getValueSettingsByKey('URL_FACEBOOK')
return fb
}
2019-08-08 16:55:14 +02:00
get InstagramPage() {
const insta = GlobalStore.getters.getValueSettingsByKey('URL_INSTAGRAM')
return insta
2019-08-08 16:55:14 +02:00
}
get static_data() {
return static_data
}
get ChatWhatsapp() {
return tools.getHttpForWhatsapp(this.Whatsapp_Cell)
}
}