-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (141 loc) · 6.32 KB
/
index.html
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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/app.css">
<script src="assets/js/app.js" defer></script>
<title>Code</>Paper</title> <!-- cf: https://html.com/character-codes/ -->
</head>
<body>
<!-- Main part -->
<main>
<!-- Main menu -->
<nav class="main-menu close">
<div class="toggle-menu"></div>
<ul class="content-wrapper">
<li><a href="components.html">Composants graphiques</a></li>
<li><a href="#">Lien 2</a></li>
<li><a href="#">Lien 3</a></li>
<li><a href="#">Lien 4</a></li>
</ul>
</nav>
<!-- Section hero -->
<section class="hero-image">
<!-- Responsive image -->
<picture class="media-background">
<source srcset="assets/images/hero-w1800.jpg" media="(min-width:1201px)">
<source srcset="assets/images/hero-w1200.jpg" media="(min-width:481px)">
<img src="assets/images/hero-w480.jpg" alt="Paper Code">
</picture>
<!-- Text overlay -->
<div class="content-wrapper">
<article class="text-overlay text-bottom p-2">
<h1 class="color-secondary">Code<span></></span>Paper</h1>
<a href="#">S'abonner</a>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
</article>
</div>
</section>
<!-- Section Intro -->
<section class="content-wrapper p-2">
<h2>Des articles de qualité, chaque mois.</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit accusantium expedita quae, in tenetur nesciunt sapiente eveniet quos nihil quod unde maiores natus eum facere ratione fugiat sed explicabo cumque.</p>
</section>
<!-- Section Form -->
<section class="content-wrapper p-2">
<input id="choice" type="checkbox"/><label>M'abonner au format digital uniquement</label>
<article class="form-1">
<form id="mainForm" action="https://duckduckgo.com">
<!-- First name -->
<div>
<label>Prénom</label>
<input type="text" name="q" placeholder="Votre prénom">
</div>
<!-- Last name -->
<div>
<label>Nom</label>
<input type="text" name="LastName" placeholder="Votre nom">
</div>
<!-- Mail -->
<div>
<label>e-Mail</label>
<input type="email" name="LastName" placeholder="Votre e-mail">
</div>
<!-- Adresse -->
<div>
<label>Adresse</label>
<input type="text" name="address" placeholder="Votre adresse">
</div>
<!-- Last name -->
<div>
<label>Code postal</label>
<input type="number" min="0" max="99999" step="1" name="postal-code" placeholder="Votre code postal">
</div>
<!-- Last name -->
<div>
<label>Ville</label>
<input type="text" name="city" placeholder="Votre ville">
</div>
<!-- Legals -->
<div>
<input type="checkbox" name="legals" id="legals">
<label for="legals">J'ai lu et j'accepte les mentions légales</label>
</div>
<!-- Actions -->
<div>
<button type="submit" formaction="other-url">Partager</button>
<button type="submit">S'abonner</button>
</div>
</form>
</article>
<article class="form-2">
<form id="otherForm" action="https://duckduckgo.com">
<!-- First name -->
<div>
<label>Prénom</label>
<input type="text" name="q" placeholder="Votre prénom">
</div>
<!-- Last name -->
<div>
<label>Nom</label>
<input type="text" name="LastName" placeholder="Votre nom">
</div>
<!-- Mail -->
<div>
<label>e-Mail</label>
<input type="email" name="LastName" placeholder="Votre e-mail">
</div>
<!-- Legals -->
<div>
<input type="checkbox" name="legals" id="legals">
<label for="legals">J'ai lu et j'accepte les mentions légales</label>
</div>
<!-- Actions -->
<div>
<button type="submit" formaction="other-url">Partager</button>
<button type="submit">S'abonner</button>
</div>
</form>
</article>
</section>
</main>
<!-- Footer -->
<footer class="bg-dark p-2">
<!-- Socials menu -->
<ul class="content-wrapper">
<li><a href="#"><img src="assets/images/facebook.svg" alt="facebook"></a></li>
<li><a href="#"><img src="assets/images/twitter.svg" alt="twitter"></a></li>
<li><a href="#"><img src="assets/images/instagram.svg" alt="instagram"></a></li>
</ul>
<!-- Legal menu -->
<ul class="content-wrapper">
<li><a href="#">CGV</a></li>
<li><a href="#">Mentions légales</a></li>
<li><a href="#">Contact</a></li>
</ul>
</footer>
</body>
</html>