Skip to content

Commit 0c8549d

Browse files
devakoneclaude
andcommitted
feat(community): add public /community page with aggregated stats UI
Server-rendered page displaying anonymized community statistics: suppressed state with progress bar, persona distribution, axis quartile ranges, and AI tool adoption metrics. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 00a5027 commit 0c8549d

2 files changed

Lines changed: 478 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import Link from "next/link";
2+
3+
/**
4+
* Lightweight layout for the public community page.
5+
* No auth required, minimal header with app logo/link.
6+
*/
7+
export default function CommunityLayout({
8+
children,
9+
}: {
10+
children: React.ReactNode;
11+
}) {
12+
return (
13+
<div className="min-h-screen bg-[#faf9fc]">
14+
{/* Minimal header */}
15+
<header className="border-b border-black/5 bg-white/80 backdrop-blur-sm">
16+
<div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-3">
17+
<Link
18+
href="/"
19+
className="text-sm font-semibold tracking-tight text-zinc-900 transition hover:text-violet-600"
20+
>
21+
Vibe Coding Profiler
22+
</Link>
23+
<Link
24+
href="/login"
25+
className="rounded-full bg-gradient-to-r from-violet-600 to-indigo-500 px-4 py-1.5 text-xs font-semibold text-white shadow-sm transition hover:brightness-110"
26+
>
27+
Get your VCP
28+
</Link>
29+
</div>
30+
</header>
31+
<main>{children}</main>
32+
</div>
33+
);
34+
}

0 commit comments

Comments
 (0)