From aec575c3b5797069e4964cfafa26e3de3b92f99e Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 13 Dec 2021 22:04:03 +0100
Subject: chore: add main-nav component

I choose to implement main-nav paths manually instead of fetching
them from GraphQL to ensure functional navigation without JS.
---
 src/components/Icons/Hamburger/Hamburger.tsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 src/components/Icons/Hamburger/Hamburger.tsx

(limited to 'src/components/Icons/Hamburger/Hamburger.tsx')

diff --git a/src/components/Icons/Hamburger/Hamburger.tsx b/src/components/Icons/Hamburger/Hamburger.tsx
new file mode 100644
index 0000000..3b9e609
--- /dev/null
+++ b/src/components/Icons/Hamburger/Hamburger.tsx
@@ -0,0 +1,13 @@
+import styles from './Hamburger.module.scss';
+
+const HamburgerIcon = ({ isActive }: { isActive: boolean }) => {
+  return (
+    <span
+      className={`${styles.icon}${
+        isActive ? ` ${styles['icon--active']}` : ''
+      }`}
+    ></span>
+  );
+};
+
+export default HamburgerIcon;
-- 
cgit v1.2.3

