design upgrade
This commit is contained in:
@@ -1,20 +1,34 @@
|
||||
import { Metadata } from "next"
|
||||
|
||||
import InteractiveLink from "@modules/common/components/interactive-link"
|
||||
import LocalizedClientLink from "@modules/common/components/localized-client-link"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "404",
|
||||
description: "Something went wrong",
|
||||
description: "Stranica nije pronađena.",
|
||||
}
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<div className="flex flex-col gap-4 items-center justify-center min-h-[calc(100vh-64px)]">
|
||||
<h1 className="text-2xl-semi text-ui-fg-base">Page not found</h1>
|
||||
<p className="text-small-regular text-ui-fg-base">
|
||||
The page you tried to access does not exist.
|
||||
<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>
|
||||
<InteractiveLink href="/">Go to frontpage</InteractiveLink>
|
||||
<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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user