diff --git a/app/[lang]/programs/page.tsx b/app/[lang]/programs/page.tsx index 10b9ccf..e9ac051 100644 --- a/app/[lang]/programs/page.tsx +++ b/app/[lang]/programs/page.tsx @@ -33,13 +33,6 @@ const SectionTitle = ({ label }: { label: string }) => { ) } -const SectionLabel = ({ label }: { label: string }) => { - return ( - - {label} - - ) -} const AccordionLabel = ({ label, @@ -100,19 +93,14 @@ const ProgramSections = ["coreProgram", "acceleratorProgram"] as const const ChooseProgramItems: { label: string; value: string; href?: string }[] = [ { - label: "Contributions Program Asia", - value: "coreProgramAsia", - href: siteConfig.links.applyContributionProgram, + label: "Core Program", + value: "coreProgram", + href: siteConfig.links.coreProgram, }, { - label: "Contributions Program LatAm", - value: "coreProgramaLatAm", - href: siteConfig.links.applyContributionProgram, - }, - { - label: "Acceleration Program", + label: "Accelerator Program", value: "acceleratorProgram", - href: siteConfig.links.applyContributionProgram, + href: siteConfig.links.acceleratorProgram, }, ] export default function ProgramsPage({ params: { lang } }: any) { @@ -198,6 +186,10 @@ export default function ProgramsPage({ params: { lang } }: any) { ) } + const selectedProgramUrl = ChooseProgramItems?.find( + (item) => item.value === selectedProgram + )?.href + return (
@@ -235,10 +227,7 @@ export default function ProgramsPage({ params: { lang } }: any) { {!selectedProgram ? ( ) : ( - + )} @@ -271,7 +260,7 @@ export default function ProgramsPage({ params: { lang } }: any) { date="Jul. 22, 2024 - Sep. 15, 2024" />