diff --git a/frontend/src/pages/NotFound.tsx b/frontend/src/pages/NotFound.tsx new file mode 100644 index 0000000..9f8e85b --- /dev/null +++ b/frontend/src/pages/NotFound.tsx @@ -0,0 +1,13 @@ +export default function NotFound() { + return ( +
+

페이지를 찾을 수 없습니다.

+ +
+ ); +} diff --git a/frontend/src/router/index.tsx b/frontend/src/router/index.tsx index dbf88a0..661856c 100644 --- a/frontend/src/router/index.tsx +++ b/frontend/src/router/index.tsx @@ -15,6 +15,7 @@ import AdminIndex from '@/pages/AdminIndex'; import LabelCanvas from '@/pages/LabelCanvas'; import ReviewDetail from '@/components/ReviewDetail'; import ImageFolderUploadTest from '@/pages/ImageFolderUploadTest'; +import NotFound from '@/pages/NotFound'; export const webPath = { home: () => '/', @@ -34,13 +35,17 @@ const router = createBrowserRouter([ index: true, element: , }, + { + path: '*', + element: , + }, ], }, { // FIXME: index에서 오류나지 않게 수정 path: webPath.browse(), element: ( - }> + }> ), diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index e2a6b48..7a3ec08 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -67,10 +67,16 @@ export default { from: { height: 'var(--radix-accordion-content-height)' }, to: { height: '0' }, }, + 'weight-loop': { + '0%': { 'font-weight': '100' }, + '50%': { 'font-weight': '900' }, + '100%': { 'font-weight': '100' }, + }, }, animation: { 'accordion-down': 'accordion-down 0.2s ease-out', 'accordion-up': 'accordion-up 0.2s ease-out', + 'weight-loop': 'weight-loop 5s infinite', }, }, },