-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
209 lines (201 loc) · 8.6 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
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
<!DOCTYPE html>
<html lang="en">
<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">
<title></title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="fontawesome-free-5.15.2-web/css/all.css">
<link rel="stylesheet" href="fontawesome-free-5.15.2-web/js/all.js">
<link rel="stylesheet" href="fontawesome-free-5.15.2-web/css/fontawesome.min.css">
</head>
<body>
<!-- En-tete -->
<section class="head" id="head">
<header>
<div class="logo">
<h2>
Food<font color="red">Factory</font>
<div class="bar">
<div class="top"></div>
<div class="middle"></div>
<div class="bottom"></div>
</div>
</h2>
</div>
<ul>
<li><a href="#head">Home</a></li>
<li><a href="#info">About</a></li>
<li><a href="#menu">Menu</a></li>
<li><a href="#expert">Expert</a></li>
<li><a href="#avis">Testimonials</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</header>
<div class="banner">
<div>
<h1>Always choose food</h1>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Corporis, corrupti!</p>
<a href="#menu">Our menu</a>
</div>
</div>
</section>
<!-- Info -->
<section class="info" id="info">
<div class="welcome">
<h2><font color="red">W</font>elcome in</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, pariatur!</p>
</div>
<div class="cards">
<div class="card">
<div class="cardN card1">
<i class="fas fa-info-circle"></i>
<h2><font color="red">A</font>bout</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Perferendis quos eligendi dolores delectus quam eaque? Qui ipsa atque, dolor, voluptatum similique cum fugit pariatur, maxime et rerum eveniet nesciunt enim.</p>
</div>
</div>
<div class="card">
<div class="cardN card2">
<i class="fas fa-hamburger"></i>
<h2><font color="red">M</font>enu</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Perferendis quos eligendi dolores delectus quam eaque? Qui ipsa atque, dolor, voluptatum similique cum fugit pariatur, maxime et rerum eveniet nesciunt enim.</p>
</div>
</div>
<div class="card">
<div class="cardN card3">
<i class="fas fa-phone"></i>
<h2><font color="red">C</font>ontact</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Perferendis quos eligendi dolores delectus quam eaque? Qui ipsa atque, dolor, voluptatum similique cum fugit pariatur, maxime et rerum eveniet nesciunt enim.</p>
</div>
</div>
</div>
</section>
<!-- Menu -->
<section class="menu" id="menu">
<div class="welcome">
<h2>Our <font color="red">M</font>enu</h2>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Consectetur, dolorum.</p>
</div>
<div class="plats">
<div class="plat">
<img src="Images/menu (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu1 (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu1 (2).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu2 (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu3 (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu4 (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu5 (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
<div class="plat">
<img src="Images/menu6 (1).jpg" alt="">
<div class="Name">Lorem, ipsum.</div>
</div>
</div>
</section>
<!-- Expert -->
<section class="expert" id="expert">
<div class="welcome">
<h2>Our Kitchen <font color="red">E</font>xpert</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quasi, sunt.</p>
</div>
<div class="experts">
<div class="expertProfile">
<img src="Images/expert1 (1).jpg" alt="">
<div class="Name">Patrick Gautier</div>
</div>
<div class="expertProfile">
<img src="Images/expert2 (1).jpg" alt="">
<div class="Name">Robert Dellanoy</div>
</div>
<div class="expertProfile">
<img src="Images/expert3 (1).jpg" alt="">
<div class="Name">Teresa Cooper</div>
</div>
<div class="expertProfile">
<img src="Images/expert4 (1).jpg" alt="">
<div class="Name">Henry Pence</div>
</div>
</div>
</section>
<!-- Avis -->
<section class="avis" id="avis">
<div class="welcome">
<h2>They <font color="red">S</font>aid About us</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quasi, sunt.</p>
</div>
<div class="advices">
<div class="client">
<img src="Images/testi1 (1).jpg" alt="">
<div class="advice">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Magni sit quibusdam voluptatibus maiores fuga est temporibus consectetur, placeat quae suscipit.</p>
<p class="pseudo">Diakhou</p>
</div>
</div>
<div class="client">
<img src="Images/testi2 (1).jpg" alt="">
<div class="advice">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Magni sit quibusdam voluptatibus maiores fuga est temporibus consectetur, placeat quae suscipit.</p>
<p class="pseudo">Niokhor</p>
</div>
</div>
<div class="client">
<img src="Images/testi3 (1).jpg" alt="">
<div class="advice">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Magni sit quibusdam voluptatibus maiores fuga est temporibus consectetur, placeat quae suscipit.</p>
<p class="pseudo">Ndoumbé</p>
</div>
</div>
</div>
</section>
<!-- Contact -->
<section class="contact" id="contact">
<div class="welcome">
<h2><font color="red">C</font>ontact us</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quasi, sunt.</p>
</div>
<form action="#">
<h2>Send a message</h2>
<input type="text" id="prenom" placeholder="Enter your firstname">
<input type="email" id="mail" placeholder="Enter your email">
<textarea name="msg" id="msg" cols="30" rows="10" placeholder="Hi..."></textarea>
<input type="button" value="Send">
</form>
</section>
<!-- Pieds de page -->
<section class="footer">
<p>Copyright 2021 - All Rights Reserved - made by <font color="red">Dioufinho</font></p>
</section>
<script text="javascript">
let header = document.querySelector("header");
window.addEventListener("scroll",function(e){
header.classList.toggle("sticky",window.scrollY>0);
})
let liste = document.querySelector(".head header ul");
let dive = document.querySelector(".head header .bar");
dive.addEventListener("click",function(){
liste.classList.toggle("closeList");
dive.classList.toggle("menu1");
})
</script>
</body>
</html>