- Added React Router with Home, Login, Dashboard pages - Configured Tailwind CSS with custom theme - Installed shadcn/ui components (button, card, input, etc.)
19 lines
769 B
TypeScript
19 lines
769 B
TypeScript
import { Button } from "@/components/ui/button";
|
|
import { Link } from "react-router-dom";
|
|
|
|
export default function HomePage() {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center min-h-screen bg-background">
|
|
<h1 className="text-4xl font-bold text-primary mb-6">CA Grow Ops Manager</h1>
|
|
<p className="text-muted-foreground mb-8">Secure management for distributed operations.</p>
|
|
<div className="flex gap-4">
|
|
<Link to="/login">
|
|
<Button size="lg">Login</Button>
|
|
</Link>
|
|
<Link to="/dashboard">
|
|
<Button variant="outline" size="lg">Dashboard Demo</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|