temp/src/Components/PlayGrounds.jsx

35 lines
772 B
React
Raw Normal View History

2024-07-06 20:24:25 +05:30
import React from "react";
import { Box } from "@mui/material";
import HomepageCard from "./HomepageCard";
const PlayGrounds = () => {
const cards = [
2024-07-12 17:54:43 +05:30
{
title: "PART - A",
url: "/Playground/PartA",
},
2024-07-06 20:24:25 +05:30
{
title: "PART - C",
url: "/Playground/PartC",
},
2024-07-11 12:41:13 +05:30
// {
// title: "ATTENDENCE",
// url: "/Playground/Attendence",
// },
2024-07-06 20:24:25 +05:30
];
return (
<>
<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" style={{ width: "100%" }}>
{cards.map((card) => (
<HomepageCard title={card?.title} url={card?.url} />
))}
</Box>
</>
);
};
export default PlayGrounds;