RJBULK-APP/app/page.tsx
SJCoetz 1efa979443 feat: initial setup of rj bulk supplies backoffice app
Adds complete initial codebase for the RJ Bulk Supplies fuel delivery backoffice:
- Authentication pages and protected route layouts
- Customer, supplier, fuel purchase, and delivery note management
- Custom reporting and customer statement sending tools
- Full UI component library and Tailwind styling
- Server actions, API routes, and PocketBase integration
- Development scripts and project configuration updates
- Updated README and package metadata
2026-07-19 20:38:16 +02:00

7 lines
208 B
TypeScript

import { redirect } from "next/navigation";
import { getAuth } from "@/lib/auth";
export default async function HomePage() {
const { user } = await getAuth();
redirect(user ? "/dashboard" : "/login");
}