Skip to content

Commit 0a499b8

Browse files
committed
feat: ui changes.
1 parent feac696 commit 0a499b8

File tree

9 files changed

+293
-481
lines changed

9 files changed

+293
-481
lines changed

src/app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const geistMono = localFont({
1414
});
1515

1616
export const metadata: Metadata = {
17-
title: "GitSpotlight",
17+
title: "Git Spotlight",
1818
description: "Illuminating your code's pain points through git history",
1919
};
2020

src/app/page.tsx

+37-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
1-
import GitSpotlight from '@/components/GitSpotlight';
1+
'use client';
2+
3+
import { patterns } from '@/config/patterns';
4+
import { PatternCard } from '@/components/PatternCard';
25

36
export default function Home() {
4-
return <GitSpotlight />;
7+
return (
8+
<div className="min-h-screen bg-[#0d1117] text-[#c9d1d9] p-6">
9+
<div className="max-w-5xl mx-auto space-y-6">
10+
{/* Header Section */}
11+
<header className="text-center py-8">
12+
<h1 className="text-3xl font-bold mb-4">Git Spotlight</h1>
13+
<p className="text-[#8b949e] max-w-2xl mx-auto">
14+
Discover insights in your git history with these carefully crafted command patterns.
15+
Each pattern helps you identify different aspects of your codebase.
16+
</p>
17+
</header>
18+
19+
{/* Patterns Grid */}
20+
<div className="grid grid-cols-1 gap-6">
21+
{patterns.map(pattern => (
22+
<PatternCard
23+
key={pattern.id}
24+
pattern={pattern}
25+
/>
26+
))}
27+
</div>
28+
29+
{/* Footer */}
30+
<footer className="text-center text-[#8b949e] text-sm py-8">
31+
<p>
32+
Originally presented in <span className="text-[#ffffff]">"Pinpointing Pain Points in Your Code: Effective Value-Driven Refactoring"</span>
33+
<br/>
34+
<span className="text-[#8b949e]">by Asaf Korem • Wix Engineering Conference 2024</span>
35+
</p>
36+
</footer>
37+
</div>
38+
</div>
39+
);
540
}

0 commit comments

Comments
 (0)