From 709786b4244262df1a4161600541b0cb74bc2cdb Mon Sep 17 00:00:00 2001 From: Prajwal P Date: Sun, 22 Oct 2023 21:34:25 +0530 Subject: [PATCH] moved download links to hamburger menu --- components/NavBar.tsx | 85 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 71 insertions(+), 14 deletions(-) diff --git a/components/NavBar.tsx b/components/NavBar.tsx index 4d3fde8..2e2cf5f 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -29,18 +29,6 @@ const Links: Array<{ href: "/registration", label: "Registration", }, - { - href: "./PDF PROGRAMPLAN.pdf", - label: "Program Schedule", - }, - { - href: "./PDF TUTORIALS & TRACK.pdf", - label: "Tutorial Schedule", - }, - { - href: "./Invitation Letter.pdf", - label: "Inaugural Invitation & Schedule", - }, { href: "/sponsorship", label: "Sponsors", @@ -60,6 +48,21 @@ const Links: Array<{ // }, ]; +const downloadLinks = [ + { + href: "./PDF PROGRAMPLAN.pdf", + label: "Program Schedule", + }, + { + href: "./PDF TUTORIALS & TRACK.pdf", + label: "Tutorial Schedule", + }, + { + href: "./Invitation Letter.pdf", + label: "Inaugural Invitation & Schedule", + }, +]; + const NavBar = () => { return (
@@ -90,6 +93,48 @@ const NavBar = () => { ))} +
+ + {" "} + + + } + > + +

+ Download Links +

+
+ + {downloadLinks.map((link) => ( + + + {link.label} + + + ))} +
+
{ ))} + +

+ Download Links +

+
+ {downloadLinks.map((link) => ( + + + {link.label} + + + ))}
@@ -139,8 +196,8 @@ const NavBar = () => { Released--Download Here{" "} - {" "} - Inauguration Invitation and Schedule{" "} + Inauguration + Invitation and Schedule{" "}