Skip to content

Commit

Permalink
Add spacing to push block
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Feb 2, 2025
1 parent 83c5ab3 commit 8ae540f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 37 deletions.
1 change: 1 addition & 0 deletions src/app/staff/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export default function Page() {
variant="h1"
color="dark"
weight="semibold"
underlineColor="primary-100"
className="mb-2"
>
{t('staff:title')}
Expand Down
72 changes: 35 additions & 37 deletions src/layouts/Push/Push.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,42 @@ const Push = () => {
const { t } = useTranslation(['common']);

return (
<ContentMedia
imageUrl="/images/media/faq.png"
imagePosition="left"
imageWidth="40%"
>
<div className="flex flex-col gap-6 h-full justify-center">
<Typography
variant="subtitle1"
weight="semibold"
color="primary"
>
{t('common:pushSubtitle')}
</Typography>
<Typography color="dark">
{t('common:pushContent')}
</Typography>
<div className="flex flex-row flex-wrap gap-8">
<ButtonLink
variant="secondary-invert"
href={t('common:programUrl')}
iconPosition="right"
icon={<IoIosArrowForward />}
>
{t('common:programLabel')}
</ButtonLink>
<ButtonLink
variant="secondary-invert"
href={t('common:ticketingUrl')}
target="_blank"
rel="noopener"
iconPosition="right"
icon={<IoIosArrowForward />}
>
{t('common:ticketingLabel')}
</ButtonLink>
<div className="my-4">
<ContentMedia
imageUrl="/images/media/faq.png"
imagePosition="left"
imageWidth="40%"
>
<div className="flex flex-col gap-6 h-full justify-center">
<Typography variant="h5" weight="semibold" color="primary">
{t('common:pushSubtitle')}
</Typography>
<Typography color="dark" weight="medium">
{t('common:pushContent')}
</Typography>
<div className="flex flex-row flex-wrap gap-8">
<ButtonLink
variant="secondary-invert"
href={t('common:programUrl')}
iconPosition="right"
icon={<IoIosArrowForward />}
>
{t('common:programLabel')}
</ButtonLink>
<ButtonLink
variant="secondary-invert"
href={t('common:ticketingUrl')}
target="_blank"
rel="noopener"
iconPosition="right"
icon={<IoIosArrowForward />}
>
{t('common:ticketingLabel')}
</ButtonLink>
</div>
</div>
</div>
</ContentMedia>
</ContentMedia>
</div>
);
};

Expand Down

0 comments on commit 8ae540f

Please sign in to comment.