aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/images/3ds.webp (renamed from src/assets/3ds.webp)bin148566 -> 148566 bytes
-rw-r--r--public/images/404.webp (renamed from src/assets/404.webp)bin23034 -> 23034 bytes
-rw-r--r--public/images/980pro.webp (renamed from src/assets/980pro.webp)bin13206 -> 13206 bytes
-rw-r--r--public/images/B550MITX.webp (renamed from src/assets/B550MITX.webp)bin27598 -> 27598 bytes
-rw-r--r--public/images/a1.webp (renamed from src/assets/a1.webp)bin166768 -> 166768 bytes
-rw-r--r--public/images/airpodspro.webp (renamed from src/assets/airpodspro.webp)bin11402 -> 11402 bytes
-rw-r--r--public/images/amdryzen55600g.webp (renamed from src/assets/amdryzen55600g.webp)bin17350 -> 17350 bytes
-rw-r--r--public/images/amdryzen7700x.webp (renamed from src/assets/amdryzen7700x.webp)bin284886 -> 284886 bytes
-rw-r--r--public/images/authentication.webp (renamed from src/assets/authentication.webp)bin1928 -> 1928 bytes
-rw-r--r--public/images/b650e-i.webp (renamed from src/assets/b650e-i.webp)bin41786 -> 41786 bytes
-rw-r--r--public/images/esp32.webp (renamed from src/assets/esp32.webp)bin53974 -> 53974 bytes
-rw-r--r--public/images/github.webp (renamed from src/assets/github.webp)bin6250 -> 6250 bytes
-rw-r--r--public/images/gskilltridentz5.webp (renamed from src/assets/gskilltridentz5.webp)bin9714 -> 9714 bytes
-rw-r--r--public/images/hackintosh.webp (renamed from src/assets/hackintosh.webp)bin16886 -> 16886 bytes
-rw-r--r--public/images/hellsparadise.webp (renamed from src/assets/hellsparadise.webp)bin619454 -> 619454 bytes
-rw-r--r--public/images/iphone11.webp (renamed from src/assets/iphone11.webp)bin40480 -> 40480 bytes
-rw-r--r--public/images/jonsbon2.webp (renamed from src/assets/jonsbon2.webp)bin16288 -> 16288 bytes
-rw-r--r--public/images/ksm32ed8.webp (renamed from src/assets/ksm32ed8.webp)bin12068 -> 12068 bytes
-rw-r--r--public/images/luigimansion.webp (renamed from src/assets/luigimansion.webp)bin5348 -> 5348 bytes
-rw-r--r--public/images/macbookair.webp (renamed from src/assets/macbookair.webp)bin85954 -> 85954 bytes
-rw-r--r--public/images/markdownparser.webp (renamed from src/assets/markdownparser.webp)bin12700 -> 12700 bytes
-rw-r--r--public/images/nas.webp (renamed from src/assets/nas.webp)bin233440 -> 233440 bytes
-rw-r--r--public/images/ncasem2.webp (renamed from src/assets/ncasem2.webp)bin19282 -> 19282 bytes
-rw-r--r--public/images/nix.webp (renamed from src/assets/nix.webp)bin27256 -> 27256 bytes
-rw-r--r--public/images/noctuanh-d9l.webp (renamed from src/assets/noctuanh-d9l.webp)bin42058 -> 42058 bytes
-rw-r--r--public/images/ocarinaoftime.webp (renamed from src/assets/ocarinaoftime.webp)bin7488 -> 7488 bytes
-rw-r--r--public/images/p3plus.webp (renamed from src/assets/p3plus.webp)bin8140 -> 8140 bytes
-rw-r--r--public/images/patriop300.webp (renamed from src/assets/patriop300.webp)bin10666 -> 10666 bytes
-rw-r--r--public/images/pi.webp (renamed from src/assets/pi.webp)bin181260 -> 181260 bytes
-rw-r--r--public/images/quiz.webp (renamed from src/assets/quiz.webp)bin862 -> 862 bytes
-rw-r--r--public/images/raylibshooter.webp (renamed from src/assets/raylibshooter.webp)bin6334 -> 6334 bytes
-rw-r--r--public/images/rice.webp (renamed from src/assets/rice.webp)bin31914 -> 31914 bytes
-rw-r--r--public/images/rx9070xt.webp (renamed from src/assets/rx9070xt.webp)bin8250 -> 8250 bytes
-rw-r--r--public/images/seagateironwolf.webp (renamed from src/assets/seagateironwolf.webp)bin10692 -> 10692 bytes
-rw-r--r--public/images/setup.webp (renamed from src/assets/setup.webp)bin40854 -> 40854 bytes
-rw-r--r--public/images/sf450.webp (renamed from src/assets/sf450.webp)bin16006 -> 16006 bytes
-rw-r--r--public/images/sf750.webp (renamed from src/assets/sf750.webp)bin12926 -> 12926 bytes
-rw-r--r--public/images/site.webp (renamed from src/assets/site.webp)bin17846 -> 17846 bytes
-rw-r--r--public/images/spaceinvaders.webp (renamed from src/assets/spaceinvaders.webp)bin15830 -> 15830 bytes
-rw-r--r--public/images/specula.webp (renamed from src/assets/specula.webp)bin17942 -> 17942 bytes
-rw-r--r--public/images/todolist.webp (renamed from src/assets/todolist.webp)bin16534 -> 16534 bytes
-rw-r--r--src/blog/3dprint.md2
-rw-r--r--src/data/gear.ts75
-rw-r--r--src/data/projects.ts36
-rw-r--r--src/pages/404Page.tsx8
-rw-r--r--src/pages/Home.tsx22
-rw-r--r--src/pages/Homelab.tsx7
47 files changed, 50 insertions, 100 deletions
diff --git a/src/assets/3ds.webp b/public/images/3ds.webp
index ee9f56c..ee9f56c 100644
--- a/src/assets/3ds.webp
+++ b/public/images/3ds.webp
Binary files differ
diff --git a/src/assets/404.webp b/public/images/404.webp
index 5a8caff..5a8caff 100644
--- a/src/assets/404.webp
+++ b/public/images/404.webp
Binary files differ
diff --git a/src/assets/980pro.webp b/public/images/980pro.webp
index 6e004bf..6e004bf 100644
--- a/src/assets/980pro.webp
+++ b/public/images/980pro.webp
Binary files differ
diff --git a/src/assets/B550MITX.webp b/public/images/B550MITX.webp
index aeaf364..aeaf364 100644
--- a/src/assets/B550MITX.webp
+++ b/public/images/B550MITX.webp
Binary files differ
diff --git a/src/assets/a1.webp b/public/images/a1.webp
index f35bdf4..f35bdf4 100644
--- a/src/assets/a1.webp
+++ b/public/images/a1.webp
Binary files differ
diff --git a/src/assets/airpodspro.webp b/public/images/airpodspro.webp
index 7426f84..7426f84 100644
--- a/src/assets/airpodspro.webp
+++ b/public/images/airpodspro.webp
Binary files differ
diff --git a/src/assets/amdryzen55600g.webp b/public/images/amdryzen55600g.webp
index ffd55a3..ffd55a3 100644
--- a/src/assets/amdryzen55600g.webp
+++ b/public/images/amdryzen55600g.webp
Binary files differ
diff --git a/src/assets/amdryzen7700x.webp b/public/images/amdryzen7700x.webp
index 22393d1..22393d1 100644
--- a/src/assets/amdryzen7700x.webp
+++ b/public/images/amdryzen7700x.webp
Binary files differ
diff --git a/src/assets/authentication.webp b/public/images/authentication.webp
index 91980d2..91980d2 100644
--- a/src/assets/authentication.webp
+++ b/public/images/authentication.webp
Binary files differ
diff --git a/src/assets/b650e-i.webp b/public/images/b650e-i.webp
index 5cb20f6..5cb20f6 100644
--- a/src/assets/b650e-i.webp
+++ b/public/images/b650e-i.webp
Binary files differ
diff --git a/src/assets/esp32.webp b/public/images/esp32.webp
index 74bf371..74bf371 100644
--- a/src/assets/esp32.webp
+++ b/public/images/esp32.webp
Binary files differ
diff --git a/src/assets/github.webp b/public/images/github.webp
index 92d6ffa..92d6ffa 100644
--- a/src/assets/github.webp
+++ b/public/images/github.webp
Binary files differ
diff --git a/src/assets/gskilltridentz5.webp b/public/images/gskilltridentz5.webp
index 6017949..6017949 100644
--- a/src/assets/gskilltridentz5.webp
+++ b/public/images/gskilltridentz5.webp
Binary files differ
diff --git a/src/assets/hackintosh.webp b/public/images/hackintosh.webp
index 831e7b7..831e7b7 100644
--- a/src/assets/hackintosh.webp
+++ b/public/images/hackintosh.webp
Binary files differ
diff --git a/src/assets/hellsparadise.webp b/public/images/hellsparadise.webp
index 75b18bd..75b18bd 100644
--- a/src/assets/hellsparadise.webp
+++ b/public/images/hellsparadise.webp
Binary files differ
diff --git a/src/assets/iphone11.webp b/public/images/iphone11.webp
index 6708e1d..6708e1d 100644
--- a/src/assets/iphone11.webp
+++ b/public/images/iphone11.webp
Binary files differ
diff --git a/src/assets/jonsbon2.webp b/public/images/jonsbon2.webp
index a7f9459..a7f9459 100644
--- a/src/assets/jonsbon2.webp
+++ b/public/images/jonsbon2.webp
Binary files differ
diff --git a/src/assets/ksm32ed8.webp b/public/images/ksm32ed8.webp
index 5de5a94..5de5a94 100644
--- a/src/assets/ksm32ed8.webp
+++ b/public/images/ksm32ed8.webp
Binary files differ
diff --git a/src/assets/luigimansion.webp b/public/images/luigimansion.webp
index 52923eb..52923eb 100644
--- a/src/assets/luigimansion.webp
+++ b/public/images/luigimansion.webp
Binary files differ
diff --git a/src/assets/macbookair.webp b/public/images/macbookair.webp
index 2713c6d..2713c6d 100644
--- a/src/assets/macbookair.webp
+++ b/public/images/macbookair.webp
Binary files differ
diff --git a/src/assets/markdownparser.webp b/public/images/markdownparser.webp
index be7c23d..be7c23d 100644
--- a/src/assets/markdownparser.webp
+++ b/public/images/markdownparser.webp
Binary files differ
diff --git a/src/assets/nas.webp b/public/images/nas.webp
index a07a578..a07a578 100644
--- a/src/assets/nas.webp
+++ b/public/images/nas.webp
Binary files differ
diff --git a/src/assets/ncasem2.webp b/public/images/ncasem2.webp
index f887f25..f887f25 100644
--- a/src/assets/ncasem2.webp
+++ b/public/images/ncasem2.webp
Binary files differ
diff --git a/src/assets/nix.webp b/public/images/nix.webp
index 3061b5c..3061b5c 100644
--- a/src/assets/nix.webp
+++ b/public/images/nix.webp
Binary files differ
diff --git a/src/assets/noctuanh-d9l.webp b/public/images/noctuanh-d9l.webp
index 3d9b00e..3d9b00e 100644
--- a/src/assets/noctuanh-d9l.webp
+++ b/public/images/noctuanh-d9l.webp
Binary files differ
diff --git a/src/assets/ocarinaoftime.webp b/public/images/ocarinaoftime.webp
index 4f312a4..4f312a4 100644
--- a/src/assets/ocarinaoftime.webp
+++ b/public/images/ocarinaoftime.webp
Binary files differ
diff --git a/src/assets/p3plus.webp b/public/images/p3plus.webp
index f02ced1..f02ced1 100644
--- a/src/assets/p3plus.webp
+++ b/public/images/p3plus.webp
Binary files differ
diff --git a/src/assets/patriop300.webp b/public/images/patriop300.webp
index aa81f3c..aa81f3c 100644
--- a/src/assets/patriop300.webp
+++ b/public/images/patriop300.webp
Binary files differ
diff --git a/src/assets/pi.webp b/public/images/pi.webp
index d197e91..d197e91 100644
--- a/src/assets/pi.webp
+++ b/public/images/pi.webp
Binary files differ
diff --git a/src/assets/quiz.webp b/public/images/quiz.webp
index 52990b7..52990b7 100644
--- a/src/assets/quiz.webp
+++ b/public/images/quiz.webp
Binary files differ
diff --git a/src/assets/raylibshooter.webp b/public/images/raylibshooter.webp
index 36a8559..36a8559 100644
--- a/src/assets/raylibshooter.webp
+++ b/public/images/raylibshooter.webp
Binary files differ
diff --git a/src/assets/rice.webp b/public/images/rice.webp
index 769ca06..769ca06 100644
--- a/src/assets/rice.webp
+++ b/public/images/rice.webp
Binary files differ
diff --git a/src/assets/rx9070xt.webp b/public/images/rx9070xt.webp
index cd3b89b..cd3b89b 100644
--- a/src/assets/rx9070xt.webp
+++ b/public/images/rx9070xt.webp
Binary files differ
diff --git a/src/assets/seagateironwolf.webp b/public/images/seagateironwolf.webp
index 25fd27f..25fd27f 100644
--- a/src/assets/seagateironwolf.webp
+++ b/public/images/seagateironwolf.webp
Binary files differ
diff --git a/src/assets/setup.webp b/public/images/setup.webp
index 3c36775..3c36775 100644
--- a/src/assets/setup.webp
+++ b/public/images/setup.webp
Binary files differ
diff --git a/src/assets/sf450.webp b/public/images/sf450.webp
index 4c15b5d..4c15b5d 100644
--- a/src/assets/sf450.webp
+++ b/public/images/sf450.webp
Binary files differ
diff --git a/src/assets/sf750.webp b/public/images/sf750.webp
index cf1afe1..cf1afe1 100644
--- a/src/assets/sf750.webp
+++ b/public/images/sf750.webp
Binary files differ
diff --git a/src/assets/site.webp b/public/images/site.webp
index 2268da0..2268da0 100644
--- a/src/assets/site.webp
+++ b/public/images/site.webp
Binary files differ
diff --git a/src/assets/spaceinvaders.webp b/public/images/spaceinvaders.webp
index 01065ec..01065ec 100644
--- a/src/assets/spaceinvaders.webp
+++ b/public/images/spaceinvaders.webp
Binary files differ
diff --git a/src/assets/specula.webp b/public/images/specula.webp
index a148c4c..a148c4c 100644
--- a/src/assets/specula.webp
+++ b/public/images/specula.webp
Binary files differ
diff --git a/src/assets/todolist.webp b/public/images/todolist.webp
index 2a833d5..2a833d5 100644
--- a/src/assets/todolist.webp
+++ b/public/images/todolist.webp
Binary files differ
diff --git a/src/blog/3dprint.md b/src/blog/3dprint.md
index ab3cf28..7b96a39 100644
--- a/src/blog/3dprint.md
+++ b/src/blog/3dprint.md
@@ -2,7 +2,7 @@
title: "3D Printing"
date: "2025-06-25"
excerpt: "My 3D-printing projects: from a robotic arm to a DIY drone – including the ESP32 controller code."
-cover: "/src/assets/a1.webp"
+cover: "/images/a1.webp"
---
# Projects
diff --git a/src/data/gear.ts b/src/data/gear.ts
index 73fe3fd..50d24a3 100644
--- a/src/data/gear.ts
+++ b/src/data/gear.ts
@@ -1,25 +1,3 @@
-import iphone11Img from "../assets/iphone11.webp";
-import airpodsProImg from "../assets/airpodspro.webp";
-import macbookAirImg from "../assets/macbookair.webp";
-
-import ryzen7700xImg from "../assets/amdryzen7700x.webp";
-import ryzen5600gImg from "../assets/amdryzen55600g.webp";
-import noctuaNhD9lImg from "../assets/noctuanh-d9l.webp";
-import gskillTridentZ5Img from "../assets/gskilltridentz5.webp";
-import b650eIImg from "../assets/b650e-i.webp";
-import b550mItxImg from "../assets/B550MITX.webp";
-import pro980Img from "../assets/980pro.webp";
-import p3plusImg from "../assets/p3plus.webp";
-import patriotP300Img from "../assets/patriop300.webp";
-import sf750Img from "../assets/sf750.webp";
-import sf450Img from "../assets/sf450.webp";
-import rx9070xtImg from "../assets/rx9070xt.webp";
-import ncaseM2Img from "../assets/ncasem2.webp";
-
-import ksm32ed8Img from "../assets/ksm32ed8.webp";
-import seagateIronWolfImg from "../assets/seagateironwolf.webp";
-import jonsboN2Img from "../assets/jonsbon2.webp";
-
export interface Part {
name: string;
description: string;
@@ -28,44 +6,29 @@ export interface Part {
}
export const dailyDrivers: Part[] = [
- {
- name: "iPhone 11",
- description: "64 GB - White",
- url: "https://support.apple.com/111865",
- image: iphone11Img,
- },
- {
- name: "AirPods Pro",
- description: "1st Gen",
- url: "https://support.apple.com/111861",
- image: airpodsProImg,
- },
- {
- name: "MacBook Air",
- description: "13\" - M2 - 512 GB",
- url: "https://support.apple.com/111867",
- image: macbookAirImg,
- },
+ { name: "iPhone 11", description: "64 GB - White", url: "https://support.apple.com/111865", image: "/images/iphone11.webp" },
+ { name: "AirPods Pro", description: "1st Gen", url: "https://support.apple.com/111861", image: "/images/airpodspro.webp" },
+ { name: "MacBook Air", description: "13\" - M2 - 512 GB", url: "https://support.apple.com/111867", image: "/images/macbookair.webp" }
];
export const desktopParts: Part[] = [
- { name: "AMD Ryzen 7 7700X", description: "CPU", image: ryzen7700xImg },
- { name: "Noctua NH-D9L chromax.black", description: "CPU cooler", image: noctuaNhD9lImg },
- { name: "G.Skill Trident Z5 NEO 32 GB DDR5-6000", description: "RAM", image: gskillTridentZ5Img },
- { name: "ROG STRIX B650E-I", description: "Motherboard", image: b650eIImg },
- { name: "Samsung 980 Pro 2 TB", description: "NVMe (Windows)", image: pro980Img },
- { name: "Crucial P3 Plus 500 GB", description: "NVMe (Linux)", image: p3plusImg },
- { name: "Corsair SF750", description: "SFX PSU", image: sf750Img },
- { name: "XFX Radeon RX 9070 XT QuickSilver", description: "GPU", image: rx9070xtImg },
- { name: "NCASE M2 - Round", description: "Case", image: ncaseM2Img },
+ { name: "AMD Ryzen 7 7700X", description: "CPU", image: "/images/amdryzen7700x.webp" },
+ { name: "Noctua NH-D9L chromax.black", description: "CPU cooler", image: "/images/noctuanh-d9l.webp" },
+ { name: "G.Skill Trident Z5 NEO 32 GB DDR5-6000", description: "RAM", image: "/images/gskilltridentz5.webp" },
+ { name: "ROG STRIX B650E-I", description: "Motherboard", image: "/images/b650e-i.webp" },
+ { name: "Samsung 980 Pro 2 TB", description: "NVMe (Windows)", image: "/images/980pro.webp" },
+ { name: "Crucial P3 Plus 500 GB", description: "NVMe (Linux)", image: "/images/p3plus.webp" },
+ { name: "Corsair SF750", description: "SFX PSU", image: "/images/sf750.webp" },
+ { name: "XFX Radeon RX 9070 XT QuickSilver", description: "GPU", image: "/images/rx9070xt.webp" },
+ { name: "NCASE M2 - Round", description: "Case", image: "/images/ncasem2.webp" }
];
export const nasParts: Part[] = [
- { name: "AMD Ryzen 5 5600G", description: "CPU", image: ryzen5600gImg },
- { name: "Kingston KSM32ED8 2x 8 GB ECC", description: "RAM", image: ksm32ed8Img },
- { name: "ASRock B550M-ITX", description: "Motherboard", image: b550mItxImg },
- { name: "Seagate IronWolf 8 TB x 2", description: "Storage", image: seagateIronWolfImg },
- { name: "Patriot P300 128 GB", description: "Cache SSD", image: patriotP300Img },
- { name: "Corsair SF450", description: "SFX PSU", image: sf450Img },
- { name: "Jonsbo N2", description: "Mini-NAS case", image: jonsboN2Img },
+ { name: "AMD Ryzen 5 5600G", description: "CPU", image: "/images/amdryzen55600g.webp" },
+ { name: "Kingston KSM32ED8 2x 8 GB ECC", description: "RAM", image: "/images/ksm32ed8.webp" },
+ { name: "ASRock B550M-ITX", description: "Motherboard", image: "/images/B550MITX.webp" },
+ { name: "Seagate IronWolf 8 TB x 2", description: "Storage", image: "/images/seagateironwolf.webp" },
+ { name: "Patriot P300 128 GB", description: "Cache SSD", image: "/images/patriop300.webp" },
+ { name: "Corsair SF450", description: "SFX PSU", image: "/images/sf450.webp" },
+ { name: "Jonsbo N2", description: "Mini-NAS case", image: "/images/jonsbon2.webp" }
]; \ No newline at end of file
diff --git a/src/data/projects.ts b/src/data/projects.ts
index 39825e1..ed7d16e 100644
--- a/src/data/projects.ts
+++ b/src/data/projects.ts
@@ -1,15 +1,3 @@
-import spaceInvadersImg from "../assets/spaceinvaders.webp";
-import hackintoshImg from "../assets/hackintosh.webp";
-import markdownPreviewImg from "../assets/markdownparser.webp";
-import quizImg from "../assets/quiz.webp";
-import raylibShooterImg from "../assets/raylibshooter.webp";
-import authenticationImg from "../assets/authentication.webp";
-import todoListImg from "../assets/todolist.webp";
-import speculaImg from "../assets/specula.webp";
-import gitHubImg from "../assets/github.webp";
-import siteImg from "../assets/site.webp";
-import nixImg from "../assets/nix.webp";
-
export interface Project {
name: string;
description: string;
@@ -22,66 +10,66 @@ export const projects: Project[] = [
name: "Quiz Website",
description: "Dynamic website fetching question from a database",
url: "https://github.com/schererleander/quiz",
- image: quizImg,
+ image: "/images/quiz.webp",
},
{
name: "Authentication",
description: "Register & login API with passwords stored as salted bcrypt hashes",
url: "https://github.com/schererleander/authentication",
- image: authenticationImg,
+ image: "/images/authentication.webp",
},
{
name: "site",
description: "React + Tailwind site auto-deployed to a VPS via GitHub Actions",
url: "https://github.com/schererleander/site",
- image: siteImg,
+ image: "/images/site.webp",
},
{
name: "Space Invaders",
description: "Classic Space-Invaders clone built in Python with Pygame",
url: "https://github.com/schererleander/space-invaders",
- image: spaceInvadersImg,
+ image: "/images/spaceinvaders.webp",
},
{
name: "Markdown Preview",
description: "Live Markdown preview (basic syntax)",
url: "https://github.com/schererleander/markdown-preview",
- image: markdownPreviewImg,
+ image: "/images/markdownparser.webp",
},
{
name: "todolist",
description: "Simple ncurses CLI todo list (C)",
url: "https://github.com/schererleander/todolist",
- image: todoListImg,
+ image: "/images/todolist.webp",
},
{
name: "specula",
description: "Minimal TUI for file metadata (go)",
url: "https://github.com/schererleander/specula",
- image: speculaImg,
+ image: "/images/specula.webp",
},
{
name: "Nix",
description: "Exploring Nix to build a reproducible system configuration across all my devices.",
url: "https://github.com/schererleander/nix",
- image: nixImg,
+ image: "/images/nix.webp",
},
{
name: "Hackintosh",
description: "macOS on PC hardware using opencore",
url: "https://github.com/schererleander/opencore-config",
- image: hackintoshImg,
+ image: "/images/hackintosh.webp",
},
{
name: "raylib-shooter",
description: "Unfinished FPS built with raylib",
url: "https://github.com/schererleander/raylib-shooter",
- image: raylibShooterImg,
+ image: "/images/raylibshooter.webp",
},
{
name: "Python ICS Modifier",
description: "Changes reminders of .ics file",
url: "https://github.com/schererleander/pyhton-ics-modifier",
- image: gitHubImg
+ image: "/images/github.webp",
},
-];
+]; \ No newline at end of file
diff --git a/src/pages/404Page.tsx b/src/pages/404Page.tsx
index ee70043..d7bfa10 100644
--- a/src/pages/404Page.tsx
+++ b/src/pages/404Page.tsx
@@ -1,5 +1,4 @@
import { useNavigate } from "react-router-dom";
-import notFoundImg from "../assets/404.webp";
import { useEffect } from "react";
export default function NotFoundPage() {
@@ -12,10 +11,11 @@ export default function NotFoundPage() {
return () => clearTimeout(timer);
}, [navigate]);
- return(
+
+ return (
<>
<h1>404 - Not found</h1>
- <img src={notFoundImg} className="rounded-lg"/>
+ <img src="/images/404.webp" className="rounded-lg" />
</>
);
-} \ No newline at end of file
+}
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
diff --git a/src/pages/Homelab.tsx b/src/pages/Homelab.tsx
index c5e9d14..39693d7 100644
--- a/src/pages/Homelab.tsx
+++ b/src/pages/Homelab.tsx
@@ -1,5 +1,3 @@
-import nasImg from '../assets/nas.webp';
-import piImg from '../assets/pi.webp';
import LinkWithIcon from '../components/LinkWithIcon';
const nasServices = [
@@ -18,7 +16,7 @@ export default function HomelabPage() {
<section className="mb-12">
<h2>NAS</h2>
- <img src={nasImg} alt="NAS" className="mx-auto mb-4 w-64 rounded-lg shadow" />
+ <img src="/images/nas.webp" alt="NAS" className="mx-auto mb-4 w-64 rounded-lg shadow" />
<p className="mb-4 leading-relaxed">
My custom-built NAS running <strong>Unraid</strong> hosts the following services. See <LinkWithIcon href='/gear'>gear</LinkWithIcon> for specs.
</p>
@@ -34,13 +32,12 @@ export default function HomelabPage() {
<section className="mb-12">
<h2>Raspberry Pi</h2>
- <img src={piImg} alt="Raspberry Pi 5" className="mx-auto mb-4 w-64 rounded-lg shadow" />
+ <img src="/images/pi.webp" alt="Raspberry Pi 5" className="mx-auto mb-4 w-64 rounded-lg shadow" />
<p className="mb-4 leading-relaxed">
Raspberry Pi 5 (8GB) running <LinkWithIcon href='https://homebridge.io'>Homebridge</LinkWithIcon> to integrate non-HomeKit devices. It also serves as a precision NTP server using a <LinkWithIcon href='https://store.uputronics.com/products/raspberry-pi-gps-rtc-expansion-board' target='_blank'>Uputronics GPS module</LinkWithIcon>.
</p>
</section>
- {/* VPS */}
<section>
<h2>VPS</h2>
<p className="mb-4 leading-relaxed">