♻️ refactor(MainPage): cleanup styling

This commit is contained in:
2025-03-13 08:52:53 +00:00
parent 03335c16b9
commit 78ad111157
3 changed files with 39 additions and 44 deletions
+13 -6
View File
@@ -24,18 +24,25 @@ const Hero = (props: { scrollTarget?: React.ForwardedRef<HTMLSelectElement> }) =
wrap: 'wrap',
}}>
<Box
sx={{
sx={theme => ({
maxWidth: '95%',
marginRight: '1%',
padding: { xs: '3em', md: '6em' },
textAlign: { xs: 'center', md: 'right' },
display: 'flex',
flexDirection: { xs: 'column', md: 'row' },
justifyContent: 'center',
alignItems: 'center',
gap: '3em',
}}>
[theme.breakpoints.down('sm')]: {
flexDirection: 'column',
textAlign: 'center',
padding: '3em',
},
[theme.breakpoints.up('sm')]: {
flexDirection: 'row',
textAlign: 'right',
padding: '6em',
},
})}>
<Box>
{/*
<h2>Michele Tartari</h2>