2022-10-22 15:34:24 +02:00
|
|
|
import { defineComponent, ref, onMounted, watch, computed } from 'vue'
|
|
|
|
|
|
|
|
|
|
import { useGlobalStore } from '@store/globalStore'
|
|
|
|
|
import { useRoute } from 'vue-router'
|
|
|
|
|
import { useUserStore } from '@store/UserStore'
|
|
|
|
|
|
|
|
|
|
import { Logo } from '../../components/logo'
|
|
|
|
|
|
|
|
|
|
import { LandingFooter } from '../../components/LandingFooter'
|
|
|
|
|
import { CMyPage } from '../../components/CMyPage/index'
|
|
|
|
|
|
|
|
|
|
import { tools } from '@src/store/Modules/tools'
|
|
|
|
|
import { static_data } from '@src/db/static_data'
|
|
|
|
|
import { toolsext } from '@src/store/Modules/toolsext'
|
|
|
|
|
import { Screen } from 'quasar'
|
2022-10-28 17:07:13 +02:00
|
|
|
import { CCardCarousel, CEventsCalendar, CMyElem, COpenStreetMap } from '@components'
|
2022-10-22 15:34:24 +02:00
|
|
|
import MixinBase from '@src/mixins/mixin-base'
|
|
|
|
|
import { firstimagehome } from '@src/db/static_data'
|
|
|
|
|
import MixinMetaTags from '@/mixins/mixin-metatags'
|
|
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
|
name: 'home_arcadei',
|
2022-10-28 17:07:13 +02:00
|
|
|
components: { Logo, LandingFooter, CMyPage, CMyElem },
|
2022-10-22 15:34:24 +02:00
|
|
|
|
|
|
|
|
setup() {
|
|
|
|
|
const userStore = useUserStore()
|
|
|
|
|
const globalStore = useGlobalStore()
|
|
|
|
|
|
|
|
|
|
const { setValDb, getValDb } = MixinBase()
|
|
|
|
|
|
|
|
|
|
function getheightgallery() {
|
|
|
|
|
if (tools.isMobile())
|
|
|
|
|
return '400px'
|
|
|
|
|
else
|
|
|
|
|
return '600px'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function created() {
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
created()
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
tools,
|
|
|
|
|
toolsext,
|
|
|
|
|
static_data,
|
|
|
|
|
getheightgallery,
|
|
|
|
|
getValDb,
|
2022-10-28 17:07:13 +02:00
|
|
|
globalStore,
|
2022-10-22 15:34:24 +02:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
|