Source

client/src/pages/Home.js

// import ContentCard from "../components/ContentCard"
import { Grid, Typography } from "@mui/material"

/**
 * The main page of the website. Shows recent announcements and featured content
 * @category Pages
 * @returns {JSX.Element} A Home component.
 */
function Home() {
  return (
    <div>
      <Typography variant="h4" align="center" paddingBottom={4}>
        Welcome to the Content Sharing Platform!
      </Typography>

      <Grid container spacing={{ xs: 2, md: 3 }} columns={{ xs: 4, sm: 8, md: 16 }} justifyContent="center" alignItems="center">
        {Array.from(Array(8)).map((_, index) => (
          <Grid item xs={2} sm={3} md={4}>
            {/* <ContentCard ContentID="655d52ee9fc13bb234d5e3f7" /> */}
          </Grid>
        ))}
      </Grid>
    </div>
  )
}

export default Home