-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu_sidebar_intro_2.html
More file actions
80 lines (77 loc) · 2.62 KB
/
menu_sidebar_intro_2.html
File metadata and controls
80 lines (77 loc) · 2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Collapsible Sidebar (Toggle Inside)</title>
<link rel="stylesheet" href="css/layout_menu_intro_2.css" />
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> -->
</head>
<body>
<!-- Add 'sidebar-left' or 'sidebar-right' class here -->
<div class="app-container sidebar-left">
<!-- Hidden Checkbox for Toggle (Keep BEFORE sidebar) -->
<input type="checkbox" id="sidebar-toggle" class="sidebar-toggle-input" />
<!-- Sidebar -->
<aside class="sidebar">
<!-- == Hamburger Toggle Label MOVED INSIDE sidebar == -->
<label for="sidebar-toggle" class="sidebar-toggle-label">
<span class="hamburger">
<span></span>
<span></span>
<span></span>
</span>
</label>
<!-- ================================================ -->
<nav>
<ul>
<li>
<a href="#">
<span class="icon">🏠</span>
<!-- <i class="fas fa-home icon"></i> -->
<span class="nav-text">Home</span>
</a>
</li>
<li>
<a href="#">
<span class="icon">📊</span>
<!-- <i class="fas fa-chart-bar icon"></i> -->
<span class="nav-text">Dashboard</span>
</a>
</li>
<li>
<a href="#">
<span class="icon">⚙️</span>
<!-- <i class="fas fa-cog icon"></i> -->
<span class="nav-text">Settings</span>
</a>
</li>
<li>
<a href="#">
<span class="icon">👤</span>
<!-- <i class="fas fa-user icon"></i> -->
<span class="nav-text">Profile</span>
</a>
</li>
<li>
<a href="#">
<span class="icon">❓</span>
<!-- <i class="fas fa-question-circle icon"></i> -->
<span class="nav-text">Help</span>
</a>
</li>
</ul>
</nav>
</aside>
<!-- Main Content Area -->
<main class="main-content">
<h1>Main Content Area</h1>
<p>
This is where the primary content of your page will go. The sidebar
toggle is now inside the sidebar itself.
</p>
<!-- Add more content here -->
</main>
</div>
</body>
</html>