Skip to content

Commit 993c8eb

Browse files
committed
Refactor : add image instead of SVG
1 parent 7ef5eec commit 993c8eb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<link rel="stylesheet" href="css/style.css">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="stylesheet" href="css/style.css" />
77
<title>Responsive Navbar</title>
8-
</head>
9-
<body>
8+
</head>
9+
<body>
1010
<nav>
1111
<ul class="sidebar">
12-
<li><a href="#" onclick=hideSidebar()><svg xmlns="http://www.w3.org/2000/svg" height="26" viewBox="0 96 960 960" width="26"><path d="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z"/></svg></a></li>
12+
<li><a href="#" onclick=hideSidebar()><img src="assets/close_FILL0_wght400_GRAD0_opsz48.svg" alt="Close-icon"></a></li>
1313
<li><a href="#">Blog</a></li>
1414
<li><a href="#">Products</a></li>
1515
<li><a href="#">About</a></li>
@@ -23,8 +23,8 @@
2323
<li class="hideOnMobile"><a href="#">About</a></li>
2424
<li class="hideOnMobile"><a href="#">Forum</a></li>
2525
<li class="hideOnMobile"><a href="#">Login</a></li>
26-
<li class="menu-button" onclick=showSidebar()><a href="#"><svg xmlns="http://www.w3.org/2000/svg" height="26" viewBox="0 96 960 960" width="26"><path d="M120 816v-60h720v60H120Zm0-210v-60h720v60H120Zm0-210v-60h720v60H120Z"/></svg></a></li>
27-
</ul>
26+
<li class="menu-button" onclick=showSidebar()><a href="#"><img src="assets/menu_FILL0_wght400_GRAD0_opsz48.svg" alt="Menu-icon"></a></li>
27+
</ul>
2828
</nav>
2929
<main>
3030
<img class="Hero-bg" src="assets/laptop.jpg" alt="Hero-img">
@@ -40,4 +40,4 @@
4040
}
4141
</script>
4242
</body>
43-
</html>
43+
</html>

0 commit comments

Comments
 (0)