Skip to content

Commit

Permalink
feat(about): fix typography style
Browse files Browse the repository at this point in the history
  • Loading branch information
memset0 committed Sep 16, 2024
1 parent 81e51a2 commit 8a2e133
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const AboutPage = ({ data, location }) => {
flexWrap: "wrap",
justifyContent: "center",
gap: 0,
mb: 1,
}}
>
<SocialLink text="Github" href={siteMetadata.socialLink.github}>
Expand All @@ -122,9 +123,13 @@ const AboutPage = ({ data, location }) => {
</CardContent>
</Card>
<Card sx={{ mt: 2, flexGrow: 1 }}>
<CardContent sx={{ padding: "8px 16px !important" }}>
<CardContent sx={{ pb: '16px !important' }}>
<Typography variant="body1">
<div dangerouslySetInnerHTML={{ __html: data.about.html }}></div>
<section
className="typography"
itemProp="articleBody"
dangerouslySetInnerHTML={{ __html: data.about.html }}
/>
</Typography>
</CardContent>
</Card>
Expand Down

0 comments on commit 8a2e133

Please sign in to comment.