import { createFileRoute, Link } from '@tanstack/react-router' import { AppContainer, p as MyText } from 'web-components' import { Send, Settings2, ChevronRight } from 'lucide-react' import { ProtectedRoute } from '../components/ProtectedRoute' import { AppShell } from '../components/AppShell' export const Route = createFileRoute('/dashboard')({ component: () => ( ), }) const CARDS = [ { to: '/send-notifications', title: 'Send Admin Notifications', description: 'Push a message to every admin device.', icon: Send, }, { to: '/constants', title: 'App Constants', description: 'Tune delivery thresholds, charges and app config.', icon: Settings2, }, ] as const function Dashboard() { return (
Dashboard Manage the Freshyo platform.
{CARDS.map(({ to, title, description, icon: Icon }) => (
{title} {description}
))}
) }