- Chart Maps Nationality

- Username lowercase
- Statistics
- Telegram
This commit is contained in:
Paolo Arena
2020-01-27 15:08:03 +01:00
parent ffded7f9b1
commit f3b70c781e
15 changed files with 397 additions and 2420 deletions

View File

@@ -15,6 +15,18 @@ p {
//text-shadow: .125rem .125rem .25rem $grayshadow;
}
.logo{
margin-left: auto;
margin-right: auto;
max-height: 250px;
max-width: 250px;
@media (max-width: 718px) {
max-height: 180px;
max-width: 180px;
}
}
h4 {
font-size: 1.25rem;
}
@@ -27,8 +39,8 @@ h4 {
}
.landing_background {
background: #000 url(../../statics/images/foto1.jpg) no-repeat 50% fixed;
background-size: cover
background: #000 url(../../statics/images/foto1.jpg) no-repeat 100% fixed;
background-size: contain !important;
}
.landing > section {
@@ -123,7 +135,7 @@ h4 {
}
.landing__header {
height: 0
height: 0vh
}
.landing__arrow {
@@ -223,7 +235,6 @@ body.mobile .landing:before {
z-index: -1;
//background: #000 url(../../statics/images/cover.jpg) 50%;
background-size: cover
}
/*
@@ -351,7 +362,7 @@ body.mobile .landing:before {
text-align: center
}
.landing__header {
height: 0
height: 10vh
}
.clgutter {
margin-top: 0;
@@ -477,5 +488,8 @@ body.mobile .landing:before {
}
.q-carousel__slide{
background-size: auto;
// background-size: auto;
background-size: contain !important;
background-repeat: no-repeat;
background-position: 50%;
}

View File

@@ -12,7 +12,15 @@ import { tools } from '@src/store/Modules/tools'
import { func_tools, toolsext } from '@src/store/Modules/toolsext'
import { Screen } from 'quasar'
import MixinMetaTags from '@src/mixins/mixin-metatags'
import { CCardCarousel, CImgText, CTitleBanner, CStatus, CStatusReg, CNextZoom } from '@components'
import {
CCardCarousel,
CImgText,
CTitleBanner,
CStatus,
CStatusReg,
CNextZoom,
CVerifyTelegram, CVerifyEmail
} from '@components'
import MixinBase from '@src/mixins/mixin-base'
import { static_data } from '@src/db/static_data'
import { INotData } from '@src/model'
@@ -32,7 +40,7 @@ import { INotData } from '@src/model'
@Component({
mixins: [MixinBase],
components: { Logo, Footer, CMyPage, CCardCarousel, CTitleBanner, CImgText, CStatus, CStatusReg, CNextZoom }
components: { Logo, Footer, CMyPage, CCardCarousel, CTitleBanner, CImgText, CStatus, CStatusReg, CNextZoom, CVerifyTelegram, CVerifyEmail }
})
export default class Home extends MixinBase {
public text: string = ''
@@ -175,6 +183,10 @@ export default class Home extends MixinBase {
return tools
}
get TelegVerificato() {
return UserStore.state.my.profile.teleg_id > 0
}
get visuStatus() {
return !this.isVerificato || !this.TelegVerificato || UserStore.state.my.profile.paymenttypes.length === 0
}
@@ -328,12 +340,16 @@ export default class Home extends MixinBase {
return UserStore.getters.isVerificato
}
get TelegVerificato() {
return UserStore.state.my.profile.teleg_id > 0
get isEmailVerified() {
return UserStore.state.my.verified_email
}
public openrighttoolbar() {
GlobalStore.state.RightDrawerOpen = true
}
get TelegCode() {
return UserStore.state.my.profile.teleg_checkcode
}
}

View File

@@ -8,7 +8,10 @@
</span>
<div class="landing">
<section>
<div class="text-center">
<q-img src="statics/images/background.jpg" class="logo"></q-img>
</div>
<!--<section>
<div class="landing__hero maxwidth1200 text-white">
<q-carousel
animated
@@ -78,16 +81,37 @@
</div>
</div>
<div class="landing__arrow absolute-bottom text-center">
<!--<i aria-hidden="true"-->
<!--class="q-icon text-h2 text-white material-icons">expand_more</i>-->
</div>
</q-carousel-slide>
</div>
</q-carousel>
</div>
</section>
</section> -->
<div v-if="isLogged">
<CVerifyEmail v-if="!isEmailVerified">
</CVerifyEmail>
<CVerifyTelegram v-if="TelegCode">
</CVerifyTelegram>
</div>
<div v-else>
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar"
>{{$t('login.enter')}}
</q-btn>
</div>
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
<q-btn rounded size="lg" color="primary" to="/signup">{{$t('reg.submit')}}
</q-btn>
</div>
</div>
<CNextZoom>
</CNextZoom>
@@ -101,23 +125,6 @@
</div>
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar"
>{{$t('login.enter')}}
</q-btn>
</div>
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
<q-btn rounded size="lg" color="primary" to="/signup">{{$t('reg.submit')}}
</q-btn>
</div>
<div v-if="!isLogged">
<div style="margin-bottom: 50px;">
</div>
</div>
<div v-if="false">
<CTitleBanner class="q-pa-xs" :title="$t('text.how')" bgcolor="bg-primary" clcolor="text-white"
mystyle=" " myclass="myshad" canopen="true">