1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import Link from "next/link";
interface Project {
title: string;
description: string;
githubUrl: string;
}
const projects: Project[] = [
{
title: "Boilerplate",
description: "A comprehensive starter template for modern web development projects.",
githubUrl: "https://github.com/schererleander/boilerplate",
},
{
title: "Quiz Website",
description: "An interactive quiz platform built to test your knowledge.",
githubUrl: "https://github.com/schererleander/quiz",
},
{
title: "Space Invaders",
description: "A classic arcade game clone recreated with modern web technologies.",
githubUrl: "https://github.com/schererleander/spaceinvaders",
},
{
title: "Specula",
description: "A mirror project or reflection tool (Description inferred from name).",
githubUrl: "https://github.com/schererleander/specula",
},
];
export function ProjectsGrid() {
return (
<section>
<div className="grid grid-cols-2 md:grid-cols-2 gap-6">
{projects.map((project) => (
<Link href={project.githubUrl} key={project.title} target="_blank" className="block group h-full">
<Card className="h-full transition-all duration-300 bg-card/50 hover:bg-card/80 shadow-none p-0 gap-0 overflow-hidden">
<div className="w-full h-40 bg-muted animate-pulse" />
<CardHeader className="p-6">
<CardTitle className="group-hover:text-primary transition-colors">{project.title}</CardTitle>
<CardDescription className="text-muted-foreground/60 group-hover:text-muted-foreground transition-colors">{project.description}</CardDescription>
</CardHeader>
</Card>
</Link>
))}
</div>
</section>
);
}
|