forked from hellnoid/sugar-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.js
91 lines (78 loc) · 2.96 KB
/
header.js
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
let header = () => {
return `<div id="head1">
<a href="index.html"> <img src="https://media.sugarcosmetics.com/upload/Logo-static.jpg" id="logo"></a>
<div id="search">
<input id="search-bar" type="text" placeholder="Try Liquid Lipstick">
<input id="search-icon" type="submit" value="Search" onclick="gotoProductPageIN()">
</div>
<img id="user" class="icon" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/98/OOjs_UI_icon_userAvatar.svg/2048px-OOjs_UI_icon_userAvatar.svg.png">
<div id="signappend"></div>
<div id="navlogin">
<p>
<span><i class="fa-solid fa-user"></i></span> <div id="changename">Login/Register</div>
</p>
</div>
<!----- icons --->
<a href="#"><img id="heart" class="icon" src="https://cdn0.iconfinder.com/data/icons/glyphpack/51/heart-512.png"> </a>
<a href="cart/cart.html"><img class="icon" src="https://cdn-icons-png.flaticon.com/512/7446/7446956.png"> </a>
<a href="#"><img class="icon" src="https://static.thenounproject.com/png/170070-200.png"></a>
</div>
<!-----------head2-->
<div class="navbar">
<div class="dropdown">
<button class="dropbtn">MAKEUP
</button>
<div class="dropdown-content">
<a id="lips" href="#" onclick="LIPS()">LIPS</a>
<a id="eyes" href="#" onclick="EYE()">EYES</a>
<a id="face" href="#" onclick="FACE()">FACE</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">BRUSHES
</button>
<div class="dropdown-content">
<a id="facebrush" href="#" onclick="FACEBRUSH()">FACE BRUSHES</a>
<a id="eyebrush" href="#" onclick="EYEBRUSH()">EYE BRUSHES</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">SKINCARE
</button>
<div class="dropdown-content">
<a id="moisturisers" href="#">MOISTURISERS</a>
<a id="sunscreen" href="#">SUNSCREEN</a>
<a href="#">SETTING MISTS</a>
<a href="#">COFFE CULTURE<br> RANGE</a>
<a href="#">SHEET MASK<br> COMBO</a>
<a href="#">CITRUS GOT REAL<br> RANGE</a>
<a href="#">AQUAHOLIC<br> RANGE</a>
<a href="#">MASKS</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">GIFTING
</button>
<div class="dropdown-content">
<a href="#">SUGAR MERCH<br> STATION</a>
<a href="#">MAKEUP KITS</a>
<a href="#">BEST SELLERS</a>
<a href="#">VALUE SETS</a>
<a href="#">SUGAR SETS</a>
<a href="#">E-GIFT CARDS</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">BLOG
</button>
<div class="dropdown-content">
<a href="#">FEATURED</a>
<a href="#">MAKE UP</a>
<a href="#">SKINCARE</a>
</div>
</div>
<a href="">OFFERS</a>
<a href="">STORES</a>
</div>`;
};
export { header };