-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathcart.html
191 lines (185 loc) · 7.56 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
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://cdn.lineicons.com/3.0/lineicons.css" rel="stylesheet">
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
<meta name="viewport" content="with=device-width, initial-scale=1.0">
<title>Pharma Company</title>
<link rel="stylesheet" href="cart.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Spartan:wght@300&display=swap" rel="stylesheet">
<script src="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.4.0/firebase-ui-auth.css" />
</head>
<body>
<section class="header">
<nav>
<a href="#"><img src="images/Logo.png" alt=""></a>
<div class="nav-links" id="navLinks">
<i class="fas fa-times" onclick="hideMenu()"></i>
<ul>
<input type="text" class="nav-search" placeholder="Search..">
<li><a href="index.html"><i class="uil uil-estate"></i> Home</a></li>
<li><a href="offers.html"><i class="lni lni-offer"></i> Offers</a></li>
<li><button class="gbtn" onclick="loginWithGoogle()"><i class="fa fa-fw fa-user"></i> Login/
Sign-up</button></li>
<li><a href="#"><i class="uil uil-shopping-cart"></i> Cart</a></li>
</ul>
</div>
<script type="text/javascript">
function sign() {
console.log("sign");
}
</script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-storage.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCmuvv_ew03FKSvxtVLIc_9OWcH6GjbO1w",
authDomain: "tcetdev.firebaseapp.com",
projectId: "tcetdev",
storageBucket: "tcetdev.appspot.com",
messagingSenderId: "323333761920",
appId: "1:323333761920:web:0c1ef126c2f6b301c0ef65",
measurementId: "G-0KHX2EJ3BR"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="./scripts/auth.js"></script>
<script src="./scripts/firestore-db.js"></script>
<i class="fas fa-bars" onclick="showMenu()"></i>
</nav>
<!--Javascript for toggle menu-->
<script>
var navLinks = document.getElementById("navLinks")
function showMenu() {
navLinks.style.right = "0";
}
function hideMenu() {
navLinks.style.right = "-200px";
}
</script>
<!--cart items details-->
<div class="small-container cart-page">
<table>
<tr>
<th>Products</th>
<th>Quantity</th>
<th>Subtotal</th>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/band-aid.png">
<div>
<p>Band-Aid</p>
<small>Price : ₹199</small>
<br>
<a href="">Remove</a>
</div>
</div>
</td>
<td><input type="number" value="1" min="0" max="10"></td>
<td>₹199</td>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/mask.png">
<div>
<p>Mask</p>
<small>Price : ₹364</small>
<br>
<a href="">Remove</a>
</div>
</div>
</td>
<td><input type="number" value="1" min="0" max="10"></td>
<td>₹199</td>
</tr>
<tr>
<td>
<div class="cart-info">
<img src="images/conditioner.jpg">
<div>
<p>Conditioner</p>
<small>Price : ₹199</small>
<br>
<a href="">Remove</a>
</div>
</div>
</td>
<td><input type="number" value="1" min="0" max="10"></td>
<td>₹199</td>
</tr>
</table>
<div class="total-price">
<table>
<tr>
<td>Subtotal</td>
<td>₹599</td>
</tr>
<tr>
<td>Tax</td>
<td>₹99</td>
</tr>
<tr>
<td>Subtotal</td>
<td>₹698</td>
</tr>
</table>
</div>
</div>
</section>
<section class="footer">
<div class="foot">
<div class="foot-content">
<div class="foot-shop">
<h3>Home</h3><br><br>
<ul>
<li><a href="shop.html#essentials">Covid-19 Essentials</a></li><br>
<li><a href="shop.html#mom&care">Mom & Baby Health care</a></li><br>
<li><a href="shop.html#Ayurvedic">Ayurvedic</a></li><br>
<li><a href="hcp.html#Emergency">Emergency Kit</a></li><br>
</ul>
</div>
<div class="foot-company">
<h3>Company</h3><br><br>
<ul>
<li><a href="#">Careers</a></li><br>
<li><a href="#">Blog</a></li><br>
<li><a href="#">Partner with medico</a></li><br>
<li><a href="#">Sell at medico</a></li><br>
</ul>
</div>
<div class="foot-help">
<h3>Need Help?</h3><br><br>
<ul>
<li><a href="FAQs.html">FAQs</a></li><br>
<li><a href="mailto: khushiy0842@gmail.com">Contact us</a></li><br>
</ul>
</div>
<div class="icons">
<h3>Follow us</h3>
<a href=""><i class="fab fa-instagram fa-2x"></i></a>
<a href=""><i class="fab fa-facebook-square fa-2x"></i></a>
<a href=""><i class="fab fa-twitter-square fa-2x"></i></a>
<a href=""><i class="fab fa-youtube fa-2x"></i></a>
</div>
</div>
<div class="foot-bottom">
© medico.com | Made with <i class="lni lni-heart"></i> by TCETDEV
</div>
</div>
</section>
</body>
</html>