feat(projects): expand projects page to seven entries #8

Merged
trex Bot merged 1 commits from feat/projects-expanded into main 2026-11-20 12:49:53 -06:00
2 changed files with 38 additions and 3 deletions
Showing only changes of commit 66ef3c727e - Show all commits

No files matched your search

+3 -3
View File
@@ -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 &rarr; Learn more &rarr;
+35
View File
@@ -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