Implement API endpoints and frontend components for creating and managing timesheets, projects, and dashboard functionalities. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 55837015-10e9-4be9-b857-7f5e6be73772 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: e5763354-5d83-482b-a89e-394e3eb5a41e Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1cc377db-7ea0-49f2-97ce-c3e87e0228cc/55837015-10e9-4be9-b857-7f5e6be73772/JpyvMwJ Replit-Helium-Checkpoint-Created: true
22 lines
743 B
TypeScript
22 lines
743 B
TypeScript
import { AppLayout } from "@/components/layout/layout";
|
|
import { Switch, Route } from "wouter";
|
|
import DashboardPage from "@/pages/dashboard";
|
|
import ProjectsPage from "@/pages/projects";
|
|
import TimesheetsPage from "@/pages/timesheets";
|
|
import TimesheetDetailPage from "@/pages/timesheet-detail";
|
|
import NotFound from "@/pages/not-found";
|
|
|
|
export default function App() {
|
|
return (
|
|
<AppLayout>
|
|
<Switch>
|
|
<Route path="/" component={DashboardPage} />
|
|
<Route path="/projects" component={ProjectsPage} />
|
|
<Route path="/timesheets" component={TimesheetsPage} />
|
|
<Route path="/timesheets/:id" component={TimesheetDetailPage} />
|
|
<Route component={NotFound} />
|
|
</Switch>
|
|
</AppLayout>
|
|
);
|
|
}
|