diff --git a/app/components/shared/NotFoundResult.vue b/app/components/shared/NotFoundResult.vue new file mode 100644 index 0000000..24b6b80 --- /dev/null +++ b/app/components/shared/NotFoundResult.vue @@ -0,0 +1,33 @@ + + + diff --git a/app/pages/[...all].vue b/app/pages/[...all].vue index 5568d64..71542f3 100644 --- a/app/pages/[...all].vue +++ b/app/pages/[...all].vue @@ -1,17 +1,10 @@ - - diff --git a/app/pages/products/[...slug].vue b/app/pages/products/[...slug].vue index f71acd9..2fbfe71 100644 --- a/app/pages/products/[...slug].vue +++ b/app/pages/products/[...slug].vue @@ -67,20 +67,12 @@
- - - + :back-text="$t('back-to-products')" + :on-back="() => $router.push($localePath('/products'))" + />
diff --git a/app/pages/solutions/[...slug].vue b/app/pages/solutions/[...slug].vue index 2bf518e..5c40968 100644 --- a/app/pages/solutions/[...slug].vue +++ b/app/pages/solutions/[...slug].vue @@ -22,20 +22,12 @@
- - - + :back-text="$t('back-to-solutions')" + :on-back="() => $router.push($localePath('/solutions'))" + />
diff --git a/i18n/locales/en.json b/i18n/locales/en.json index 462e8e1..097b27e 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -56,6 +56,9 @@ "solution-not-found": "Solution Not Found", "solution-not-found-desc": "Sorry, the solution you are lokking for does not exist or has been removed.", "back-to-solutions": "Back to Solutions", + "page-not-found": "Page Not Found", + "page-not-found-desc": "Sorry, the page you are looking for does not exist or has been removed.", + "back-to-home": "Back to Home", "no-content-available": "No detailed information available", "loading": "Loading...", "our-products": "Our Products", diff --git a/i18n/locales/zh.json b/i18n/locales/zh.json index 9fc3894..36613f4 100644 --- a/i18n/locales/zh.json +++ b/i18n/locales/zh.json @@ -56,6 +56,9 @@ "solution-not-found": "解决方案未找到", "solution-not-found-desc": "抱歉,您访问的解决方案不存在或已被删除", "back-to-solutions": "返回解决方案列表", + "page-not-found": "页面未找到", + "page-not-found-desc": "抱歉,您访问的页面不存在或已被删除。", + "back-to-home": "返回首页", "no-content-available": "暂无详细信息", "loading": "加载中...", "our-products": "我们的产品",