Skip to content

Commit

Permalink
style: update mindshare cta component (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
arzljames and root authored Jan 24, 2024
1 parent 77f2548 commit 18ddcd6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/views/zesty/Article.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ function Article({ content }) {
{newContent || FillerContent.rich_text}
</MuiMarkdown>
</Stack>

<AuthorSection
authorName={authorName}
authorDescription={authorDescription}
Expand Down Expand Up @@ -662,26 +663,26 @@ function CtaComponent({ title, description, ctaText, ctaLink }) {
padding: 4,
gap: 2,
justifyContent: 'center',
alignItems: 'center',
alignItems: 'start',
height: 'auto',
width: '100%',
backgroundColor: '#f0f0f0',
backgroundColor: '#101828',
borderRadius: '8px',
boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.1)',
textAlign: 'center',
textAlign: 'left',
}}
>
<Typography variant="h5" fontWeight={700} color="primary">
<Typography variant="h5" fontWeight={700} color="white">
{title || ''}
</Typography>
<MuiMarkdown
options={{
overrides: {
p: {
span: {
component: Typography,
props: {
variant: 'body1',
color: 'text.secondary',
color: '#D0D5DD',
},
},
},
Expand Down

0 comments on commit 18ddcd6

Please sign in to comment.