-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
98 lines (93 loc) · 4.43 KB
/
cart.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/all.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg fixed-top">
<div class="container">
<a class="navbar-brand" href="index.html">
<img src="imgs/istockphoto-1172893073-612x612.jpg" alt="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link " aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link " aria-current="page" href="brands.html">Brands</a>
</li>
<li class="nav-item">
<a class="nav-link " aria-current="page" href="category.html">Categories</a>
</li>
<li class="nav-item">
<a class="nav-link " aria-current="page" href="contact.html">Contact Us</a>
</li>
<li class="nav-item showWish d-none">
<a class="nav-link" aria-current="page" href="wish.html">Wishlist </a>
</li>
<li class="nav-item showCart d-none">
<a class="nav-link" aria-current="page" href="cart.html">Cart </a>
</li>
</ul>
<a href="user.html" class="user position-relative d-none">
<i class="fa-regular fa-user mx-2 fa-1x"></i>
</a>
<a href="cart.html" class="position-relative showCartI d-none">
<i class="fa-solid fa-cart-shopping fa-1x"></i>
<p class="carts d-inline position-absolute rounded rounded-circle "></p>
<!-- for carts length-->
</a>
<!-- Btns Register and Login -->
<div id="registerBtn" class="registerBtn">
<a href="signup.html"> Sign Up </a>
<a href="login.html"> Login </a>
</div>
<div class="logOut">
<a id="logoutBtn" class="d-none">Logout</a>
</div>
</div>
</div>
</nav>
<div class=" head d-flex justify-content-center mx-5">
<div class="heading ">
<h2 class="text-center border-bottom pb-3">
Get Your <span class="text-main ">Cart</span>
</h2>
</div>
</div>
<section class="bg-main-light py-4 rounded-2 px-5">
<div class="summary d-flex justify-content-between align-items-center py-3">
<p class='fs-3 fw-bold m-0'>Total Price : <span class='text-main'></span></p>
<button class="btn btn-danger" onClick=clearCart()>
Clear All
</button>
</div>
<div class="container pt-5">
<div class="row g-4" id="cart-container">
<!-- المنتجات سيتم إضافتها هنا -->
</div>
</div>
<a to='/checkout' class='btn bg-main text-white mt-4 w-75 mx-auto p-2 fs-4 fw-bold d-block '>Checkout
</a>
</section>
<script src="jS/bootstrap.bundle.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<script src="./js/main.js"></script>
</body>
</html>