Skip to content
Closed
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ same pull request as the code.

### Added

- Our own page for addresses that do not exist.
- Add custom 404 page layout with home link.
- Dodano niestandardową stronę 404 (`src/app/not-found.tsx`)
Comment thread
xXx-N marked this conversation as resolved.
Resolved
- Interns list: add Mykyta.
- Open Graph metadata for link previews.
- Onboarding issue template: a personal, ordered first-week checklist each
Expand Down
21 changes: 21 additions & 0 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Link from 'next/link'

export default function NotFound() {
return (
<main className="mx-auto flex min-h-screen max-w-2xl flex-col gap-8 px-4 py-16">
<header className="flex flex-col gap-2">
<p className="text-sm font-medium uppercase tracking-wide text-zinc-500">Digital Vantage</p>
<h1 className="text-4xl font-semibold">404</h1>
<p className="text-zinc-600 dark:text-zinc-400">Strona nie została znaleziona.</p>
<div className="pt-4">
<Link
href="/"
className="inline-flex items-center justify-center rounded-lg bg-zinc-900 px-4 py-2 text-sm font-medium text-white hover:bg-zinc-800 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200"
>
Wróć do strony głównej
</Link>
</div>
</header>
</main>
)
}
Loading