-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
258 lines (238 loc) · 9.62 KB
/
home.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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<?php
include 'components/connection.php';
session_start();
if(isset($_SESSION['user_id'])){
$user_id = $_SESSION['user_id'];
}else{
$user_id = '';
}
if(isset($_POST['logout'])){
session_destroy();
header("location: login.php");
}
?>
<style type="text/css">
<?php
include 'style.css'
?>
</style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css">
<title>Green Coffee - home page</title>
</head>
<body>
<?php
include 'components/header.php'
?>
<div class="main">
<section class="home-section">
<div class="slider">
<div class="slider__slider slide1">
<div class="overlay"></div>
<div class="slide-detail">
<h1>Lorem ipsum dolor sit</h1>
<p> amet consectetur adipisicing elit. Expedita quae quis nulla sapiente,?</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- Slide end-->
<div class="slider__slider slide2">
<div class="overlay"></div>
<div class="slide-detail">
<h1>Welcome to my shop</h1>
<p> amet consectetur adipisicing elit. Expedita quae quis nulla sapiente,?</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- Slide end-->
<div class="slider__slider slide3">
<div class="overlay"></div>
<div class="slide-detail">
<h1>Lorem ipsum dolor sit</h1>
<p> amet consectetur adipisicing elit. Expedita quae quis nulla sapiente,?</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- Slide end-->
<div class="slider__slider slide4">
<div class="overlay"></div>
<div class="slide-detail">
<h1>Lorem ipsum dolor sit</h1>
<p> amet consectetur adipisicing elit. Expedita quae quis nulla sapiente,?</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- Slide end-->
<div class="slider__slider slide5">
<div class="overlay"></div>
<div class="slide-detail">
<h1>Lorem ipsum dolor sit</h1>
<p> amet consectetur adipisicing elit. Expedita quae quis nulla sapiente,?</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- Slide end-->
<div class="left-arrow"><i class="bx bxs-left-arrow"></i></div>
<div class="right-arrow"><i class="bx bxs-right-arrow"></i></div>
</div>
</section>
<!-- home slider end-->
<section class="thumb">
<div class="box-container">
<div class="box">
<img src="img/thumb2.jpg" alt="">
<h3>green tea</h3>
<p> amet consectetur adipisicing elit expedita quae </p>
<i class="bx bx-chevron-right"></i>
</div>
<div class="box">
<img src="img/thumb0.jpg" alt="">
<h3>lemon tea</h3>
<p> amet consectetur adipisicing elit expedita quae </p>
<i class="bx bx-chevron-right"></i>
</div>
<div class="box">
<img src="img/thumb1.jpg" alt="">
<h3>green coffee</h3>
<p> amet consectetur adipisicing elit expedita quae </p>
<i class="bx bx-chevron-right"></i>
</div>
<div class="box">
<img src="img/thumb.jpg" alt="">
<h3>green tea</h3>
<p> amet consectetur adipisicing elit expedita quae </p>
<i class="bx bx-chevron-right"></i>
</div>
</div>
</section>
<section class="container">
<div class="box-container">
<div class="box">
<img src="img/about-us.jpg" alt="">
</div>
<div class="box">
<img src="img/download.png" alt="">
<span>healthy tea</span>
<h1>save up to 50% off</h1>
<p>Voluptate hic cumque impedit repudiandae consequuntur eveniet commodi consectetur sed ducimus laborum doloremque, deleniti, odit harum, magni quidem.</p>
</div>
</div>
</section>
<section class="shop">
<div class="title">
<img src="img/download.png" alt="">
<h1>Trending Products</h1>
</div>
<div class="row">
<img src="img/about.jpg" alt="">
<div class="row-details">
<img src="img/basil.jpg" alt="">
<div class="top-footer">
<h1>a cup of green tea makes you healthy</h1>
</div>
</div>
</div>
<div class="box-container">
<div class="box">
<img src="img/card.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/card0.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/card1.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/card2.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/10.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/6.webp" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
</div>
</section>
<section class="services">
<div class="box-container">
<div class="box">
<img src="img/icon2.png" alt="">
<div class="detail">
<h3>great saving</h3>
<p>save big every order</p>
</div>
</div>
<div class="box">
<img src="img/icon1.png" alt="">
<div class="detail">
<h3>24*7 support</h3>
<p>one-on-one support</p>
</div>
</div>
<div class="box">
<img src="img/icon0.png" alt="">
<div class="detail">
<h3>git vouchers</h3>
<p>vouchers on every festivals</p>
</div>
</div>
<div class="box">
<img src="img/icon.png" alt="">
<div class="detail">
<h3>worldwide delivery</h3>
<p>dropship worldwide</p>
</div>
</div>
</div>
</section>
<section classe="brand">
<div class="box-container">
<div class="box">
<img src="img/brand (1).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (2).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (3).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (4).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (5).jpg" alt="">
</div>
</div>
</section>
<?php
include 'components/footer.php'
?>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script>
<script src="script.js"></script>
<?php
include 'components/alert.php'
?>
</body>
</html>
<!-- arrter a 3:01:00 lien: https://www.youtube.com/watch?v=RlT_sxhQWYk -->