Skip to content

Commit

Permalink
Refactor app not-found page
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Nov 1, 2024
1 parent bb33b10 commit 83ec3b6
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions apps/helixbox-app/src/routes/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
import { Link } from "react-router-dom";
import { Navigate } from "react-router-dom";

export default function NotFound() {
return (
<>
<main className="app-main flex items-center justify-center">
<div className="gap-medium flex w-fit flex-col items-start">
<h2 className="text-base font-medium text-white">Not Found !</h2>
<p className="text-sm font-normal text-white">Could not find requested resource</p>
<Link to="/" className="text-primary text-sm font-normal hover:underline">
Return Home
</Link>
</div>
</main>
</>
);
return <Navigate to="/" replace />;
}

0 comments on commit 83ec3b6

Please sign in to comment.