diff --git a/apps/cm/app/global-not-found.tsx b/apps/cm/app/global-not-found.tsx new file mode 100644 index 000000000..12ff5bd3d --- /dev/null +++ b/apps/cm/app/global-not-found.tsx @@ -0,0 +1,46 @@ +import type { Metadata } from "next"; +import Image from "next/image"; + +import "@/app/styles/base.css"; +import "@/app/styles/components.css"; + +export const metadata: Metadata = { + title: "유역하수도 통합 정보플랫폼", + description: "페이지가 존재하지 않습니다. 관리자에게 문의하여 주십시오.", +}; + +export default function GlobalNotFound() { + return ( + + +
+
+

+ 유역하수도 통합 정보플랫폼에 + 오신 것을 환영합니다. +

+

+ 오류가 발생하였습니다. +

+
+ +
+ +

+ 페이지가 존재하지 않습니다. +

+

+ 관리자에게 문의하여 주십시오 +

+
+
+ + + ); +} diff --git a/apps/cm/next.config.ts b/apps/cm/next.config.ts index b388b76d9..b6b2c3f2f 100644 --- a/apps/cm/next.config.ts +++ b/apps/cm/next.config.ts @@ -7,6 +7,7 @@ const nextConfig: NextConfig = { output: "standalone", experimental: { proxyTimeout: 600000, + globalNotFound: true, }, eslint: { ignoreDuringBuilds: true, diff --git a/apps/cm/public/images/magnifying-glass-with-warning.png b/apps/cm/public/images/magnifying-glass-with-warning.png new file mode 100644 index 000000000..b184da207 Binary files /dev/null and b/apps/cm/public/images/magnifying-glass-with-warning.png differ diff --git a/apps/cm/tailwind.config.ts b/apps/cm/tailwind.config.ts index c7fec33e1..accbdccf2 100644 --- a/apps/cm/tailwind.config.ts +++ b/apps/cm/tailwind.config.ts @@ -5,6 +5,7 @@ import presetConfig from "../../tailwind.config.preset"; export default { presets: [presetConfig], content: [ + "./app/**/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx}", "../../packages/common/components/src/ui/**/*.{js,ts,jsx,tsx}", ],