diff --git a/public/img/DJI_0565.JPG b/src/assets/img/DJI_0565.JPG similarity index 100% rename from public/img/DJI_0565.JPG rename to src/assets/img/DJI_0565.JPG diff --git a/public/img/DJI_0605.JPG b/src/assets/img/DJI_0605.JPG similarity index 100% rename from public/img/DJI_0605.JPG rename to src/assets/img/DJI_0605.JPG diff --git a/public/img/IMG_0196.JPG b/src/assets/img/IMG_0196.JPG similarity index 100% rename from public/img/IMG_0196.JPG rename to src/assets/img/IMG_0196.JPG diff --git a/public/img/IMG_3942.JPG b/src/assets/img/IMG_3942.JPG similarity index 100% rename from public/img/IMG_3942.JPG rename to src/assets/img/IMG_3942.JPG diff --git a/src/components/PictureShowcase.tsx b/src/components/PictureShowcase.tsx index 5543927..4412b72 100644 --- a/src/components/PictureShowcase.tsx +++ b/src/components/PictureShowcase.tsx @@ -1,26 +1,7 @@ import { useState } from "react"; import Carousel, { type Picture } from "./Carousel"; -const pictures: Picture[] = [ - { - title: "Drone Picture of Hampshire College", - image: "/img/DJI_0565.JPG", - }, - { - title: "Drone Picture of Hampshire College (winter)", - image: "/img/DJI_0605.JPG", - }, - { - title: "Bean!!", - image: "/img/IMG_0196.JPG", - }, - { - title: "Ricky!!", - image: "/img/IMG_3942.JPG", - }, -]; - -export default function PictureShowcase() { +export default function PictureShowcase({ pictures }: { pictures: Picture[] }) { return (