Compare commits

..

2 Commits

View File

@@ -68,8 +68,8 @@ export default function Home() {
<Container maxWidth="lg"> <Container maxWidth="lg">
<Box <Box
sx={{ sx={{
minHeight: "100vh", minHeight: "150vh",
backgroundImage: "url('/aetos_sigil.jpg')", backgroundImage: "url('/extended_sigil.png')",
backgroundSize: "cover", backgroundSize: "cover",
backgroundRepeat: "no-repeat", backgroundRepeat: "no-repeat",
backgroundPosition: "center", backgroundPosition: "center",
@@ -77,18 +77,26 @@ export default function Home() {
flexDirection: "column", flexDirection: "column",
}} }}
> >
{/* Top section */}
<Box sx={{py: 6, textAlign: "center"}}>
<Typography variant="h3" sx={{color: "success.main"}}>
Aetos Hideout
</Typography>
</Box>
{/* Spacer pushes bottom part down */} {/* Spacer pushes bottom part down */}
<Box sx={{flex: 1}}/> <Box sx={{flex: 1}}/>
{/* Bottom dashboard */} {/* Bottom dashboard: only 50% height of viewport */}
<Container maxWidth="lg" sx={{mb: 4}}> <Box
sx={{
height: "80vh", // 50% of viewport height
overflowY: "auto", // scroll if content overflows
p: 2,
}}
>
<Container
maxWidth="lg"
sx={{
bgcolor: "#1a1a1a", // dark background
borderRadius: 3,
p: 3,
boxShadow: 6,
}}
>
<Typography <Typography
variant="h5" variant="h5"
align="center" align="center"
@@ -98,7 +106,6 @@ export default function Home() {
</Typography> </Typography>
<Grid container spacing={3} justifyContent="center"> <Grid container spacing={3} justifyContent="center">
{services.core.map((s) => ( {services.core.map((s) => (
<Grid item xs={12} sm={6} md={4} key={s.name}>
<Paper <Paper
elevation={3} elevation={3}
sx={{ sx={{
@@ -121,7 +128,6 @@ export default function Home() {
{s.desc} {s.desc}
</Typography> </Typography>
</Paper> </Paper>
</Grid>
))} ))}
</Grid> </Grid>
@@ -134,7 +140,6 @@ export default function Home() {
</Typography> </Typography>
<Grid container spacing={3} justifyContent="center"> <Grid container spacing={3} justifyContent="center">
{services.media.map((s) => ( {services.media.map((s) => (
<Grid component="div" item xs={12} sm={6} md={4} key={s.name}>
<Paper <Paper
elevation={3} elevation={3}
sx={{ sx={{
@@ -157,11 +162,12 @@ export default function Home() {
{s.desc} {s.desc}
</Typography> </Typography>
</Paper> </Paper>
</Grid>
))} ))}
</Grid> </Grid>
</Container> </Container>
</Box> </Box>
</Box>
</Container> </Container>
); );
} }