Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions app/(main)/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { TriangleAlertIcon } from 'lucide-react'
import type { Metadata } from 'next'
import Link from 'next/link'
import { Button } from '@/components/ui/button'

export const metadata: Metadata = {
title: 'Not Found',
description:
"Sorry, we couldn't find the page or resource you were looking for. It might have been removed, renamed, or did not exist in the first place.",
}

export default function NotFound() {
return (
<div className="flex flex-col items-center justify-center text-center h-[calc(100vh-72px)] px-4 py-16 space-y-4">
<TriangleAlertIcon className="h-10 w-10 text-yellow-500" />
<h1 className="text-2xl font-bold">404 - Not Found</h1>
<p className="max-w-prose">
Sorry, we couldn&apos;t find the page or resource you were looking for.
It might have been removed, renamed, or did not exist in the first
place.
</p>
<Button asChild>
<Link href="/">Go to Main Page</Link>
</Button>
</div>
)
}
34 changes: 0 additions & 34 deletions app/not-found.tsx

This file was deleted.

Loading