From 50d8cb20fd2b8a921c8c8781dd1868cfdf5f7b6e Mon Sep 17 00:00:00 2001 From: Zoe <7711zoe@gmail.com> Date: Sun, 19 Jan 2025 21:33:47 +0800 Subject: [PATCH] BLOG-14 feat: not found page --- frontend/.prettierrc | 2 +- frontend/src/app/not-found.tsx | 16 ++++++++++++++++ frontend/src/app/page.tsx | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 frontend/src/app/not-found.tsx diff --git a/frontend/.prettierrc b/frontend/.prettierrc index ab94e86..2326774 100644 --- a/frontend/.prettierrc +++ b/frontend/.prettierrc @@ -1,5 +1,5 @@ { - "plugins": ["prettier-plugin-tailwindcss", "@trivago/prettier-plugin-sort-imports"], + "plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"], "printWidth": 120, "tabWidth": 2, "trailingComma": "all", diff --git a/frontend/src/app/not-found.tsx b/frontend/src/app/not-found.tsx new file mode 100644 index 0000000..c60dd79 --- /dev/null +++ b/frontend/src/app/not-found.tsx @@ -0,0 +1,16 @@ +export default function NotFoundPage() { + return ( +