From e210e14647464370a9c7f71011f5975c91bce3c3 Mon Sep 17 00:00:00 2001 From: beerose Date: Wed, 21 Jun 2023 12:31:37 +0200 Subject: [PATCH 1/7] Add Program page and remove references to the speak page --- src/components/Conf/Footer/index.tsx | 7 +- src/components/Conf/Header/index.tsx | 2 +- src/components/Conf/Sponsors/index.tsx | 1 - src/pages/conf/index.tsx | 10 +- src/pages/conf/program.tsx | 60 +++++ src/pages/conf/speak.tsx | 348 ------------------------- 6 files changed, 66 insertions(+), 362 deletions(-) create mode 100644 src/pages/conf/program.tsx delete mode 100644 src/pages/conf/speak.tsx diff --git a/src/components/Conf/Footer/index.tsx b/src/components/Conf/Footer/index.tsx index fb27e09a33..6f5b2b26da 100644 --- a/src/components/Conf/Footer/index.tsx +++ b/src/components/Conf/Footer/index.tsx @@ -12,7 +12,6 @@ const links = [ { text: "Location", href: "/conf/#location" }, ], [ - { text: "Speak", href: "/conf/speak/" }, { text: "Sponsor", href: "/conf/sponsor/" }, { text: "FAQ", href: "/conf/faq/" }, { text: "Contact Us", href: "/conf/faq/#contact" }, @@ -25,11 +24,11 @@ const links = [ ], ] -const FooterConf = () => { +const FooterConf = ({ includeSponors = true, includePartners = true }) => { return ( <> - - + {includeSponors && } + {includePartners && }