initial commit
This commit is contained in:
27
src/routes/index.tsx
Normal file
27
src/routes/index.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
import { createFileRoute } from "@tanstack/react-router"
|
||||
import { HomeIcon } from "lucide-react"
|
||||
import { SidebarTrigger } from "@/components/ui/sidebar"
|
||||
|
||||
export const Route = createFileRoute("/")({
|
||||
component: Index,
|
||||
})
|
||||
|
||||
function Index() {
|
||||
return (
|
||||
<>
|
||||
<header className="flex py-2 shrink-0 items-center gap-2 border-b px-4">
|
||||
<SidebarTrigger className="-ml-1" />
|
||||
<div className="flex items-center gap-2">
|
||||
<HomeIcon className="h-5 w-5" />
|
||||
<h1 className="text-lg font-semibold">Home</h1>
|
||||
</div>
|
||||
</header>
|
||||
<div className="p-6">
|
||||
<h1 className="text-2xl font-bold">Welcome to FileOne</h1>
|
||||
<p className="text-muted-foreground mt-2">
|
||||
Your file management dashboard
|
||||
</p>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user