import { Box } from "@mui/material";
import HomepageCard from "./HomepageCard";


const Home = () => {
  // const cards = [
  //   {
  //     title: "Reassingned Serial No Anomoly Manual Updation",
  //     url: "/anomoly/reassigned",
  //   },
  //   {
  //     title: "Part A OCR Anomoly Manual Updation",
  //     url: "/anomoly/partA",
  //   }
  // ];
  const cards = [
    {
      title: "Reassingned Serial No Anomoly Manual Updation",
      url: "/anomoly/reassigned",
    }]
  return (
    <>
      <Box>
        <Box className="d-flex justify-content-center text-light bg-primary rounded py-3">
          <h1>Welcome to exampaper.vidh.ai</h1>
        </Box>
        <Box className="p-3">
          {cards.map((card) => (
            <HomepageCard title={card?.title} url={card?.url} />
          ))}
        </Box>
      </Box>
    </>
  );
};

export default Home;
