diff --git a/src/components/sections/Content.tsx b/src/components/sections/Content.tsx index 1d1f9349..c04037f6 100644 --- a/src/components/sections/Content.tsx +++ b/src/components/sections/Content.tsx @@ -9,6 +9,7 @@ import { Disclosure, Transition } from '@headlessui/react' import { ChevronUpIcon } from 'lucide-react' import { clsx } from 'clsx' import { padZeroes } from '~/lib/utils' +import { RichText } from 'basehub/react-rich-text' type VideoType = { href: string @@ -66,19 +67,10 @@ export function Content({ content }: LandingPageFragment) { {content.title} -
-

- Our{' '} - - YouTube - {' '} - channel -

+
+
+ {content.subTitle.json.content} +
@@ -197,12 +189,9 @@ export function Content({ content }: LandingPageFragment) {
-

- Featured essays from the Replay.io{' '} - - blog - -

+
+ {content.courseSubtitle.json.content} +
diff --git a/src/lib/basehub-queries.ts b/src/lib/basehub-queries.ts index 7988fac2..0e16a3f4 100644 --- a/src/lib/basehub-queries.ts +++ b/src/lib/basehub-queries.ts @@ -122,6 +122,7 @@ export const landingPageFragment = fragmentOn('LandingPage', { imageUrl: true } }, + courseSubtitle: { json: { content: true } }, course: { title: true, description: true,