feat(projects): expand projects page to seven entries
Add jonbio, homelab-ops, crane, seafile-backup, apprise-client and Inex alongside qbit-maid, each with matching 704x384 artwork in the same visual family. homelab-ops stays unlinked because the repo is private. Card now bottom-aligns the "Learn more" link so rows line up when one description wraps to two lines.
This commit is contained in:
1 parent
5de7b04e6d
commit
66ef3c727e
2 files changed
+38
-3
No files matched your search
+3
-3
@@ -6,7 +6,7 @@ const Card = ({ title, description, imgSrc, href }) => (
|
|||||||
<div
|
<div
|
||||||
className={`${
|
className={`${
|
||||||
imgSrc && 'h-full'
|
imgSrc && 'h-full'
|
||||||
} overflow-hidden rounded-md border-2 border-gray-200 border-opacity-60 dark:border-gray-700`}
|
} flex flex-col overflow-hidden rounded-md border-2 border-gray-200 border-opacity-60 dark:border-gray-700`}
|
||||||
>
|
>
|
||||||
{imgSrc &&
|
{imgSrc &&
|
||||||
(href ? (
|
(href ? (
|
||||||
@@ -28,7 +28,7 @@ const Card = ({ title, description, imgSrc, href }) => (
|
|||||||
height={306}
|
height={306}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
<div className="p-6">
|
<div className="flex flex-1 flex-col p-6">
|
||||||
<h2 className="mb-3 text-2xl font-bold leading-8 tracking-tight">
|
<h2 className="mb-3 text-2xl font-bold leading-8 tracking-tight">
|
||||||
{href ? (
|
{href ? (
|
||||||
<Link href={href} aria-label={`Link to ${title}`}>
|
<Link href={href} aria-label={`Link to ${title}`}>
|
||||||
@@ -42,7 +42,7 @@ const Card = ({ title, description, imgSrc, href }) => (
|
|||||||
{href && (
|
{href && (
|
||||||
<Link
|
<Link
|
||||||
href={href}
|
href={href}
|
||||||
className="text-base font-medium leading-6 text-primary-500 hover:text-primary-600 dark:hover:text-primary-400"
|
className="mt-auto text-base font-medium leading-6 text-primary-500 hover:text-primary-600 dark:hover:text-primary-400"
|
||||||
aria-label={`Link to ${title}`}
|
aria-label={`Link to ${title}`}
|
||||||
>
|
>
|
||||||
Learn more →
|
Learn more →
|
||||||
|
|||||||
@@ -12,6 +12,41 @@ const projectsData: Project[] = [
|
|||||||
imgSrc: 'https://s3.jonb.io/cdn/projects/qbitmaid.jpg',
|
imgSrc: 'https://s3.jonb.io/cdn/projects/qbitmaid.jpg',
|
||||||
href: '/blog/qbitmaid',
|
href: '/blog/qbitmaid',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'jonbio',
|
||||||
|
description: `This site. Next.js and contentlayer, deployed through Komodo.`,
|
||||||
|
imgSrc: 'https://s3.jonb.io/cdn/projects/jonbio.jpg',
|
||||||
|
href: 'https://git.jonb.io/jblu/jonbio',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'homelab-ops',
|
||||||
|
description: `Gitops for 76 Komodo stacks across six hosts.`,
|
||||||
|
imgSrc: 'https://s3.jonb.io/cdn/projects/homelab-ops.jpg',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'crane',
|
||||||
|
description: `Python watchdog that keeps containers running in portainer.`,
|
||||||
|
imgSrc: 'https://s3.jonb.io/cdn/projects/crane.jpg',
|
||||||
|
href: 'https://git.jonb.io/jblu/crane',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'seafile-backup',
|
||||||
|
description: `Restic and mariadb backup pipeline for seafile.`,
|
||||||
|
imgSrc: 'https://s3.jonb.io/cdn/projects/seafile-backup.jpg',
|
||||||
|
href: 'https://git.jonb.io/jblu/seafile-backup',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'apprise-client',
|
||||||
|
description: `Python wrapper for apprise notifications.`,
|
||||||
|
imgSrc: 'https://s3.jonb.io/cdn/projects/apprise-client.jpg',
|
||||||
|
href: 'https://git.jonb.io/jblu/apprise-client',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Inex',
|
||||||
|
description: `Pulls data from MSSQL, reformats it and pushes it to the Event Fusion Center.`,
|
||||||
|
imgSrc: 'https://s3.jonb.io/cdn/projects/Inex.jpg',
|
||||||
|
href: 'https://git.jonb.io/jblu/Inex',
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export default projectsData
|
export default projectsData
|
||||||
Reference in new issue
Block a user