Skip to content

Commit 9289780

Browse files
committed
Style not found
1 parent 05a9c4b commit 9289780

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

messages/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
},
1515
"Metadata": {
1616
"google": "Specialized in Corporate Image and Interior Design with more than 25 years of experience dedicated to transforming spaces in unique and exclusive environments. Contact: [email protected]"
17+
},
18+
"errors": {
19+
"404": "Page not found"
1720
}
1821
}

messages/es.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
},
1515
"Metadata": {
1616
"google": "Especializados en Imagen Corporativa y Diseño Interior con más de 25 años de experiencia dedicados a transformar espacios en obras únicas y exclusivas. Contacto: [email protected]"
17+
},
18+
"errors": {
19+
"404": "Página no encontrada"
1720
}
1821
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
'use client'
2+
import { useTranslations } from 'next-intl'
3+
import { Link } from '@/i18n/navigation'
4+
5+
export default function NotFound() {
6+
const t = useTranslations('errors')
7+
8+
return (
9+
<div className="header-screen p-2 flex flex-col gap-10 items-center justify-center">
10+
<h1 className="text-center">{t('404')}</h1>
11+
<Link href="/" className="text-4xl">
12+
&lt;
13+
</Link>
14+
</div>
15+
)
16+
}

src/app/(frontend)/[locale]/projects/[id]/not-found.tsx

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)