Files
otunes/apps/web/app/(app)/[...not-found]/page.tsx
T

40 lines
1.2 KiB
TypeScript

"use client"
import Link from "next/link"
import { Home, Search } from "lucide-react"
import { Button } from "@/components/ui/button"
export default function Page() {
return (
<div className="flex h-svh flex-col">
<div className="flex flex-1 items-center justify-center px-6 pb-28">
<div className="flex max-w-md flex-col items-center text-center">
<p className="text-sm font-medium text-muted-foreground">404</p>
<h1 className="mt-2 text-3xl font-bold tracking-tight">
Page not found
</h1>
<p className="mt-3 text-sm text-muted-foreground">
This page is not available yet. You can keep browsing your library
from the main app.
</p>
<div className="mt-6 flex flex-wrap justify-center gap-2">
<Button asChild>
<Link href="/public">
<Home />
Home
</Link>
</Button>
<Button variant="secondary" asChild>
<Link href="/search">
<Search />
Search
</Link>
</Button>
</div>
</div>
</div>
</div>
)
}