cleared grid error in home.tsx
This commit is contained in:
@@ -98,30 +98,28 @@ export default function Home() {
|
||||
</Typography>
|
||||
<Grid container spacing={3} justifyContent="center">
|
||||
{services.core.map((s) => (
|
||||
<Grid item xs={12} sm={6} md={4} key={s.name}>
|
||||
<Paper
|
||||
elevation={3}
|
||||
sx={{
|
||||
p: 2,
|
||||
textAlign: "center",
|
||||
bgcolor: "#2d2d2d",
|
||||
borderRadius: 2,
|
||||
}}
|
||||
<Paper
|
||||
elevation={3}
|
||||
sx={{
|
||||
p: 2,
|
||||
textAlign: "center",
|
||||
bgcolor: "#2d2d2d",
|
||||
borderRadius: 2,
|
||||
}}
|
||||
>
|
||||
<Link
|
||||
href={s.url}
|
||||
target={s.external ? "_blank" : undefined}
|
||||
rel="noopener"
|
||||
underline="none"
|
||||
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
|
||||
>
|
||||
<Link
|
||||
href={s.url}
|
||||
target={s.external ? "_blank" : undefined}
|
||||
rel="noopener"
|
||||
underline="none"
|
||||
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
|
||||
>
|
||||
{s.name}
|
||||
</Link>
|
||||
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
|
||||
{s.desc}
|
||||
</Typography>
|
||||
</Paper>
|
||||
</Grid>
|
||||
{s.name}
|
||||
</Link>
|
||||
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
|
||||
{s.desc}
|
||||
</Typography>
|
||||
</Paper>
|
||||
))}
|
||||
</Grid>
|
||||
|
||||
@@ -134,30 +132,28 @@ export default function Home() {
|
||||
</Typography>
|
||||
<Grid container spacing={3} justifyContent="center">
|
||||
{services.media.map((s) => (
|
||||
<Grid component="div" item xs={12} sm={6} md={4} key={s.name}>
|
||||
<Paper
|
||||
elevation={3}
|
||||
sx={{
|
||||
p: 2,
|
||||
textAlign: "center",
|
||||
bgcolor: "#2d2d2d",
|
||||
borderRadius: 2,
|
||||
}}
|
||||
<Paper
|
||||
elevation={3}
|
||||
sx={{
|
||||
p: 2,
|
||||
textAlign: "center",
|
||||
bgcolor: "#2d2d2d",
|
||||
borderRadius: 2,
|
||||
}}
|
||||
>
|
||||
<Link
|
||||
href={s.url}
|
||||
target={s.external ? "_blank" : undefined}
|
||||
rel="noopener"
|
||||
underline="none"
|
||||
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
|
||||
>
|
||||
<Link
|
||||
href={s.url}
|
||||
target={s.external ? "_blank" : undefined}
|
||||
rel="noopener"
|
||||
underline="none"
|
||||
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
|
||||
>
|
||||
{s.name}
|
||||
</Link>
|
||||
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
|
||||
{s.desc}
|
||||
</Typography>
|
||||
</Paper>
|
||||
</Grid>
|
||||
{s.name}
|
||||
</Link>
|
||||
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
|
||||
{s.desc}
|
||||
</Typography>
|
||||
</Paper>
|
||||
))}
|
||||
</Grid>
|
||||
</Container>
|
||||
|
Reference in New Issue
Block a user