-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
137 lines (134 loc) · 4.22 KB
/
script.js
1
2
3
4
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
47
48
49
50
51
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
const platforms = {
pepper: {
color: '#FF7900',
job_ad: '<img width="284" height="40" style="vertical-align: middle; border: none; width: 284px; max-width: 284px !important; height: 40px; max-height: 40px !important;" src="https://assets.pepper.com/assets/images/email-signature/job-ads/pepper.png" alt="We\'re hiring! Join our team"/>',
logo: '<img width="221" height="46" style="width: 221px; max-width: 221px !important; height: 46px; max-height: 46px !important; vertical-align: middle; border: none;" src="https://assets.pepper.com/assets/images/email-signature/logos/pepper.png" alt="Pepper"/>',
name: 'Pepper Media Holding GmbH',
address: 'Torstraße 164, Aufgang A | 10115 Berlin, Germany',
community: '',
ceo: 'Geschäftsführer: Fabian Spielberger, Registriernummer: HRB 28003 P, Ust-IdNr.: DE304746538',
},
chollometro: {
color: '#FF7900',
job_ad: '<img width="284" height="40" style="vertical-align: middle; border: none; width: 284px; max-width: 284px !important; height: 40px; max-height: 40px !important;" src="https://assets.pepper.com/assets/images/email-signature/job-ads/pepper.png" alt="We\'re hiring! Join our team"/>',
logo: '<img width="241" height="46" style="width: 241px; max-width: 241px !important; height: 46px; max-height: 46px !important; vertical-align: middle; border: none;" src="https://assets.pepper.com/assets/images/email-signature/logos/chollometro.png" alt="Chollometro"/>',
name: 'Digital Link Marketing, S.L.',
address: 'C/ Bastia 18 - Montequinto (Dos Hermanas) | Sevilla 41089, Spain',
community: 'Parte de la comunidad internacional <img width="125" height="26" style="vertical-align: middle; border: none; width: 125px; max-width: 125px !important; height: 26px; max-height: 26px !important; margin-bottom: 7px; margin-left: 3px; margin-right: 3px;" src="https://assets.pepper.com/assets/images/email-signature/logos/pepper.png" alt="Pepper"/>',
ceo: 'CEO: Adrián del Arco, Manuel Zabala, Miguel Nogales, VAT No.: ESB90266537',
},
dealabs: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
hotukdeals: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
mydealz: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
pelando: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
pepper_ru: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
pepper_nl: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
pepper_pl: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
preisjaeger: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
promodescuentos: {
color: '#FF7900',
job_ad: '',
logo: '',
name: '',
address: '',
community: '',
ceo: '',
},
};
const userData = {
name: '',
role: '',
email: '',
phone: '',
work_phone: '',
};
const appData = {
editMode: true,
platform: '',
hasPersonalPhone: false,
hasWorkPhone: false,
hidePhone: false,
animateForm: false,
platformData: {},
hasBeenSaved: false,
};
new Vue({
el: '#main',
data: () => Object.assign({}, userData, appData),
methods: {
generateSignature () {
this.editMode = false;
this.platformData = Object.assign({}, platforms[this.platform]);
this.hasBeenSaved = true;
}
},
computed: {
mailto () {
return `mailto:${this.email}`;
}
}
});