diff --git a/apps/website/src/components/LocalizedNotFound.tsx b/apps/website/src/components/LocalizedNotFound.tsx index 1d10313..74358b4 100644 --- a/apps/website/src/components/LocalizedNotFound.tsx +++ b/apps/website/src/components/LocalizedNotFound.tsx @@ -1,6 +1,6 @@ -'use client' - +import Image from 'next/image' import Link from 'next/link' +import { ArrowRight, Home, Search, ShoppingBag } from 'lucide-react' import { getPathWithLocale, type Locale } from '@/lib/locales' const copy = { @@ -13,6 +13,7 @@ const copy = { search: 'ค้นหาสินค้า', guide: 'คู่มือเลือกกลิ่น', contact: 'ติดต่อเรา', + hint: '404', }, en: { eyebrow: 'Page not found', @@ -23,6 +24,7 @@ const copy = { search: 'Search products', guide: 'Scent Guide', contact: 'Contact', + hint: '404', }, ja: { eyebrow: 'ページが見つかりません', @@ -33,6 +35,7 @@ const copy = { search: '商品を検索', guide: '香りガイド', contact: 'お問い合わせ', + hint: '404', }, zh: { eyebrow: '页面未找到', @@ -43,6 +46,7 @@ const copy = { search: '搜索商品', guide: '香氛指南', contact: '联系我们', + hint: '404', }, vi: { eyebrow: 'Không tìm thấy trang', @@ -53,6 +57,7 @@ const copy = { search: 'Tìm sản phẩm', guide: 'Hướng dẫn mùi hương', contact: 'Liên hệ', + hint: '404', }, ko: { eyebrow: '페이지를 찾을 수 없습니다', @@ -63,6 +68,7 @@ const copy = { search: '상품 검색', guide: '향 가이드', contact: '문의하기', + hint: '404', }, } as const @@ -80,105 +86,78 @@ export default function LocalizedNotFound({ lang }: LocalizedNotFoundProps) { const text = getCopy(lang) return ( -
- 404 -
- - {/* Floating emoji center */} -{text.hint}
++
{text.description}
-{text.hint}
+{text.search}
+