-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
142 lines (135 loc) · 4.74 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
<!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>UI | Navbar</title>
<!-- ------------------- CSS files here-------------------- -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"
integrity="sha512-oHDEc8Xed4hiW6CxD7qjbnI+B07vDdX7hEPTvn9pSZO1bcRqHp8mj9pyr+8RVC2GmtEfI2Bi9Ke9Ass0as+zpg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" type="text/css" href="style.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=Poppins:wght@500&display=swap" rel="stylesheet" />
</head>
<body>
<div class="side_bar">
<div class="top_bar">
<span></span>
<span class="side_bar_btn">
<i class="fa-solid fa-caret-left"></i>
</span>
</div>
<div class="logo_group">
<a href="#"
><p class="logo-text">Linked</p>
<img src="img/logo/linkedin_128px.png" />
</a>
</div>
<!--------Menu------------->
<div class="menu">
<h4 class="menu-title">Menu</h4>
<ul>
<li>
<a href="">
<span class="icon icon-menu"><img src="img/icon/my-offers.svg" /></span>
<span class="text">My Offers</span>
</a>
</li>
<li>
<a href="">
<span class="icon icon-menu"><img src="img/icon/user-task.svg" /></span>
<span class="text">User's Task</span>
</a>
</li>
<li>
<a href="">
<span class="icon icon-menu"><img src="img/icon/product-discounts.svg" /></span>
<span class="text">Product Discounts</span>
</a>
</li>
<li>
<a href="">
<span class="icon icon-menu"><img src="img/icon/case-study.svg" /></span>
<span class="text">Case Study</span>
</a>
</li>
<li>
<a href="">
<span class="icon icon-menu"><img src="img/icon/security.svg" /></span>
<span class="text">Security</span>
</a>
</li>
<li>
<a href="">
<span class="icon icon-menu"><img src="img/icon/your-ability.svg" /></span>
<span class="text">Your Ability</span>
</a>
</li>
</ul>
</div>
<div class="message_group">
<div class="title">
<h4>Messages</h4>
<div class="arrow">
<img src="img/arrows/left-arrow.png" />
<img src="img/arrows/right-arrow.png" />
</div>
</div>
<div class="messages">
<ul>
<li>
<a href="">
<span class="user_thumb"><img src="img/user/icons8-user-64.png" /></span>
<span class="user_name">Max Maraston</span>
</a>
</li>
<li>
<a href="">
<span class="user_thumb"><img src="img/user/icons8-user-64.png" /></span>
<span class="user_name">Celie W McCombs</span>
</a>
</li>
<li>
<a href="">
<span class="user_thumb"><img src="img/user/icons8-user-64.png" /></span>
<span class="user_name">Edna J Critchlow</span>
</a>
</li>
<li>
<a href="">
<span class="user_thumb"><img src="img/user/icons8-user-64.png" /></span>
<span class="user_name">Dima Groshev</span>
</a>
</li>
</ul>
<span class="view_all">
<span class="vicon"><i class="fa-solid fa-caret-down"></i></span>
<span class="vtext">All Messages</span>
</span>
</div>
</div>
</div>
<!-- ------------------- Scripts-------------------- -->
<script src="https://kit.fontawesome.com/eead678de6.js" crossorigin="anonymous"></script>
<!-- <script src="jquery-3.6.0.js"></script> -->
<script>
// $(document).ready(function () {
// $('.side_bar_btn').click(function () {
// $('.side_bar').toggleClass('collaps');
// });
// });
const sideBarBtn = document.querySelector('.side_bar_btn');
const sideBarEl = document.querySelector('.side_bar');
sideBarBtn.addEventListener('click', (evt) => {
sideBarEl.classList.toggle('collapse');
});
</script>
</body>
</html>