+
{link.title}{' '}
{link.subMenu && (
{link.title}
)}
- {show && show === link.title && link.subMenu && (
+ {show === link.title && link.subMenu && (
+ >
{link.subMenu.map((subL) => (
-
- {subL.title}
-
+ {link.subMenu.length === 1 ? (
+
+ {subL.title}
+
+ ) : (
+
+ {subL.title}
+
+ )}
))}
@@ -124,4 +149,4 @@ function Navbar() {
);
}
-export default Navbar;
\ No newline at end of file
+export default Navbar;
diff --git a/config/links.json b/config/links.json
index c36c080a..155bb309 100644
--- a/config/links.json
+++ b/config/links.json
@@ -32,7 +32,21 @@
{
"title":"Past Editions",
"ref":"/editions"
- }
+ },
+ {
+ "title":"Resources Hub",
+ "ref":"",
+ "subMenu": [
+
+ {
+ "title": "Helsinki Slides",
+ "ref": "https://drive.google.com/drive/folders/1nY7dZF8WFXZ3r2rCWJDDoT2C_GMfQJMV?usp=drive_link",
+ "target": "_blank"
+ }
+
+ ]
+}
+
]
diff --git a/pages/venue/[id].js b/pages/venue/[id].js
index 9ae6adfe..e0a2b21e 100644
--- a/pages/venue/[id].js
+++ b/pages/venue/[id].js
@@ -64,7 +64,7 @@ function Venue({ city }) {