generated from TheMaxium69/TyroSiteFrameWork
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnettoyage.php
222 lines (194 loc) · 9.06 KB
/
nettoyage.php
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?php include "app/app.php";
$page = 3;
head($page); ?>
<body id="nettoyage">
<header> <?php navbar($page); ?> </header>
<main>
<h1 class="text-center mt-5 bold">Service de Nettoyage</h1>
<!-- button choix formule -->
<div class="topcoat-button-bar d-flex justify-content-center">
<div class="topcoat-button-bar__item">
<button onclick="nettoyageChange('Standard')" class="custom-btn btn-2" id="Standard">Standard</button>
</div>
<div class="topcoat-button-bar__item">
<button onclick="nettoyageChange('Medium')" class="custom-btn btn-2" id="Medium">Medium</button>
</div>
<div class="topcoat-button-bar__item">
<button onclick="nettoyageChange('Premium')" class="custom-btn btn-2" id="Premium">Premium</button>
</div>
</div>
<!-- / button choix formule -->
<!-- banniere nettoyage -->
<div class="banniere">
<!-- image sneakers -->
<div class="sneakers">
<img id="imgPremium" class="hiddenNett" src="assets/cleanPremium.jpg" alt="nettoyage">
<img id="imgMedium" class="hiddenNett" src="assets/cleanMedium.jpg" alt="nettoyage">
<img id="imgStandard" class="" src="assets/cleanStandard.jpg" alt="nettoyage">
</div>
<!-- Text formule -->
<div class="details">
<div id="textPremium" class="card-body hiddenNett">
<h3>Clean Premium</h3>
<p>Pour le choix de cette formule, nous vous proposons :</p>
<div class="w-25 mx-auto">
<ul>
<li>Lacets</li>
<li>Insole (semelle intérieure)</li>
<li>Midsole</li>
<li>Semelle</li>
<li>Surface</li>
</ul>
</div>
<button class="custom-btn btn-2" onclick="window.location.href = 'https://www.instagram.com/palais.de.la.sneaks/';">Choisir cette formule</button>
</div>
<div id="textMedium" class="card-body hiddenNett">
<h3>Clean Medium</h3>
<p>Pour le choix de cette formule, nous vous proposons :</p>
<div class="w-25 mx-auto">
<ul>
<li>Lacets</li>
<li>Midsole</li>
<li>Surface</li>
</ul>
</div>
<!-- <a name="" id="" class="btn btn-primary underline" href="https://calendly.com/d/4r6-2z4-dn6/reservation-nettoyage" role="button">je choisis cette formule !</a> -->
<button class="custom-btn btn-2" onclick="window.location.href = 'https://www.instagram.com/palais.de.la.sneaks/';">Choisir cette formule</button>
</div>
<div id="textStandard" class="card-body">
<h3>Clean Standard</h3>
<p>Pour le choix de cette formule, nous vous proposons :</p>
<div class="w-25 mx-auto">
<ul>
<li>Lacets</li>
<li>Surface</li>
</ul>
</div>
<!-- <a name="" id="" class="btn btn-primary underline" href="https://calendly.com/d/4r6-2z4-dn6/reservation-nettoyage" role="button">je choisis cette formule !</a> -->
<button class="custom-btn btn-2" onclick="window.location.href = 'https://www.instagram.com/palais.de.la.sneaks/';">Choisir cette formule</button>
</div>
</div>
</div>
<!-- PROCEDURE -->
<h3 class="text-center">Comment procéder ? Rien de plus simple</h3>
<div class="step">
<div class="one">
<i class="fa-solid fa-1"></i>
<h4 class="text-center">Choisir ta formule</h4>
</div>
<div class="array">
<i class="fa-solid fa-arrow-right"></i>
</div>
<div class="two">
<i class="fa-solid fa-2"></i>
<h4 class="text-center">Dépose-nous ta paire</h4>
</div>
<div class="array">
<i class="fa-solid fa-arrow-right"></i>
</div>
<div class="tree">
<i class="fa-solid fa-3"></i>
<h4 class="text-center">Récupère la sous 48h à 72H</h4>
</div>
</div>
<!-- / PROCEDURE -->
<!-- Gallery -->
<div class="gallery">
<!-- image 1 -->
<div class="container__items">
<div class="polaroid one">
<div class="polaroid__content">
<div class="polaroid__content-image">
<img src='assets/avant1.PNG' alt=''>
</div>
<div class="polaroid__content-caption">
<p>AirForce :before</p>
</div>
</div>
</div>
<div class="polaroid one">
<div class="polaroid__content">
<div class="polaroid__content-image">
<img src='assets/apres1.png' alt=''>
</div>
<div class="polaroid__content-caption">
<p>Air Force :after</p>
</div>
</div>
</div>
<div class="polaroid one">
<div class="polaroid__content">
<div class="polaroid__content-image">
<img src='assets/avant2.png' alt=''>
</div>
<div class="polaroid__content-caption">
<p>Converse :after</p>
</div>
</div>
</div>
<div class="polaroid one">
<div class="polaroid__content">
<div class="polaroid__content-image">
<img src='assets/apres2.png' alt=''>
</div>
<div class="polaroid__content-caption">
<p>Converse :before</p>
</div>
</div>
</div>
</div>
</div>
<style>
.hiddenNett {
display: none;
}
</style>
<script>
var imgPremium = document.querySelector("#imgPremium");
var imgMedium = document.querySelector("#imgMedium");
var imgStandard = document.querySelector("#imgStandard");
var textPremium = document.querySelector("#textPremium");
var textMedium = document.querySelector("#textMedium");
var textStandard = document.querySelector("#textStandard");
function nettoyageChange($name) {
switch ($name) {
case 'Premium':
imgPremium.classList.remove("hiddenNett");
imgMedium.classList.add("hiddenNett");
imgStandard.classList.add("hiddenNett");
textPremium.classList.remove("hiddenNett");
textMedium.classList.add("hiddenNett");
textStandard.classList.add("hiddenNett");
break;
case 'Medium':
imgMedium.classList.remove("hiddenNett");
imgPremium.classList.add("hiddenNett");
imgStandard.classList.add("hiddenNett");
textMedium.classList.remove("hiddenNett");
textPremium.classList.add("hiddenNett");
textStandard.classList.add("hiddenNett");
break;
case 'Standard':
imgStandard.classList.remove("hiddenNett");
imgPremium.classList.add("hiddenNett");
imgMedium.classList.add("hiddenNett");
textStandard.classList.remove("hiddenNett");
textPremium.classList.add("hiddenNett");
textMedium.classList.add("hiddenNett");
break;
default:
break;
}
}
var polaroids = document.querySelectorAll('.polaroid');
polaroids.forEach(item => {
const randomRotation = Math.floor(Math.random() * (6 - -6 + 1) + -6);
item.style.transform = `rotate(${randomRotation}deg)`
})
</script>
<?php socialLink($page); ?>
</main>
<script src="javascript/script.js"></script>
<footer> <?php footer($page); ?> </footer>
</body>
</html>