Skip to content

Commit 49f8c32

Browse files
authored
Update dashboard.html
Updated
1 parent e0fce97 commit 49f8c32

File tree

1 file changed

+48
-1
lines changed

1 file changed

+48
-1
lines changed

dashboard.html

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
align-items: center;
4040
}
4141

42-
.menu-item {
42+
.menu-item {
4343
text-decoration: none;
4444
color: #555;
4545
font-size: 16px;
@@ -56,6 +56,51 @@
5656
color: white;
5757
}
5858

59+
.menu-toggle {
60+
display: none;
61+
flex-direction: column;
62+
cursor: pointer;
63+
}
64+
65+
.menu-toggle span {
66+
height: 3px;
67+
width: 25px;
68+
background: #333;
69+
margin: 4px 0;
70+
}
71+
72+
.menu-items {
73+
display: flex;
74+
gap: 10px;
75+
}
76+
77+
@media (max-width: 768px) {
78+
nav {
79+
flex-direction: column;
80+
align-items: flex-start;
81+
}
82+
83+
.menu-toggle {
84+
display: flex;
85+
}
86+
87+
.menu-items {
88+
display: none;
89+
flex-direction: column;
90+
width: 100%;
91+
}
92+
93+
.menu-items.active {
94+
display: flex;
95+
}
96+
97+
.menu-item {
98+
width: 100%;
99+
text-align: left;
100+
padding: 12px 20px;
101+
}
102+
}
103+
59104
.dashboard-container {
60105
display: flex;
61106
flex-wrap: wrap;
@@ -149,6 +194,8 @@
149194
<a href="water.html" class="menu-item">💧 Water</a>
150195
<a href="reports.html" class="menu-item">📊 Reports</a>
151196
<a href="tutorials.html" class="menu-item">🎓 Tutorials</a>
197+
<a href="about.html" class="menu-item">📖 About</a>
198+
<a href="contacts.html" class="menu-item">📞 Contacts</a>
152199
</nav>
153200
</header>
154201

0 commit comments

Comments
 (0)