Newer
Older
<template>
<div>
<div class="header">
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</div>
<div class="center">
<b-container class="msg" v-if="status">
<p>
Votre nouvelle adresse e-mail est validée.
</p>
<b-button
type="button"
variant="outline-primary"
@click.prevent="$router.push({ name: 'SignIn' })"
>
Ouvrir la page de connexion
</b-button>
</b-container>
<b-container class="msg" v-else>
<p>
Une erreur est survenue. Veuillez contacter l'administrateur du site.
</p>
</b-container>
</div>
<small class="footer">
<p>Propulsé par <a href="https://www.neogeo.fr/" target="_blank" rel="noopener">Neogeo-Technologies</a></p>
</small>
</div>
</template>
<script>
import {
mapState,
mapActions,
} from 'vuex';
export default {
name: 'ValidationEmail',
data: () => {
return {
};
},
computed: {
...mapState('validation-email', [
'status'
]),
logoPath() {
return require(process.env.VUE_APP_LOGO);
}
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
},
created() {
this.POST_TOKEN(this.$route.query.token);
},
methods: {
...mapActions('validation-email', [
'POST_TOKEN'
])
}
};
</script>
<style lang="less" scoped>
.header {
position: absolute;
top: 0;
left: 0;
}
.header > img {
width: 440px;
}
.center {
position: initial;
}
.center .msg.container {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.center .msg.container,
.center .msg.container button {
font-size: large;
}
.footer {
position: absolute;
bottom: 0;
font-size: small;
}
.footer a {
text-decoration: none;
}
</style>