diff options
| author | schererleander <leander@schererleander.de> | 2025-06-25 16:32:45 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-06-25 16:32:45 +0200 |
| commit | afb4ced1b8b96d9ec12e454aad380e6f59250e86 (patch) | |
| tree | 6305845cd96808f253c9deced98bc5d61bf8df44 /src/pages | |
| parent | a865055c1f7c26ccafb78b27b069d74647067472 (diff) | |
remove link component
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/Blog.tsx | 4 | ||||
| -rw-r--r-- | src/pages/Homelab.tsx | 8 | ||||
| -rw-r--r-- | src/pages/Post.tsx | 4 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/pages/Blog.tsx b/src/pages/Blog.tsx index 1b20e89..27a21c4 100644 --- a/src/pages/Blog.tsx +++ b/src/pages/Blog.tsx @@ -29,13 +29,13 @@ export default function Blog() { <h1 className="text-4xl font-bold mb-8">Blog</h1> {posts.map((post) => ( - <Link key={post.slug} to={`/blog/${post.slug}`} className="block"> + <a key={post.slug} href={`/blog/${post.slug}`} className="block"> <CardLink title={post.title} body={post.excerpt} imgSrc={post.cover} /> - </Link> + </a> ))} </section> ); diff --git a/src/pages/Homelab.tsx b/src/pages/Homelab.tsx index 39693d7..9371ff2 100644 --- a/src/pages/Homelab.tsx +++ b/src/pages/Homelab.tsx @@ -1,5 +1,3 @@ -import LinkWithIcon from '../components/LinkWithIcon'; - const nasServices = [ "Jellyfin: Media library", "Kavita: Ebooks and manga", @@ -18,7 +16,7 @@ export default function HomelabPage() { <h2>NAS</h2> <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. + My custom-built NAS running <strong>Unraid</strong> hosts the following services. See <a href='/gear'>gear</a> for specs. </p> <ul className="list-disc pl-6 space-y-1"> {nasServices.map((svc) => ( @@ -34,14 +32,14 @@ export default function HomelabPage() { <h2>Raspberry Pi</h2> <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>. + Raspberry Pi 5 (8GB) running <a href='https://homebridge.io'>Homebridge</a> to integrate non-HomeKit devices. It also serves as a precision NTP server using a <a href='https://store.uputronics.com/products/raspberry-pi-gps-rtc-expansion-board' target='_blank'>Uputronics GPS module</a>. </p> </section> <section> <h2>VPS</h2> <p className="mb-4 leading-relaxed"> - Cheap Ionos VPS running nixos via <LinkWithIcon href='https://github.com/elitak/nixos-infect'>nixos-infect</LinkWithIcon> for services exposed to the internet. Mainly using it for hosting this website and <LinkWithIcon href='https://nextcloud.com'>Nextcloud</LinkWithIcon>. + Cheap Ionos VPS running nixos via <a href='https://github.com/elitak/nixos-infect'>nixos-infect</a> for services exposed to the internet. Mainly using it for hosting this website and <a href='https://nextcloud.com'>Nextcloud</a>. </p> </section> </> diff --git a/src/pages/Post.tsx b/src/pages/Post.tsx index 67f8959..f23b5b4 100644 --- a/src/pages/Post.tsx +++ b/src/pages/Post.tsx @@ -27,9 +27,9 @@ export default function Post() { return ( <article className="prose prose-zinc dark:prose-invert mx-auto px-4 py-10"> - <Link to="/blog" className="no-underline hover:underline"> + <a href="/blog" className="no-underline hover:underline"> ← Back - </Link> + </a> {meta.cover && ( <img |
