import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import Link from "next/link"; import Image from "next/image"; interface Project { title: string; description: string; githubUrl: string; videoSrc?: string; imageSrc?: string; } const projects: Project[] = [ { title: "Boilerplate", description: "A comprehensive starter template for modern web development projects.", githubUrl: "https://github.com/schererleander/boilerplate", videoSrc: "/videos/boilerplate-preview.mp4", }, { title: "Authentication", description: "Simple authentication system built using Express.js.", githubUrl: "https://github.com/schererleander/authentication", imageSrc: "/images/authentication-preview.png" }, { title: "Space Invaders", description: "Space Invaders clone written in Python using Pygame for an old-school project.", githubUrl: "https://github.com/schererleander/spaceinvaders", videoSrc: "/videos/spaceinvaders-preview.mp4", }, { title: "Specula", description: "A minimal TUI tool written in Go to view file metadata and description.", githubUrl: "https://github.com/schererleander/specula", }, ]; export function ProjectsGrid() { return (
{projects.map((project) => ( {project.videoSrc ? (
); }