aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Homelab.tsx
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/pages/Homelab.tsx
parent3a7cb097dfcf0672204fff2a3409a1817a87e5fa (diff)
move all image references to /public/images
Diffstat (limited to 'src/pages/Homelab.tsx')
-rw-r--r--src/pages/Homelab.tsx7
1 files changed, 2 insertions, 5 deletions
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">