18 lines
503 B
TypeScript
18 lines
503 B
TypeScript
import { createRoute } from "@tanstack/react-router";
|
|||
|
|
import { Route as appRoute } from "../_app";
|
||
|
|
|
||
|
|
function AnalyticsPage() {
|
||
|
|
return (
|
||
|
|
<div className="flex flex-col items-center justify-center min-h-[60vh]">
|
||
|
|
<h1 className="text-3xl font-bold mb-2">Analytics</h1>
|
||
|
|
<p className="text-muted-foreground">Coming in T7 — analytics dashboard.</p>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
export const Route = createRoute({
|
||
|
|
getParentRoute: () => appRoute,
|
||
|
|
path: "/analytics",
|
||
|
|
component: AnalyticsPage,
|
||
|
|
});
|