Skip to content

Commit

Permalink
Fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-kalpachka committed Jan 4, 2024
1 parent 92d5ef3 commit d52d84f
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ const SubscriptionSection = () => {
textAlign: 'center',
}}>
<Heading variant="h4">{t('index:subscription-section.heading')}</Heading>
<InfoText sx={{ marginBottom: theme.spacing(3), padding: 0 }}>{t('index:subscription-section.content')}</InfoText>
<InfoText sx={{ marginBottom: theme.spacing(3), padding: 0 }}>
{t('index:subscription-section.content')}
</InfoText>
{subscribeIsOpen && <RenderSubscribeModal setOpen={setSubscribeOpen} />}
<Grid item xs={12} mb={0.5} sx={{ display: 'flex', justifyContent: 'center', paddingTop: theme.spacing(2) }}>
<Grid
item
xs={12}
mb={0.5}
sx={{ display: 'flex', justifyContent: 'center', paddingTop: theme.spacing(2) }}>
<EmailIcon
color="primary"
fontSize="small"
Expand All @@ -46,10 +52,10 @@ const SubscriptionSection = () => {
{t('campaigns:cta.subscribe-monthly-newsletter')}
</SubscribeHeading>
</Grid>
<Subtitle sx={{ display: 'block', padding: theme.spacing(1.25) }}>{t('campaigns:cta.subscribe-general-monthly-newsletter')}</Subtitle>
<SubscribeButton
onClick={() => setSubscribeOpen(true)}
variant="contained">
<Subtitle sx={{ display: 'block', padding: theme.spacing(1.25) }}>
{t('campaigns:cta.subscribe-general-monthly-newsletter')}
</Subtitle>
<SubscribeButton onClick={() => setSubscribeOpen(true)} variant="contained">
{t('campaigns:cta.subscribe-general-newsletter-button')}
</SubscribeButton>
</Grid>
Expand Down

0 comments on commit d52d84f

Please sign in to comment.