temp/src/Components/Home.jsx

55 lines
1.2 KiB
React
Raw Normal View History

2024-05-23 09:43:09 +05:30
import { Box } from "@mui/material";
import HomepageCard from "./HomepageCard";
2024-06-11 18:18:19 +05:30
import {useState,useEffect} from "react"
2024-05-23 09:43:09 +05:30
const Home = () => {
const cards = [
{
title: "Reassigned Serial No Anomoly Manual Updation (ATTENDANCE)",
2024-06-12 11:56:52 +05:30
url: "/anomoly/attendence",
2024-06-11 18:18:19 +05:30
},
// {
// title: "Part A OCR Anomoly - Batch 2022",
// url: "/anomoly/partA",
// },
{
title: "Part A OCR Anomoly Dummy",
url: "/anomoly/partA?type=new",
},
{
title: "Part A OCR Anomoly - Old Dummy",
url: "/anomoly/partA?type=old",
},
// {
// title:"Verification",
// url:"/verification"
// }
2024-06-12 11:56:52 +05:30
// {
// title:"Statistics",
// url:"/statistics"
// }
2024-06-11 18:18:19 +05:30
];
// const cards = [
// {
// title: "Reassingned Serial No Anomoly Manual Updation",
// url: "/anomoly/reassigned",
// }]
2024-05-23 09:43:09 +05:30
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;