diff --git a/src/app/favicon.ico b/src/app/favicon.ico new file mode 100644 index 00000000..115cbd99 Binary files /dev/null and b/src/app/favicon.ico differ diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 715b149d..ac00adde 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,79 +1,72 @@ 'use client'; -import Link from 'next/link'; -import { useMediaQuery } from '@mantine/hooks'; -import { theme } from '../styles/theme'; +import { useRouter } from 'next/navigation'; +import Button from '../components/common/input/button'; export default function NotFound() { - const isMobile = useMediaQuery(`(max-width: ${theme.breakpoints.md})`); + const router = useRouter(); return ( -
-
- + +
+

404

+

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

+ +
+ + + + + - -
-

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

- - 홈으로 가기 - -
-
+ + +
); } diff --git a/tailwind.config.ts b/tailwind.config.ts index 2ca36911..d448110d 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -82,7 +82,8 @@ 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' }], + 404: ['26.8vh', { lineHeight: '26.8vh' }], + '404-back': ['87.5vh', { lineHeight: '87.5vh' }], }, fontWeight: { bold: '700', @@ -131,13 +132,13 @@ const config: Config = { '100%': { opacity: '1' }, }, wave: { - '0%': { transform: 'translate(0)' }, - '100%': { transform: 'translate(-30%)' }, + '0%': { transform: 'translate(-90px)' }, + '100%': { transform: 'translate(85px)' }, }, }, animation: { fade: 'show 0.5s ease-in', - wave: 'wave 0.8s linear infinite', + wave: 'wave 10s ease infinite', }, }, },