forked from ronitk18/Dharohar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSidepages.html
More file actions
96 lines (80 loc) · 3.62 KB
/
Copy pathSidepages.html
File metadata and controls
96 lines (80 loc) · 3.62 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Sidebar Example</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css"
integrity="sha384-tViUnnbYAV00FLIhhi3v/dWt3Jxw4gZQcNoSCxCIFNJVCx7/D55/wXsrNIRANwdD" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css"
integrity="sha384-tViUnnbYAV00FLIhhi3v/dWt3Jxw4gZQcNoSCxCIFNJVCx7/D55/wXsrNIRANwdD" crossorigin="anonymous">
<style>
body {
display: flex;
height: 100vh;
/* Full height */
margin: 0;
}
.sidebar {
width: 250px;
background-color: #f8f9fa;
padding: 20px;
border-right: 1px solid #dee2e6;
}
.scrollable-menu {
overflow-y: auto;
/* Enable vertical scrolling */
flex-grow: 1;
/* Allow the menu to grow */
scrollbar-width: none;
/* For Firefox */
-ms-overflow-style: none;
/* For Internet Explorer and Edge */
}
.scrollable-menu::-webkit-scrollbar {
display: none;
/* For Chrome, Safari, and Opera */
}
h6 i {
color: green;
}
.bi-flag-fill {
color: red;
}
</style>
</head>
<body>
<div class="sidebar d-flex flex-column">
<!-- Top Section with Image and Texts -->
<div class="d-flex align-items-center mb-4">
<img src="./Images/WhatsApp Image 2024-12-27 at 17.14.07_43d8dc5e.jpg" width="150" height="300" alt="Sidebar Image" class="img-fluid" style="width: 80px; height: auto; border-radius: 5px;">
<div class="ml-3">
<h6 class="mt-2 mb-1"><i>DHAROHAR</i></h6>
<h6 class="mb-2"><span class="bi bi-flag-fill">INDIA</span></h6>
<h6 class="mb-0"><button type="button" class="btn btn-sm btn-outline-primary">Login</button></h6>
</div>
</div>
<!-- Scrollable List of Items -->
<div class="scrollable-menu">
<h5 class="mt-4">Menu</h5>
<ul class="list-unstyled">
<li class="border-bottom py-2"><a href="#" class="text-dark">Account</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">Contact Us</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">Your Orders</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">Login</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">FAQ'S</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">Rental</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">Payments</a></li>
<li class="border-bottom py-2"><a href="#" class="text-dark">Coupons</a></li>
</ul>
</div>
</div>
<div class="content p-4">
<h1>Main Content Area</h1>
<p>This is where the main content of the page will go.</p>
</div>
</body>
</html>