From 9bed86d5b1b7c4e7b27c04ccdffc68ab1c71582b Mon Sep 17 00:00:00 2001 From: Lukas Cizek Date: Thu, 26 Mar 2026 10:37:44 +0100 Subject: [PATCH] Remove sign in buttons --- .../courses/components/CoursesCardsSection.tsx | 8 +------- src/app/[locale]/courses/react-akademie/page.tsx | 16 ++-------------- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/app/[locale]/courses/components/CoursesCardsSection.tsx b/src/app/[locale]/courses/components/CoursesCardsSection.tsx index ff66758..8040439 100644 --- a/src/app/[locale]/courses/components/CoursesCardsSection.tsx +++ b/src/app/[locale]/courses/components/CoursesCardsSection.tsx @@ -2,10 +2,7 @@ import { getTranslationsWithLocale } from '@/src/utils/getTranslations'; import { getLocaleAwareLink } from '@/src/utils/getNavLinks'; import { COLORS } from '@/src/styles/color'; import { CourseCard } from './CourseCard'; -import { - AI_JAM_REGISTRATION_LINK, - REACT_ACADEMY_REGISTRATION_LINK, -} from '@/src/constants'; +import { AI_JAM_REGISTRATION_LINK } from '@/src/constants'; import { HeadingHighlight } from '@/src/components/HeadingHighlight'; import { Section } from '@/src/components/Section'; import style from './CoursesCardsSection.module.scss'; @@ -46,9 +43,6 @@ export const CoursesCardsSection: React.FC = async () => { t.COURSES_CARD_REACT_BULLET_4, ]} showBadge - badgeText={t.COURSES_CARD_REACT_BADGE} - primaryButtonText={t.COURSES_CARD_REACT_PRIMARY_BUTTON} - primaryButtonHref={REACT_ACADEMY_REGISTRATION_LINK} primaryButtonVariant="explodingStar" secondaryButtonText={t.COURSES_CARD_LEARN_MORE_BUTTON} secondaryButtonHref={getLocaleAwareLink( diff --git a/src/app/[locale]/courses/react-akademie/page.tsx b/src/app/[locale]/courses/react-akademie/page.tsx index 0e0f49f..6f322a8 100644 --- a/src/app/[locale]/courses/react-akademie/page.tsx +++ b/src/app/[locale]/courses/react-akademie/page.tsx @@ -11,10 +11,7 @@ import { COLORS } from '@/src/styles/color'; import { getPageAlternates } from '@/src/utils/getCanonicalUrl'; import { getLocaleAwareLink } from '@/src/utils/getNavLinks'; import { AppLocalePageProps } from '@/src/utils/types'; -import { - MENTORING_LINK, - REACT_ACADEMY_REGISTRATION_LINK, -} from '@/src/constants'; +import { MENTORING_LINK } from '@/src/constants'; import { WhatYouGonnaLearnSection } from './components/WhatYouGonnaLearnSection/WhatYouGonnaLearnSection'; import { PrerequisitesSection } from './components/PrerequisitesSection/PrerequisitesSection'; import { ScheduleSection } from './components/ScheduleSection/ScheduleSection'; @@ -77,16 +74,7 @@ const ReactAcademyPage: React.FC = async ({ params }) => { } - > - - + />