Skip to content

Commit

Permalink
feature(curriculum): move banner one block upwards (#11698)
Browse files Browse the repository at this point in the history
  • Loading branch information
argl authored Aug 27, 2024
1 parent a0b23ce commit 18fb8b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/curriculum/landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@ export function CurriculumLanding(appProps: HydrationData<any, CurriculumDoc>) {
}
if (section.value.id === "modules") {
const { title, id } = (section as ProseSection).value;
console.log(title);
return (
<>
<section key={`${id}-1`} className="modules">
{title && <DisplayH2 id={id} title={title} />}
{doc?.modules && <ModulesListList modules={doc.modules} />}
</section>
<PartnerBanner />

<section key={`${id}-2`} className="landing-stairway">
<div>
<div id="stairway1-container">
Expand Down Expand Up @@ -100,7 +103,6 @@ export function CurriculumLanding(appProps: HydrationData<any, CurriculumDoc>) {
return null;
}}
/>
<PartnerBanner />
</CurriculumLayout>
);
}
Expand Down

0 comments on commit 18fb8b8

Please sign in to comment.