MCPcopy Create free account
hub / github.com/3eif/gitmotion / VisualizationsCount

Function VisualizationsCount

website/src/components/visualizations-count.tsx:5–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3export const revalidate = 43200; // 12 hours in seconds
4
5export default async function VisualizationsCount() {
6 const count = await redis.get("generations");
7
8 return (
9 <div className="font-normal text-sm text-neutral-300 px-4 py-2 rounded-full border border-blue-500/30 bg-gradient-to-b from-blue-400/10 to-blue-900/10 inline-block">
10 <strong>{count}</strong> visualizations generated and counting
11 </div>
12 );
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected