diff --git a/src/components/SponsorshipCard/SponsorshipCard.tsx b/src/components/SponsorshipCard/SponsorshipCard.tsx index 63837ec..5415197 100644 --- a/src/components/SponsorshipCard/SponsorshipCard.tsx +++ b/src/components/SponsorshipCard/SponsorshipCard.tsx @@ -1,4 +1,4 @@ -import { Box, Typography } from "@mui/material"; +import { Box, SxProps, Typography } from "@mui/material"; import { useNavigate } from "react-router-dom"; function SponsorshipCard(props: { @@ -7,21 +7,22 @@ function SponsorshipCard(props: { price: number; benefits: string[]; prereq?: string; - width: string; - aspectRatio: string; + width?: string; + aspectRatio?: string; + sx?: SxProps }) { return ( { let res = await ProjectAPI.getAll(); - res = res.concat(res).concat(res); //testing return res; }, }); diff --git a/src/integrals/WebSponsorTiers.tsx b/src/integrals/WebSponsorTiers.tsx new file mode 100644 index 0000000..ea1d879 --- /dev/null +++ b/src/integrals/WebSponsorTiers.tsx @@ -0,0 +1,53 @@ +import { Box, Typography } from "@mui/material"; +import SponsorshipCard from "../components/SponsorshipCard"; + +export default function WebSponsorTiers(props?: {}) { + return ( + + Sponsorship Tiers + + + + + + + ); +} \ No newline at end of file diff --git a/src/main.tsx b/src/main.tsx index 61b5213..dbd366b 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -9,6 +9,8 @@ import WebProjectsPage from './integrals/WebProjectsPage' import WebTierPage from './integrals/WebTierPage' import 'atropos/css' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' +import SponsorshipCard from "./components/SponsorshipCard/SponsorshipCard.tsx"; +import WebSponsorTiers from "./integrals/WebSponsorTiers.tsx"; const queryClient = new QueryClient(); @@ -22,6 +24,7 @@ ReactDOM.createRoot(document.getElementById("root")!).render( }> } /> } /> + } />