-
Yusuf Akgül authoredYusuf Akgül authored
try-again.tsx 539 B
import { useRouter } from "next/navigation"
import { Button } from "./ui/button"
export const TryAgain = () => {
const router = useRouter()
return (
<div className="flex flex-col items-center p-6 space-y-3">
<h1 className="text-tertiary text-center">Huh. Couldn't find what you were looking for.</h1>
<h1 className="text-tertiary text-center pb-3">Let's go back to the homepage.</h1>
<Button size="lg" onClick={() => router.push("/home")}>Home</Button>
</div>
)
}