Skip to content

Commit d6f4b42

Browse files
committed
feat: integrate BattlesnakeStats component and enhance badge styling
1 parent ceba73e commit d6f4b42

File tree

1 file changed

+38
-21
lines changed

1 file changed

+38
-21
lines changed

app/page.tsx

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import { Button } from "@/components/ui/button";
43
import {
54
Card,
65
CardContent,
@@ -9,8 +8,8 @@ import {
98
CardTitle,
109
} from "@/components/ui/card";
1110
import { Badge } from "@/components/ui/badge";
12-
import Link from "next/link";
1311
import SplitText from "@/components/SplitText";
12+
import { BattlesnakeStats } from "@/components/battlesnake-stats";
1413

1514
export default function HomePage() {
1615
return (
@@ -33,15 +32,11 @@ export default function HomePage() {
3332
solutions and sharing knowledge through code.
3433
</p>
3534
</div>
35+
</div>
3636

37-
<div className="flex justify-center space-x-4">
38-
<Button asChild>
39-
<Link href="/projects">View My Work</Link>
40-
</Button>
41-
<Button variant="secondary" asChild>
42-
<Link href="/blog">Read My Blog</Link>
43-
</Button>
44-
</div>
37+
{/* Battlesnake Stats Widget */}
38+
<div className="w-full max-w-4xl">
39+
<BattlesnakeStats />
4540
</div>
4641

4742
{/* Skills Section */}
@@ -55,27 +50,49 @@ export default function HomePage() {
5550
<div className="space-y-3">
5651
<h4 className="font-semibold">Frontend</h4>
5752
<div className="flex flex-wrap gap-2">
58-
<Badge className="font-mono">React</Badge>
59-
<Badge className="font-mono">Next.js</Badge>
60-
<Badge className="font-mono">TypeScript</Badge>
61-
<Badge className="font-mono">Tailwind CSS</Badge>
53+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
54+
React
55+
</Badge>
56+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
57+
Next.js
58+
</Badge>
59+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
60+
TypeScript
61+
</Badge>
62+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
63+
Tailwind CSS
64+
</Badge>
6265
</div>
6366
</div>
6467
<div className="space-y-3">
6568
<h4 className="font-semibold">Backend</h4>
6669
<div className="flex flex-wrap gap-2">
67-
<Badge className="font-mono">Node.js</Badge>
68-
<Badge className="font-mono">Axum</Badge>
69-
<Badge className="font-mono">Tokio</Badge>
70-
<Badge className="font-mono">Rust</Badge>
71-
<Badge className="font-mono">PostgreSQL</Badge>
70+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
71+
Node.js
72+
</Badge>
73+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
74+
Axum
75+
</Badge>
76+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
77+
Tokio
78+
</Badge>
79+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
80+
Rust
81+
</Badge>
82+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
83+
PostgreSQL
84+
</Badge>
7285
</div>
7386
</div>
7487
<div className="space-y-3">
7588
<h4 className="font-semibold">Tools & DevOps</h4>
7689
<div className="flex flex-wrap gap-2">
77-
<Badge className="font-mono">Git</Badge>
78-
<Badge className="font-mono">Docker</Badge>
90+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
91+
Git
92+
</Badge>
93+
<Badge className="font-mono bg-secondary text-secondary-foreground hover:bg-secondary/80">
94+
Docker
95+
</Badge>
7996
</div>
8097
</div>
8198
</div>

0 commit comments

Comments
 (0)