35 lines
1.3 KiB
TypeScript
35 lines
1.3 KiB
TypeScript
import { Metadata } from "next"
|
|
|
|
import LocalizedClientLink from "@modules/common/components/localized-client-link"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "404",
|
|
description: "Stranica nije pronađena.",
|
|
}
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div className="content-container flex min-h-[calc(100vh-64px)] flex-col items-center justify-center py-24 text-center">
|
|
<p className="eyebrow">Greška 404</p>
|
|
<h1 className="display-heading mt-5 text-4xl sm:text-6xl text-foreground">Stranica nije pronađena</h1>
|
|
<p className="mt-5 max-w-md text-sm text-muted-foreground leading-relaxed">
|
|
Stranica koju tražite ne postoji ili je premještena.
|
|
</p>
|
|
<div className="mt-8 flex flex-col sm:flex-row gap-3">
|
|
<LocalizedClientLink
|
|
href="/"
|
|
className="inline-flex h-11 items-center justify-center rounded-md bg-primary px-6 text-sm text-primary-foreground transition-colors hover:bg-primary/90"
|
|
>
|
|
Na početnu
|
|
</LocalizedClientLink>
|
|
<LocalizedClientLink
|
|
href="/store"
|
|
className="inline-flex h-11 items-center justify-center rounded-md border border-border px-6 text-sm text-foreground transition-colors hover:bg-muted"
|
|
>
|
|
Katalog proizvoda
|
|
</LocalizedClientLink>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|