diff options
| author | schererleander <leander@schererleander.de> | 2025-06-25 01:42:59 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-06-25 01:42:59 +0200 |
| commit | cb5c3ab193131dcd61e7ab489e94d8f47a5c0e1e (patch) | |
| tree | 79b777a9dcecf0d6ae8dbfe07b4537f31770b8bf /src/pages/Home.tsx | |
| parent | 3a7cb097dfcf0672204fff2a3409a1817a87e5fa (diff) | |
move all image references to /public/images
Diffstat (limited to 'src/pages/Home.tsx')
| -rw-r--r-- | src/pages/Home.tsx | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 60df259..2048122 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,13 +1,5 @@ import ImageGalleryGrid from "../components/ImageGalleryGrid"; -import dsImg from "../assets/3ds.webp"; -import esp32Img from "../assets/esp32.webp"; -import riceImg from "../assets/rice.webp"; -import setupImg from "../assets/setup.webp"; -import luigimansionImg from "../assets/luigimansion.webp"; -import ocarinaoftimeImg from "../assets/ocarinaoftime.webp"; -import hellsparadiseImg from "../assets/hellsparadise.webp"; - export default function HomePage() { return ( <> @@ -18,7 +10,17 @@ export default function HomePage() { I have a passion for hardware and software, studying computer science. Currently building own 3d printing projects and learning nix. </p> - <ImageGalleryGrid images={[{ src: dsImg, alt: "Nintendo 3DS", id: 1}, { src: esp32Img, alt: "ESP 32", id: 2}, { src: riceImg, alt: "Linux rice", id: 3}, { src: setupImg, alt: "Setup", id: 4}, {src: luigimansionImg, alt: "Luigi Mansion", id: 5}, { src: ocarinaoftimeImg, alt: "Ocarina of Time", id: 6}, { src: hellsparadiseImg, alt: "Hells paradise", id: 7 }]} /> + <ImageGalleryGrid + images={[ + { src: "/images/3ds.webp", alt: "Nintendo 3DS", id: 1 }, + { src: "/images/esp32.webp", alt: "ESP 32", id: 2 }, + { src: "/images/rice.webp", alt: "Linux rice", id: 3 }, + { src: "/images/setup.webp", alt: "Setup", id: 4 }, + { src: "/images/luigimansion.webp", alt: "Luigi Mansion", id: 5 }, + { src: "/images/ocarinaoftime.webp", alt: "Ocarina of Time", id: 6 }, + { src: "/images/hellsparadise.webp", alt: "Hells paradise", id: 7 } + ]} + /> <p className="mb-4">A few things I'm interrested in:</p> @@ -31,4 +33,4 @@ export default function HomePage() { </ul> </> ); -} +}
\ No newline at end of file |
