forked from OpenClassrooms-Student-Center/GameOn-website-FR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
150 lines (147 loc) · 7.05 KB
/
index.html
File metadata and controls
150 lines (147 loc) · 7.05 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Reservation</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link href="https://fonts.googleapis.com/css?family=DM+Sans" rel="stylesheet" />
</head>
<body>
<div class="topnav" id="myTopnav">
<div class="header-logo">
<img alt="logo" src="assets/images/logo.png" width="auto" height="auto" />
</div>
<div class="main-navbar">
<a href="#" class="active"><span>Accueil</span></a>
<a href="#"><span>Détails de l'évènement</span></a>
<a href="#"><span>À propos</span></a>
<a href="#"><span>Contact</span></a>
<a href="#"><span>Évènements passés</span></a>
<a href="javascript:void(0);" class="icon" onclick="editNav()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<main>
<div class="hero-section">
<div class="hero-content">
<h1 class="hero-headline">
Marathon national
<br />
de jeux vidéos
</h1>
<p class="hero-text">
Vous aimez jouer ? Notre prochain évènement gaming est ouvert aux réservations... Places limitées !
</p>
<button class="btn-signup modal-btn">je m'inscris</button>
</div>
<div class="hero-img">
<img src="assets/images/bg_img.jpg" alt="img" />
</div>
<button class="btn-signup modal-btn">je m'inscris</button>
</div>
<div class="form bground">
<div class="content">
<span class="close close-form-modal"></span>
<div class="modal-body">
<form name="reserve">
<div class="formData">
<label for="firstname">Prénom</label>
<input class="text-control form-field" type="text" id="firstname" name="firstname" />
<p class="form-error firstname-error">Veuillez entrer 2 caractères ou plus pour le champ du prénom.</p>
</div>
<div class="formData">
<label for="lastname">Nom</label>
<input class="text-control form-field" type="text" id="lastname" name="lastname" />
<p class="form-error lastname-error">Veuillez entrer 2 caractères ou plus pour le champ du nom.</p>
</div>
<div class="formData">
<label for="email">E-mail</label>
<input class="text-control form-field" type="email" id="email" name="email" />
<p class="form-error email-error">Veuillez entrer une adresse mail valide.</p>
</div>
<div class="formData">
<label for="birthdate">Date de naissance</label>
<input class="text-control form-field" type="date" id="birthdate" name="birthdate" />
<p class="form-error birthdate-error">Vous devez entrer votre date de naissance valide.</p>
</div>
<div class="formData">
<label for="nbTournament">À combien de tournois GameOn avez-vous déjà participé ?</label>
<input
type="number"
class="text-control form-field"
id="nbTournament"
name="nbTournament"
/>
<p class="form-error nbTournament-error">Vous devez entrer le nombre de tournois auquel vous avez participé.</p>
</div>
<p class="text-label">A quel tournoi souhaitez-vous participer cette année ?</p>
<div class="formData">
<input class="checkbox-input" type="radio" id="location1" name="location" value="New York" />
<label class="checkbox-label" for="location1">
<span class="checkbox-icon"></span>
New York
</label>
<input class="checkbox-input" type="radio" id="location2" name="location" value="San Francisco" />
<label class="checkbox-label" for="location2">
<span class="checkbox-icon"></span>
San Francisco
</label>
<input class="checkbox-input" type="radio" id="location3" name="location" value="Seattle" />
<label class="checkbox-label" for="location3">
<span class="checkbox-icon"></span>
Seattle
</label>
<input class="checkbox-input" type="radio" id="location4" name="location" value="Chicago" />
<label class="checkbox-label" for="location4">
<span class="checkbox-icon"></span>
Chicago
</label>
<input class="checkbox-input" type="radio" id="location5" name="location" value="Boston" />
<label class="checkbox-label" for="location5">
<span class="checkbox-icon"></span>
Boston
</label>
<input class="checkbox-input" type="radio" id="location6" name="location" value="Portland" />
<label class="checkbox-label" for="location6">
<span class="checkbox-icon"></span>
Portland
</label>
<p class="form-error location-error">Vous devez choisir une option.</p>
</div>
<div class="formData">
<input class="checkbox-input" type="checkbox" id="termsOfUse" name="termsOfUse"/>
<label class="checkbox2-label" for="termsOfUse">
<span class="checkbox-icon"></span>
J'ai lu et accepté les conditions d'utilisation.
</label>
<p class="form-error termsOfUse-error">Vous devez vérifier que vous acceptez les termes et conditions.</p>
<input class="checkbox-input" type="checkbox" id="newsletter" name="newsletter" />
<label class="checkbox2-label" for="newsletter">
<span class="checkbox-icon"></span>
Je souhaite être prévenu des prochains évènements.
</label>
<p class="form-error newsletter-error"></p>
</div>
<input class="btn-submit" type="submit" class="button" value="C'est parti" />
</form>
</div>
</div>
</div>
<div class="success-modal bground">
<div class="content">
<span class="close close-success-modal"></span>
<div class="modal-body">
<p>Merci pour votre inscription!</p>
</div>
</div>
</div>
</main>
<footer>
<p class="copyrights">Copyright 2014 - 2022, GameOn Inc.</p>
</footer>
<script src="/src/modal.js" type="module"></script>
</body>
</html>