added project modal, portal, and backend code to get description

This commit is contained in:
2025-12-21 15:19:30 -05:00
parent 3e24c3936a
commit 02d1c4b784
7 changed files with 58 additions and 58 deletions

View File

@@ -6,6 +6,7 @@ interface ProjectData {
title: string;
repo?: string;
summary: string;
description?: string;
tech: string;
wip?: boolean;
created_at: string;
@@ -43,12 +44,16 @@ export default function Projects({ data }: PageProps<ProjectData>) {
challenges that keep me busy when I'm not doing "real work" stuff!
</p>
<div class="grid grid-cols-1 sm:grid-cols-2">
{projects.map((project: any) => {
{projects.map((project: ProjectData) => {
return (
<ProjectCard
title={project.title}
repo={project.repo ?? undefined}
summary={project.summary}
description={
project.description ??
"No description found. Perhaps you should check out the repository instead!"
}
tech={project.tech}
wip={project.wip ?? true}
/>