♻️ refactor: update components proportions for new fonts
This commit is contained in:
@@ -42,14 +42,24 @@ const Hero = (props: { scrollTarget?: React.ForwardedRef<HTMLSelectElement> }) =
|
|||||||
},
|
},
|
||||||
})}>
|
})}>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography variant="h3">Robotics Engineer</Typography>
|
<Typography variant="h1">
|
||||||
<Typography color="text.secondary" sx={{ margin: '0.5em 0 0 0', top: 0 }}>
|
Robotics
|
||||||
See some of my works below. Send a message to get in touch.
|
<br /> Engineer
|
||||||
</Typography>
|
</Typography>
|
||||||
<Stack direction="row" gap={2} mt={2} justifyContent={{ xs: 'center', sm: 'end' }}>
|
<Typography
|
||||||
<LinkedInIconLink sx={{ color: 'text.secondary' }} fontSize="large" href="https://www.linkedin.com/in/m-tartari/" />
|
variant="h6"
|
||||||
<GitHubIconLink sx={{ color: 'text.secondary' }} fontSize="large" href="https://www.github.com/m-tartari/" />
|
color="text.secondary"
|
||||||
<EmailIconLink sx={{ color: 'text.secondary' }} fontSize="large" href="mailto:info@m-tartari.eu" />
|
sx={{
|
||||||
|
margin: '0.5em 0 0 0',
|
||||||
|
pt: 1,
|
||||||
|
}}>
|
||||||
|
Discover some of my works below.
|
||||||
|
<br /> Send a message to get in touch.
|
||||||
|
</Typography>
|
||||||
|
<Stack direction="row" gap={2} mt={2} justifyContent={{ xs: 'center', md: 'end' }} color="text.secondary">
|
||||||
|
<LinkedInIconLink fontSize="large" href="https://www.linkedin.com/in/m-tartari/" />
|
||||||
|
<GitHubIconLink fontSize="large" href="https://www.github.com/m-tartari/" />
|
||||||
|
<EmailIconLink fontSize="large" href="mailto:info@m-tartari.eu" />
|
||||||
</Stack>
|
</Stack>
|
||||||
</Box>
|
</Box>
|
||||||
<Avatar
|
<Avatar
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ const Project = (props: ProjectProps) => {
|
|||||||
},
|
},
|
||||||
}}>
|
}}>
|
||||||
<div style={{ flex: 1 }}>
|
<div style={{ flex: 1 }}>
|
||||||
<Typography variant="h6">
|
<Typography variant="h5">
|
||||||
<b>{props.title}</b>
|
<b>{props.title}</b>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Stack direction="row" gap={1} alignItems="center">
|
<Stack direction="row" gap={1} alignItems="center">
|
||||||
|
|||||||
@@ -24,26 +24,31 @@ const Page: React.FC<PageProps> = ({ title, children, showCookieConsent, ...prop
|
|||||||
{title && (
|
{title && (
|
||||||
<>
|
<>
|
||||||
<Typography
|
<Typography
|
||||||
variant="h2"
|
variant="h1"
|
||||||
aria-label="page-title"
|
aria-label="page-title"
|
||||||
textAlign="center"
|
textAlign="center"
|
||||||
sx={{
|
sx={{
|
||||||
mt: 6,
|
mt: 6,
|
||||||
p: 6,
|
py: 6,
|
||||||
}}>
|
}}>
|
||||||
{title}
|
{title}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Divider
|
<Divider
|
||||||
variant="middle"
|
variant="middle"
|
||||||
sx={{
|
sx={theme => ({
|
||||||
borderColor: 'primary.main',
|
borderColor: 'primary.main',
|
||||||
borderStyle: 'solid',
|
borderStyle: 'solid',
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
mx: 'auto',
|
mx: 'auto',
|
||||||
mb: 4,
|
mb: 4,
|
||||||
width: '30em',
|
|
||||||
maxWidth: 'calc(60% - 2.5em)',
|
maxWidth: 'calc(60% - 2.5em)',
|
||||||
}}
|
[theme.breakpoints.up('md')]: {
|
||||||
|
width: theme => theme.breakpoints.values.sm,
|
||||||
|
},
|
||||||
|
[theme.breakpoints.down('sm')]: {
|
||||||
|
maxWidth: '75vw',
|
||||||
|
},
|
||||||
|
})}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@@ -51,7 +56,7 @@ const Page: React.FC<PageProps> = ({ title, children, showCookieConsent, ...prop
|
|||||||
component="main"
|
component="main"
|
||||||
maxWidth={false}
|
maxWidth={false}
|
||||||
sx={{
|
sx={{
|
||||||
mt: 12,
|
mt: { xs: 8, md: 12 },
|
||||||
mb: 4,
|
mb: 4,
|
||||||
minHeight: '80vh',
|
minHeight: '80vh',
|
||||||
mx: 'auto',
|
mx: 'auto',
|
||||||
|
|||||||
Reference in New Issue
Block a user