- {
- navLink.map((link, index) => {
- return (
- link.name == "" ? (
{link.icon}
- ) : link.name == "Doc" ? (
{link.icon}{link.name}
- ) : link.name == "Contributors" ? (
{link.icon}{link.name}
- ) : link.name == "Home" ? (
{link.icon}{link.name}
- ) : null
- )
- })
- }
+ {/* Menu icon */}
+
setOpen((val) => !val)}
+ className="cursor-pointer md:hidden"
+ >
+ {open ? : }
+
-
+ {/* Nav link items */}
+
+ {navLink.map((link, index) => {
+ return (
+
+ {link?.isExternalURL ? (
+
+ {link.icon}
+
+ ) : (
+
+ {link.icon}
+ {link.name}
+
+ )}
+
+ );
+ })}
+
+
-
-
-
-
- {/*
-
Under Construction
-
-
Doc
-
-
Contributors
-
-
*/}
-
-
+
);
}
-export default Header;
\ No newline at end of file
+export default Header;
diff --git a/src/index.css b/src/index.css
index 20bde79..49cd9cd 100644
--- a/src/index.css
+++ b/src/index.css
@@ -77,7 +77,7 @@ html {
scrollbar-width: none;
}
-.githubbtn {
+.githubBtn {
color: #9912d8;
animation: pulse 2s linear infinite alternate;
}
@@ -96,5 +96,4 @@ html {
}
}
-
-/*# sourceMappingURL=style.css.map */
\ No newline at end of file
+/*# sourceMappingURL=style.css.map */