From 88c1c5e328e877f21b93fb1816a33cef6684145a Mon Sep 17 00:00:00 2001 From: trex Date: Fri, 20 Nov 2026 11:21:27 -0600 Subject: [PATCH] feat(likes): row list layout with real screenshots Replace the projects-style card grid with a compact row list: 16:9 thumbnail, title, description and hostname per row, hairline dividers, hover tint and an arrow that slides on hover. Adds a live count chip to the heading. Swap the placeholder art for real captures of git.jonb.io, the castlemine squaremap render and the up.jonb.io status page. --- app/likes/page.tsx | 88 ++++++++++++++++++++++++++++++++-------------- data/likesData.ts | 14 +++++--- 2 files changed, 71 insertions(+), 31 deletions(-) diff --git a/app/likes/page.tsx b/app/likes/page.tsx index 6d39a95..7a764b5 100644 --- a/app/likes/page.tsx +++ b/app/likes/page.tsx @@ -1,35 +1,71 @@ -import projectsData from '@/data/likesData' -import Card from '@/components/Card' +import likesData from '@/data/likesData' +import Image from '@/components/Image' +import Link from '@/components/Link' import { genPageMetadata } from 'app/seo' export const metadata = genPageMetadata({ title: 'Likes' }) export default function Likes() { return ( - <> -
-
-

- Likes -

-

- These things are pretty cool, check 'em out. -

-
-
-
- {projectsData.map((d) => ( - - ))} -
-
+
+
+

+ Likes + + {likesData.length} things + +

+

+ These things are pretty cool, check 'em out. +

- +
    + {likesData.map((d) => ( +
  • + + + {d.title} + + + + {d.title} + + + {d.description} + + {d.host && ( + + {d.host} + + )} + + + +
  • + ))} +
+
) } diff --git a/data/likesData.ts b/data/likesData.ts index bdcc30c..49768c4 100644 --- a/data/likesData.ts +++ b/data/likesData.ts @@ -1,8 +1,9 @@ interface Likes { title: string description: string - href?: string - imgSrc?: string + href: string + imgSrc: string + host: string } const likesData: Likes[] = [ @@ -10,19 +11,22 @@ const likesData: Likes[] = [ title: 'Gitea', description: `My git server. Where all of the development happens.`, href: 'https://git.jonb.io/', - imgSrc: 'https://s3.jonb.io/cdn/likes/gitea.jpeg', + imgSrc: 'https://s3.jonb.io/cdn/likes/gitea.jpg', + host: 'git.jonb.io', }, { title: 'Castlemine Map', description: `Minecraft map for the castlemine.jonb.io server.`, href: 'https://castlemine-map.jonb.io/', - imgSrc: 'https://s3.jonb.io/cdn/likes/minecraft.jpeg', + imgSrc: 'https://s3.jonb.io/cdn/likes/castlemine.jpg', + host: 'castlemine-map.jonb.io', }, { title: 'Uptime Kuma', description: `App that monitors the kingdom.`, href: 'https://up.jonb.io/status/default', - imgSrc: 'https://s3.jonb.io/cdn/likes/uptime-kuma.jpeg', + imgSrc: 'https://s3.jonb.io/cdn/likes/uptime-kuma.jpg', + host: 'up.jonb.io', }, ]