aboutsummaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-06-25 01:42:59 +0200
committerschererleander <leander@schererleander.de>2025-06-25 01:42:59 +0200
commitcb5c3ab193131dcd61e7ab489e94d8f47a5c0e1e (patch)
tree79b777a9dcecf0d6ae8dbfe07b4537f31770b8bf /src/data
parent3a7cb097dfcf0672204fff2a3409a1817a87e5fa (diff)
move all image references to /public/images
Diffstat (limited to 'src/data')
-rw-r--r--src/data/gear.ts75
-rw-r--r--src/data/projects.ts36
2 files changed, 31 insertions, 80 deletions
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