diff --git a/src/app/[locale]/layout.js b/src/app/[locale]/layout.js index c7966ab6..71410d17 100644 --- a/src/app/[locale]/layout.js +++ b/src/app/[locale]/layout.js @@ -2,15 +2,19 @@ import { useCurrentLocale } from '@/locales/client' import { LocaleProvider } from './LocaleProvider' +import ServerError from './error' +import { ErrorBoundary } from 'next/dist/client/components/error-boundary' export default function LocaleLayout({ children }) { const locale = useCurrentLocale() return ( <> - - {children} - + }> + }> + {children} + + ) } diff --git a/src/common/common.js b/src/common/common.js new file mode 100644 index 00000000..ae00ec78 --- /dev/null +++ b/src/common/common.js @@ -0,0 +1,20 @@ +export const Mode = { + DRAW_LINE: 'drawLine', // 기준선 긋기모드` + EDIT: 'edit', + TEMPLATE: 'template', + PATTERNA: 'patterna', + PATTERNB: 'patternb', + TEXTBOX: 'textbox', + DRAW_RECT: 'drawRect', + ROOF_PATTERN: 'roofPattern', //지붕패턴 모드 + ROOF_TRESTLE: 'roofTrestle', //지붕가대 모드 + FILL_CELLS: 'fillCells', //태양광셀 모드 + CELL_POWERCON: 'cellPowercon', //파워콘 + DRAW_HELP_LINE: 'drawHelpLine', // 보조선 그리기 모드 지붕 존재해야함 + DEFAULT: 'default', +} + +export const LineType = { + EAVES: 'eaves', // 처마 + RIDGE: 'ridge', // 용마루.... +} diff --git a/src/components/auth/Login.jsx b/src/components/auth/Login.jsx index ce2055c3..72363367 100644 --- a/src/components/auth/Login.jsx +++ b/src/components/auth/Login.jsx @@ -12,7 +12,7 @@ export default function Login() {
-
+