-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmen.html
213 lines (156 loc) · 14.1 KB
/
men.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
<!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>Mens</title>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/navbar.css">
<link rel="stylesheet" href="./css/footer.css">
</head>
<style>
</style>
<body>
<div id="navbar__container"></div>
<div id="up">
<p id="women"> <a href="index.html"> WOMEN</a></p>
<p id="dis">SALE: UP TO 70% OFF! <br>IT'S CALLED BIG-DISCOUNT ENERGY</p>
<p id="men"><a href="men.html">MEN</a></p>
</div>
<div id="pink">
<button id="sale">SALE</button>
<p id="sale1"> UP TO 70% OFF! <br>IT'S CALLED BIG <br>
DISCOUNT ENERGY</p>
<div id="wimg">
<img src="./home/m1 (1).png" alt="">
<img src="./home/m1 (2).png" alt="">
<img src="./home/m1 (3).png" alt="">
<img src="./home/m1 (4).png" alt="">
<img src="./home/m1 (5).png" alt="">
<img src="./home/m1 (6).png" alt="">
</div>
<div id="view">VIEW ALL</div>
<p id="limit">Limited time only. Selected styles marked down as shown.</p>
</div>
<div id="large1">
<a href=""><img id="large" src="./home/k.png" alt=""></a>
</div>
<div id="out">
<div>
<a href="productpage1.html"><img class="out_img" src="https://content.asos-media.com/-/media/homepages/mw/2022/june/06/moments/mw_asos_design_festive_jewels_moment_870x1110.jpg" alt=""></a>
<p class="titl">ASOS DESIGN JEWELS</p>
<p class="titl1">E-boy energy</p> </div>
<div>
<a href="productpage1.html"><img class="out_img" src="https://content.asos-media.com/-/media/homepages/mw/2022/june/06/moments/mw_au_footwear_moment_870x1110.jpg" alt=""></a>
<p class="titl">SHOES</p>
<p class="titl1">Sneaky picks</p></div>
<div>
<a href="productpage1.html"><img class="out_img" src="https://content.asos-media.com/-/media/homepages/mw/2022/june/06/moments/mw_asos_design_skate_prints_moment_870x1110.jpg" alt=""></a>
<p class="titl">SKATE PRINTS</p>
<p class="titl1">Punk perfection by ASOS DESIGN</p></div>
<div>
<a href="productpage1.html"><img class="out_img" src="https://content.asos-media.com/-/media/homepages/mw/2022/june/06/moments/mw_hiit_moment_870x1110.jpg" alt=""></a>
<pn class="titl">HIIT</pn>
<p class="titl1">Ready,sweat,go!</p></div>
</div>
<div>
<img id="border" src="./home/c.png" alt="">
</div>
<div id="low">
<div>
<a href="productpage1.html"> <img class="low_img" src="./home/l.png" alt=""></a>
<p class="aa">TOPMAN</p>
<p class="bb">Top-tier threads</p>
<p class="shop">SHOP THE BRAND</p>
</div>
<div>
<a href="productpage1.html"> <img class="low_img" src="./home/m.jpg" alt=""></a>
<p class="aa1"> SWIM ESSENTIALS</p>
<p class="bb1">Everything's just beachy</p>
<p class="shop">SHOP NOW</p>
</div>
</div>
<p id="trend">TRENDING BRANDS</p>
<div id="logo">
<img class="logo_img" src="https://content.asos-media.com/-/media/homepages/unisex/brands-logos/256x256/tommy-hilfiger-hp-logos-256x256.jpg" alt="">
<img class="logo_img"src="https://content.asos-media.com/-/media/homepages/unisex/brands-logos/256x256/north-face.png" alt="">
<img class="logo_img" src="https://content.asos-media.com/-/media/homepages/unisex/brands-logos/256x256/nike-hp-logos-256x256.jpg" alt="">
<img class="logo_img" src="https://content.asos-media.com/-/media/homepages/unisex/brands-logos/256x256/carhartt-hp-logos-256x256.jpg" alt="">
<img class="logo_img" src="https://content.asos-media.com/-/media/homepages/unisex/brands-logos/256x256/ellesse-hp-logos-256x256.jpg" alt="">
<img class="logo_img" src="https://content.asos-media.com/-/media/homepages/unisex/brands-logos/256x256/dr-martens-hp-logos-256x256.jpg" alt="">
</div>
<hr>
<div id="pay">
<div>
<a href="https://www.facebook.com/ASOS/"> <img class="smedia" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' width='30'%3E%3Cpath d='M15 30C6.716 30 0 23.284 0 15 0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15zm6.075-21.75H8.925c-.341 0-.675.334-.675.675v12.15c0 .341.333.675.675.675H15v-5.4h-1.35v-2.025H15v-1.35c.46-1.737 1.526-2.686 2.7-2.7 1.126.014 1.767.07 2.025 0V12.3h-1.35c-.646-.108-.81.294-1.35.675v1.35h2.7l-.675 2.025h-2.025v5.4h4.05c.341 0 .675-.334.675-.675V8.925c0-.341-.334-.675-.675-.675z' fill='%233C5A99' fill-rule='evenodd'/%3E%3C/svg%3E" alt=""></a>
<a href="https://www.instagram.com/asos/"><img class="smedia" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath fill='%238433B7' d='M15 30C6.716 30 0 23.284 0 15 0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15zm0-21.147c2.002 0 2.24.008 3.03.044.73.033 1.128.155 1.392.258.35.136.6.299.862.561.262.262.425.512.56.862.104.264.226.661.259 1.392.036.79.044 1.028.044 3.03s-.008 2.24-.044 3.03c-.033.73-.155 1.128-.258 1.392-.136.35-.299.6-.561.862a2.323 2.323 0 01-.862.56c-.264.104-.661.226-1.392.259-.79.036-1.028.044-3.03.044s-2.24-.008-3.03-.044c-.73-.033-1.128-.155-1.392-.258-.35-.136-.6-.299-.862-.561a2.323 2.323 0 01-.56-.862c-.104-.264-.226-.661-.259-1.392-.036-.79-.044-1.028-.044-3.03s.008-2.24.044-3.03c.033-.73.155-1.128.258-1.392.136-.35.299-.6.561-.862a2.31 2.31 0 01.862-.56c.264-.104.661-.226 1.392-.259.79-.036 1.028-.044 3.03-.044zm0-1.35c-2.036 0-2.292.008-3.091.044-.798.037-1.343.164-1.82.349a3.675 3.675 0 00-1.328.865 3.675 3.675 0 00-.865 1.328c-.185.477-.312 1.022-.349 1.82-.036.8-.045 1.055-.045 3.091 0 2.036.009 2.292.045 3.091.037.798.164 1.343.349 1.82.192.493.448.911.865 1.328a3.68 3.68 0 001.328.865c.477.185 1.022.312 1.82.349.8.036 1.055.045 3.091.045 2.036 0 2.292-.009 3.091-.045.798-.037 1.343-.164 1.82-.349a3.675 3.675 0 001.328-.865 3.68 3.68 0 00.865-1.328c.185-.477.312-1.022.349-1.82.036-.8.045-1.055.045-3.091 0-2.036-.009-2.292-.045-3.091-.037-.798-.164-1.343-.349-1.82a3.675 3.675 0 00-.865-1.328 3.675 3.675 0 00-1.328-.865c-.477-.185-1.022-.312-1.82-.349-.8-.036-1.055-.045-3.091-.045zm0 3.647a3.85 3.85 0 100 7.7 3.85 3.85 0 000-7.7zm0 6.35a2.5 2.5 0 110-5 2.5 2.5 0 010 5zm4.902-6.502a.9.9 0 10-1.8 0 .9.9 0 001.8 0z' fill-rule='evenodd'/%3E%3C/svg%3E" alt=""></a>
<a href="https://www.snapchat.com/add/asosfashion"><img class="smedia" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 40 40'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFFC02' d='M20 0C8.954 0 0 8.954 0 20s8.954 20 20 20 20-8.954 20-20A20 20 0 0020 0zm10 25.94c-.12.28-.66.68-2.54 1a.72.72 0 00-.3.65c0 .15-.07.31-.11.47a.25.25 0 01-.27.2 2.32 2.32 0 01-.42-.05 5.54 5.54 0 00-1.13-.12 5 5 0 00-.82.07c-.57.146-1.1.42-1.55.8A4.35 4.35 0 0120.13 30h-.26a4.35 4.35 0 01-2.68-1.07 3.89 3.89 0 00-1.55-.8 5 5 0 00-.81-.07 5.51 5.51 0 00-1.13.13 2.45 2.45 0 01-.42.06A.26.26 0 0113 28c0-.16-.08-.32-.11-.47a.75.75 0 00-.3-.65c-1.88-.29-2.42-.69-2.54-1a.37.37 0 010-.12.21.21 0 01.18-.22c2.89-.48 4.18-3.47 4.24-3.6a1.13 1.13 0 00.1-.94 2 2 0 00-1.27-.82l-.3-.05c-.85-.34-.93-.69-.89-.87a.81.81 0 01.78-.52.54.54 0 01.23 0c.31.16.651.252 1 .27a.84.84 0 00.62-.2v-.62a10.35 10.35 0 01.24-4.08A5.22 5.22 0 0119.79 11h.4a5.23 5.23 0 014.86 3.17c.35 1.33.432 2.718.24 4.08v.62a.82.82 0 00.56.2 2.55 2.55 0 001-.27.72.72 0 01.3-.06c.12 0 .24.024.35.07a.64.64 0 01.48.53 1.06 1.06 0 01-.9.81l-.28.1a2 2 0 00-1.27.82 1.13 1.13 0 00.1.94c.05.13 1.35 3.11 4.24 3.6a.21.21 0 01.18.22.37.37 0 01-.05.11z'/%3E%3Cpath fill='%23000' fill-rule='nonzero' d='M29.446 25.569a.297.297 0 00-.026.048l.026-.048zm-2.45-6.08a.393.393 0 00.192-.079.334.334 0 00-.05-.003c-.007 0-.014.001.013-.012a3.19 3.19 0 01-.27.121l.116-.027zm-13.44 8.05c.435-.094.85-.141 1.277-.146.308.002.615.028.972.091.669.171 1.29.491 1.824.944a3.669 3.669 0 002.241.905h.246a3.685 3.685 0 002.313-.882 4.587 4.587 0 011.87-.948c.307-.052.618-.079.933-.08.423.002.844.046 1.259.133-.01-.457.207-.892.583-1.16l.274-.113c.589-.1 1.037-.207 1.36-.304-.98-.379-1.823-1.031-2.533-1.875-.579-.687-1.007-1.438-1.118-1.753a1.797 1.797 0 01-.159-1.494l.086-.169c.353-.505.868-.87 1.387-1.019.056-.016.112-.03.169-.04a3.232 3.232 0 01-.671.107 1.487 1.487 0 01-1.016-.362l-.23-.2v-.864l.007-.153a9.73 9.73 0 00-.193-3.724 4.566 4.566 0 00-4.247-2.766h-.405c-1.814-.013-3.462 1.053-4.16 2.613a9.926 9.926 0 00-.218 3.91v.926l-.232.2a1.493 1.493 0 01-1.09.36 3.137 3.137 0 01-1.27-.343l.305-.593-.142.651a.416.416 0 01-.107.015c-.061-.001-.117.036-.11-.001.019-.085 0-.162-.018-.185.018.023.048.05.09.08.038.027.086.057.146.088a2.692 2.692 0 00.269.123L13 20.13l.11-.658.313.053a2.666 2.666 0 011.693 1.093l.086.169c.168.497.11 1.043-.127 1.432a8.177 8.177 0 01-1.306 1.995c-.693.777-1.504 1.374-2.444 1.72a5.455 5.455 0 01-1 .266.457.457 0 00.39-.478l-.007.146a.297.297 0 00.004-.055c-.001-.014-.222.009-.662.067l.622-.24c.022.058.223.17.653.295.321.093.77.194 1.367.286l.164.025.133.1a1.417 1.417 0 01.568 1.193c0 .008-.223.005-.667-.009l.654-.13a6.498 6.498 0 00.032.107c.066.215.09.327.09.47a.407.407 0 00-.423-.393 1.764 1.764 0 00.313-.045zm14.27.013c0 .217-.025.324-.097.56a2.468 2.468 0 00-.03.1c-.101.451-.522.757-.937.714a2.984 2.984 0 01-.54-.064 4.531 4.531 0 00-1.647-.056 3.22 3.22 0 00-1.282.661 5.026 5.026 0 01-3.163 1.2h-.288a5.01 5.01 0 01-3.083-1.228 3.208 3.208 0 00-1.23-.652 4.312 4.312 0 00-.692-.06 4.83 4.83 0 00-.986.112 3.06 3.06 0 01-.52.076.927.927 0 01-.998-.915c0 .008-.005-.016-.03-.093a2.036 2.036 0 01-.067-.246l-.01-.165c-1.672-.284-2.538-.704-2.798-1.375l-.036-.133a1.037 1.037 0 01-.009-.27.872.872 0 01.738-.836c1.03-.17 1.912-.725 2.653-1.556a6.856 6.856 0 001.123-1.727.463.463 0 00.061-.303 1.322 1.322 0 00-.768-.458l-.3-.05-.138-.039c-.973-.39-1.439-.976-1.265-1.727a1.477 1.477 0 011.345-.949c.143-.02.289-.015.43.016l.163.058c.2.103.416.167.654.191a11.222 11.222 0 01.291-4.497 5.885 5.885 0 015.42-3.508h.393c2.38-.024 4.542 1.386 5.512 3.667.372 1.417.46 2.893.262 4.25v.14c.207-.029.412-.094.626-.201.182-.08.38-.119.567-.116.208 0 .414.042.51.09.516.127.904.555.98 1.082l-.01.247a1.728 1.728 0 01-1.395 1.309l-.312.104a1.333 1.333 0 00-.78.46c-.014.108.015.232.11.406.482 1.254 1.834 2.86 3.711 3.179a.877.877 0 01.752.918l-.022.135c-.024.09-.06.175-.106.254-.295.597-1.157.998-2.762 1.295z'/%3E%3C/g%3E%3C/svg%3E" alt=""></a>
</div>
<div>
<img class="card" src="https://images.asos-media.com/navigation/visa-png" alt="">
<img class="card" src="https://images.asos-media.com/navigation/mastercard-png" alt="">
<img class="card" src="https://images.asos-media.com/navigation/pay-pal-png" alt="">
<img class="card"src="https://images.asos-media.com/navigation/american-express-png" alt="">
<img class="card" src="https://images.asos-media.com/navigation/visa-electron-png" alt="">
</div>
</div>
<div id="footer">
</div>
</body>
</html>
<script type="module">
import foot from "./js/footer.js";
document.querySelector("#footer").innerHTML=foot()
import navbar from "./js/navbar.js"
document.getElementById("navbar__container").innerHTML=navbar()
let userCredentials = JSON.parse(localStorage.getItem('data')) || null;
// console.log(userCredentials);
let signedUser = document.getElementById('signedUser')
let logoutByUser = document.getElementById('logoutByUser');
if(userCredentials === null){
signedUser.innerHTML = "Sign In"
logoutByUser.innerHTML = "Join"
}else{
signedUser.innerHTML = "Hi"+" "+userCredentials.fname2
signedUser.style.textDecoration = "none";
signedUser.style.color = "#2D2D2D"
signedUser.style.fontWeight = "bold"
logoutByUser.innerHTML = "Logout"
}
let accDrop = document.getElementById('accDrop');
let bagDrop = document.getElementById('bagDrop');
function closeMenu(){
accDrop.style.display = "none";
bagDrop.style.display = "none";
window.location.reload();
}
let productdata = JSON.parse(localStorage.getItem('productdata'))
let totalprice = JSON.parse(localStorage.getItem('totalprice'));
let cartContainer__product = document.getElementById('cartContainer__product');
if(userData.length === 0){
bagDropContainer.classList.add('bagDropdownEvent')
}
let cartSubTotal = document.getElementById('cartSubTotal');
productdata.forEach(el => {
let d1 = document.createElement('div');
let img = document.createElement('img');
img.src = el.imgage;
d1.append(img);
let d2 = document.createElement('div');
let p1 = document.createElement('p');
p1.innerText = el.price;
let p2 = document.createElement('p');
p2.innerText = el.details;
let d2_0 = document.createElement('div');
let p2_0 = document.createElement('p');
p2_0.innerText = el.size;
let p3_0 = document.createElement('p');
p3_0.innerText = el.quantity
d2_0.append( p2_0, p3_0)
d2.append(p1, p2, d2_0);
cartSubTotal.innerText = totalprice;
cartContainer__product.append(d1, d2)
bagDropContainer.classList.remove('bagDropdownEvent');
})
</script>