Skip to content

Commit

Permalink
Merge pull request #12 from kazmi066/fix-home-username-font-size
Browse files Browse the repository at this point in the history
Fix home username font size
  • Loading branch information
DSDmark authored Apr 9, 2023
2 parents bb5272a + f734278 commit 5a113dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export default function Home({ name, bio, profile, repos, img }: props) {
}}>
<Avatar alt={name} src={img} sx={{ width: 100, height: 100 }} />
<Typography
variant={isLargeScreen ? 'h1' : 'h2'}
variant={isLargeScreen ? 'h3' : 'h2'}
sx={{ fontWeight: "bold", marginTop: "10px" }}
textTransform="uppercase">
{name}
</Typography>
Expand All @@ -51,7 +52,7 @@ export default function Home({ name, bio, profile, repos, img }: props) {
</Button>
<Button variant="contained">
<Link underline="none" color="inherit" href={repos}>
repositary
repository
</Link>
</Button>
</Stack>
Expand Down

0 comments on commit 5a113dc

Please sign in to comment.