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.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',
},
]