From 6096c727d926c7ad5307d8e88659901c60dfe778 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 28 Jun 2026 20:17:47 -0400 Subject: [PATCH] chore: rollback LocalizedNotFound.tsx to previous UI layout --- .../src/components/LocalizedNotFound.tsx | 157 ++++++++---------- 1 file changed, 68 insertions(+), 89 deletions(-) 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 ( -
- - {/* Atmospheric glow background */} -
-
-
-
-
- - {/* Grain texture overlay */} -
- -
- - {/* 404 Large number with layered effect */} -
-

- 404 -

- - {/* Floating emoji center */} -
- 🌿 +
+
+
+
+ + {text.eyebrow}
-
- {/* Eyebrow badge */} -
- - {text.eyebrow} - -
- - {/* Copy */} -
-

+

{text.hint}

+

{text.title}

-

+

{text.description}

-
- {/* Primary actions */} -
- - {text.home} - - - {text.shop} - -
- - {/* Divider + quick links */} -
-
- - {text.guide} +
+ + + {text.home} - - {text.search} - - - {text.contact} + + + {text.shop}
-
+
+
+
+
+ +
+
+

{text.hint}

+

{text.search}

+
+
- {/* Float keyframe via inline style */} - -
+
+ + {text.search} + + + + {text.guide} + + + + {text.contact} + + +
+
+
+
+ ) }