mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
19 lines
590 B
TypeScript
19 lines
590 B
TypeScript
import type { Metadata } from "next";
|
|
import { getCommunityStats } from "@/lib/community-stats";
|
|
import { createMetadata } from "@/lib/metadata";
|
|
import { CommunityPageClient } from "./community-client";
|
|
|
|
export const metadata: Metadata = createMetadata({
|
|
title: "Community",
|
|
description:
|
|
"Join the Better Auth community — contributors, Discord members, and ecosystem stats.",
|
|
});
|
|
|
|
export const revalidate = 21600; // Revalidate every 6 hours
|
|
|
|
export default async function CommunityPage() {
|
|
const stats = await getCommunityStats();
|
|
|
|
return <CommunityPageClient stats={stats} />;
|
|
}
|