Files
freeplanet/src/root/malaga/malaga.ts

89 lines
4.2 KiB
TypeScript
Raw Normal View History

2019-04-11 14:25:43 +02:00
import Vue from 'vue'
import { Component } from 'vue-property-decorator'
import { GlobalStore, UserStore } from '@store'
import { Logo } from '../../components/logo'
import VueScrollReveal from 'vue-scroll-reveal'
import { tools } from '@src/store/Modules/tools'
Vue.use(VueScrollReveal, {
class: 'v-scroll-reveal', // A CSS class applied to elements with the v-scroll-reveal directive; useful for animation overrides.
duration: 1200,
scale: 0.95,
distance: '10px',
rotate: {
x: 0,
y: 0,
z: 0
}
// mobile: true
})
@Component({
components: { Logo }
})
export default class Malaga extends Vue {
public text: string = ''
public visibile: boolean = false
public cardvisible: string = 'hidden'
public displaycard: string = 'block'
public $t: any
// public firstClassSection: string = 'landing_background fade homep-cover-img animate-fade homep-cover-img-1'
public firstClassSection: string = 'fade homep-cover-img animate-fade homep-cover-img-1'
public $q
public polling
public slide2 = 0
public animare: number = 0
2019-04-11 17:40:41 +02:00
public test1 = GlobalStore.getters.t('piso.matr1')
2019-04-11 14:25:43 +02:00
public getImmagini = [
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.cameramatr'), subtitle: GlobalStore.getters.t('piso.matr1'),
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/camera_matrimoniale.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.mat_scrivania'), subtitle: '',
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/matrimoniale_scrivania.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.mat_finestra'), subtitle: '',
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/matrimoniale_finestra.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.mat_armadio'), subtitle: '',
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/matrimoniale_armadio.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.mat_fin2'), subtitle: '', // 'Finestra dalla camera matrimoniale'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/finestra_della_camera_matrimoniale.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.mat_singola'), subtitle: GlobalStore.getters.t('piso.singola1'), // 'Camera singola'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/singola_1.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.sing_scrivania'), subtitle: '', // 'Scrivania singola'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/singola_scrivania.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.sing_'), subtitle: '', // 'Finestra singola'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/singola_finestra.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.sing_armadio'), subtitle: '', // 'Armadio singola'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/singola_armadio.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.cucina'), subtitle: '', // 'Cucina'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/cucina.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.cucina'), subtitle: '', // 'Cucina'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/cucina2.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.corridoio'), subtitle: '', // 'Corridoio'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/corridoio.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.tv'), subtitle: '', // 'Televisore e Wifi'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/televisore.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.terrazza'), subtitle: '', // 'Terrazza'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/terrazza.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.terrazza_vista'), subtitle: '', // 'Vista dalla terrazza'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/fuori_dalla_terrazza.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.sala'), subtitle: '', // 'Sala'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/sala.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.divano'), subtitle: '', // 'Divano'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/divano.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.corridoio'), subtitle: '', // 'Corridoio'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/corridoio2.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.tavolo_sala'), subtitle: '', // 'Tavolo della sala'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/tavolo_sala.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.bagno'), subtitle: '', // 'Bagno'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/bagno.jpg'},
2019-04-11 17:40:41 +02:00
{title: GlobalStore.getters.t('piso.vasca'), subtitle: '', // 'Vasca con Doccia'
2019-04-11 14:25:43 +02:00
img: '../../statics/images/piso/bagno2.jpg'}
]
public getenv(myvar) {
return process.env[myvar]
}
}