diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 00000000..715b149d --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,79 @@ +'use client'; + +import Link from 'next/link'; +import { useMediaQuery } from '@mantine/hooks'; +import { theme } from '../styles/theme'; + +export default function NotFound() { + const isMobile = useMediaQuery(`(max-width: ${theme.breakpoints.md})`); + + return ( +
+
+ + + + + + + + + + + + + + + + + 404 + + + + + +
+

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

+ + 홈으로 가기 + +
+
+
+ ); +} diff --git a/tailwind.config.ts b/tailwind.config.ts index dda96831..a476f371 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -82,6 +82,7 @@ const config: Config = { base: ['1rem', { lineHeight: '1.5rem' }], sm: ['0.875rem', { lineHeight: '1.25rem' }], xs: ['0.75rem', { lineHeight: '1rem' }], + 404: ['18.75rem', { lineHeight: '18.75rem' }], }, fontWeight: { bold: '700', @@ -128,9 +129,14 @@ const config: Config = { '0%': { opacity: '0' }, '100%': { opacity: '1' }, }, + wave: { + '0%': { transform: 'translate(0)' }, + '100%': { transform: 'translate(-30%)' }, + }, }, animation: { fade: 'show 0.5s ease-in', + wave: 'wave 0.8s linear infinite', }, }, },