diff --git a/src/components/carousel/CarouselItem.tsx b/src/components/carousel/CarouselItem.tsx index 84dfe2c..426c4df 100644 --- a/src/components/carousel/CarouselItem.tsx +++ b/src/components/carousel/CarouselItem.tsx @@ -1,15 +1,6 @@ import type { Content } from "@prisma/client"; import Link from "next/link"; -import { - Button, - Card, - CardActions, - CardContent, - CardMedia, - Typography, -} from "@mui/material"; - interface ICarouselItemProps { content: Content; onClick: () => void; @@ -17,54 +8,27 @@ interface ICarouselItemProps { export default function CarouselItem({ content, onClick }: ICarouselItemProps) { return ( - - - - - {content.title} - - - {content.caption} - - - - - - - - + /> + +

+ {content.title} +

+ +

+ {content.caption} +

+ ); } diff --git a/src/components/carousel/FeaturedCarousel.tsx b/src/components/carousel/FeaturedCarousel.tsx index 4fe532a..df00736 100644 --- a/src/components/carousel/FeaturedCarousel.tsx +++ b/src/components/carousel/FeaturedCarousel.tsx @@ -28,7 +28,7 @@ export default function FeaturedCarousel({ data }: IFeaturedCarouselProps) { }; }); return ( -
+
-

Featured

+

+ Featured: +

); diff --git a/src/pages/index.tsx b/src/pages/index.tsx index d1f6877..e93fe0e 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -35,11 +35,14 @@ const Home: NextPage = () => {
-