+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/music_club_website_base_template/src/components/Navbar/MenuItem.js b/music_club_website_base_template/src/components/Navbar/MenuItem.js
index b4bdc6b..fff6dc0 100644
--- a/music_club_website_base_template/src/components/Navbar/MenuItem.js
+++ b/music_club_website_base_template/src/components/Navbar/MenuItem.js
@@ -1,5 +1,6 @@
import * as React from "react";
import { motion } from "framer-motion";
+import { NavLink } from 'react-router-dom';
const variants = {
open: {
@@ -18,18 +19,40 @@ const variants = {
}
};
+
const colors = ["#FF008C", "#D309E1", "#9C1AFF", "#7700FF", "#4400FF"];
+const items = [
+ {
+ "text": "Home",
+ "link": "/"
+ },
+ {
+ "text": "Timeline",
+ "link": "/timeline"
+ },
+ {
+ "text": "About Club",
+ "link": "/about-club"
+ },
+ {
+ "text": "About Team",
+ "link": "/about-team"
+ }]
+console.log(items)
export const MenuItem = ({ i }) => {
- const style = { border: `2px solid ${colors[i]}` };
+ // const style = { border: `2px solid ${colors[i]}` };
+ let text = items[i].text;
+ let link = items[i].link;
return (