Make homepage section optional
@@ -104,6 +104,7 @@ export const HomePage = () => {
</Box>
</Box>
+ {conference.homepageSection1Title && (
<Box sx={{ gridColumnStart: [null, null, 3] }}>
<Heading as="h1" sx={{ mb: 3 }}>
{conference.homepageSection1Title}
@@ -117,13 +118,16 @@ export const HomePage = () => {
{conference.homepageSection1Text}
</Text>
+ {conference.homepageSection1CTALink && (
<Link
path={conference.homepageSection1CTALink}
variant="arrow-button"
>
{conference.homepageSection1CTAText}
</Link>
+ )}
</Box>
+ )}
</Grid>
{conference.events.length > 0 && (
