-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
260 lines (230 loc) · 11 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
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
259
260
<!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 page -->
<title>iStore - Home</title>
<!-- css links -->
<link rel="shortcut icon" href="https://i.ibb.co/52cFF2B/iconsmall.png" type="image/x-icon">
<link rel="stylesheet" href="./CSS/global.css">
<link rel="stylesheet" href="./CSS/index.css">
<!-- remix icon library -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<!-- font awesome library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<header class="header">
<div class="header-top">
<a href="#" class="logo">
<i class="ri-apple-fill"></i>
<span>i</span>Store
</a>
<div class="social-media">
<i class="ri-whatsapp-fill"></i>
<i class="ri-facebook-fill"></i>
<i class="ri-instagram-fill"></i>
</div>
<div class="head-icons">
<button class="btn" onclick="ChangeType('client')">
Buyer
<i class="ri-user-2-fill"></i>
</button>
<button class="btn" onclick="ChangeType('seller')">
Seller
<i class="ri-user-2-fill"></i>
</button>
<div class="cart-shop" onclick="CartPage()">
<i class="ri-shopping-cart-fill cart"></i>
<span class="count" id="countSpan">5</span>
</div>
</div>
</div>
<div class="header-nav">
<nav class="navbar navbar-top">
<a href="#">home</a>
<a href="#">Product</a>
<a href="#">About us</a>
<a href="#">Featured</a>
<a href="#">Contact us</a>
</nav>
<nav class="navbar navbar-bottom">
<a href="#">
<i class="ri-home-7-fill"></i>
</a>
<a href="#">
<i class="ri-product-hunt-fill"></i>
</a>
<a href="#">
<i class="ri-price-tag-3-fill"></i>
</a>
<a href="#">
<i class="ri-shield-star-fill"></i>
</a>
<a href="#">
<i class="ri-phone-fill"></i>
</a>
</nav>
</div>
</header>
<div class="actions container">
<div class="search-input">
<label for="Search" id="searches">Search:</label>
<input oninput="filterCategory()" id='search' type="text" id="searches2" placeholder="search" Search>
</div>
<select onchange="filterCategory()" name="cars" id="filter-category">
<option value="" selected>All</option>
<option value="TVs">TVs</option>
<option value="Smart Phone">Smart Phone</option>
<option value="Laptops">Laptops</option>
</select>
<button class="btn" id="add-new-product-btn">Add New Product</button>
</div>
<section id="productsList">
<div class="container">
<div class="row">
</div>
</div>
</section>
<section style="display: none;" class="product-form seller" id="popUp-add-product">
<form>
<i class="ri-close-fill" id="close-popup"></i>
<div class="product-name">
<label for="productName">Product Name</label>
<input type="text" id="product-name" name="title" required placeholder="Product Name" />
</div>
<div class="category-price">
<div class="product-category">
<label for="category">Category</label>
<select name="cars" id="category">
<option value="Computer">TVs</option>
<option value="Tablet">Smart Phone</option>
<option value="Mobile">Laptops</option>
</select>
</div>
<div class="product-price">
<label for="price">Price</label>
<input type="text" id="price" name="price" required placeholder="Price" />
</div>
</div>
<div class="product-img">
<label for="imgLink">Image Link</label>
<input name="image" type="text" id="img-link" required placeholder="Image Link" />
</div>
<div class="product-description">
<label for="description">Description</label>
<textarea name="description" id="description" required placeholder="Description"></textarea>
</div>
<div class="form-btn">
<button class="submit" type="submit">Submit</button>
<button class="reset" type="reset">Reset</button>
</div>
</form>
</section>
<section class="about">
<img src="https://media.istockphoto.com/photos/young-multicultural-couple-looking-for-new-smart-phone-to-buy-woman-picture-id1068874642?b=1&k=20&m=1068874642&s=170667a&w=0&h=h9QQVLsFG5AvacGgJnszeiNRNQwLaIFUw_w9gg_kuT4="
alt="about">
<div class="about-content">
<h2>Who We Are?</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Culpa cupiditate debitis itaque tempore facere
quas deserunt dolorem earum, alias sint quaerat, nobis, repellendus consequuntur animi? Molestias, in.
Eum, ipsum natus?
</p>
<marquee scrollAmount="4" bgColor="#ddd" loop="-1" width="100%">
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Maiores quos tenetur, quisquam libero in
deleniti sapiente? Ratione sapiente eum odio aliquid reprehenderit aperiam quae!
</marquee>
</div>
</section>
<section class="banner">
<div class="overlay">
<h4>Repair Services</h4>
<h2>Up to <span>30% off</span> All Mobile % tablet</h2>
<button class="btn">Explore More</button>
</div>
</section>
<footer class="footer">
<div class="boxes">
<div class="box">
<h3>pur locations</h3>
<a href="#"><i class="ri-map-pin-fill"></i>Israil</a>
<a href="#"><i class="ri-map-pin-fill"></i>USA</a>
<a href="#"><i class="ri-map-pin-fill"></i>Japan</a>
<a href="#"><i class="ri-map-pin-fill"></i>African</a>
<a href="#"><i class="ri-map-pin-fill"></i>Russia</a>
<a href="#"><i class="ri-map-pin-fill"></i>Asia</a>
</div>
<div class="box">
<h3>Quick Links</h3>
<a href="./index.html"><i class="ri-arrow-right-fill"></i>Home</a>
<a href="./index.html"><i class="ri-arrow-right-fill"></i>Product</a>
<a href="./index.html"><i class="ri-arrow-right-fill"></i>About</a>
<a href="./index.html"><i class="ri-arrow-right-fill"></i>Featured</a>
<a href="./index.html"><i class="ri-arrow-right-fill"></i>Contact</a>
</div>
<div class="box">
<h3>Extra Links</h3>
<a href="#"><i class="ri-arrow-right-fill"></i>Account Info</a>
<a href="#"><i class="ri-arrow-right-fill"></i>Privacy Policy</a>
<a href="#"><i class="ri-arrow-right-fill"></i>Payment Method</a>
<a href="#"><i class="ri-arrow-right-fill"></i>Our Services</a>
</div>
<div class="box">
<h3>Contact Info</h3>
<a href="#"><i class="ri-phone-fill"></i>+123-456-789</a>
<a href="#"><i class="ri-phone-fill"></i>+123-456-789</a>
<a href="#"><i class="ri-mail-fill"></i>[email protected]</a>
<img src="https://images.macrumors.com/t/Ys8qE4oG40xhvBLpdnuhyaTtHhY=/800x0/article-new/2016/09/istocknow-map.jpg?lossy"
class="map" alt="map">
</div>
</div>
<div class="shear">
<i class="ri-whatsapp-fill"></i>
<i class="ri-facebook-fill"></i>
<i class="ri-instagram-fill"></i>
<i class="ri-twitter-fill"></i>
</div>
<div class="credit">Created by <span>Team 10: Ali - Mohammed - Mai - Abdullah</span> | All Rights Reserved</div>
</footer>
<div class="product-popup">
<div class="product-details">
<div class="image-div">
<img src="" alt="" class="product-image">
<div class="small-images">
<img src="" alt="" class="product-small-image">
<img src="" alt="" class="product-small-image">
<img src="" alt="" class="product-small-image">
</div>
</div>
<div class="details">
<h1 class="product-title">Stylish Blue Jeans Jacket and Shirt</h1>
<div class="stars">
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
</div>
<p class="stars-description">5.0 out of 1258 Reviews</p>
<p class="price">$130</p>
<p class="quantity">Quantity: <button class="PlusOne mini-btns">+</button> <span
id="quantitySpan"></span> <button class="MinusOne mini-btns">-</button></p>
<input type="hidden" value="" id="detailsid">
<button class="addToCart" onclick="addToCart()">ADD TO CART</button>
<p class="description">Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat illum sunt magnam
sed, laborum numquam amet eveniet? Qui accusamus saepe, harum molestiae distinctio quo eos officiis
odio, illum a mollitia!</p>
</div>
</div>
<div class="x"><span class="x-span">×</span></div>
</div>
<script src="./JS/logic.js"></script>
<script src="./JS/dom.js"></script>
<script src="./JS/removeItem.js"></script>
</body>
</html>