From 1ea71aa2ad0960ab5150c2603b896a941dd523e4 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Fri, 28 Feb 2025 16:59:08 +0900 Subject: [PATCH] =?UTF-8?q?base=20layout=20=EB=B0=8F=20=ED=95=98=EC=88=98?= =?UTF-8?q?=EC=9E=AC=EC=9D=B4=EC=9A=A9=EB=93=B1=EB=A1=9D=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/app/layout.tsx | 19 +--- apps/wr/app/page.tsx | 104 +----------------- apps/wr/app/publicReuseFaciltyInsert/page.tsx | 54 +++++++++ apps/wr/package.json | 1 + 4 files changed, 67 insertions(+), 111 deletions(-) create mode 100644 apps/wr/app/publicReuseFaciltyInsert/page.tsx diff --git a/apps/wr/app/layout.tsx b/apps/wr/app/layout.tsx index f7fa87eb8..5842157da 100644 --- a/apps/wr/app/layout.tsx +++ b/apps/wr/app/layout.tsx @@ -1,16 +1,9 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; +import { BaseLayout } from "@common/components"; + -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); export const metadata: Metadata = { title: "Create Next App", @@ -24,10 +17,10 @@ export default function RootLayout({ }>) { return ( - - {children} + + + {children} + ); diff --git a/apps/wr/app/page.tsx b/apps/wr/app/page.tsx index 823f05a86..a3c2e4c7a 100644 --- a/apps/wr/app/page.tsx +++ b/apps/wr/app/page.tsx @@ -1,104 +1,12 @@ -import Image from "next/image"; +import PublicReuseFaciltyInsert from './publicReuseFaciltyInsert/page'; + -import { Button } from "@common/components"; export default function Home() { - return ( -
- -
- Next.js logo -
    -
  1. - Get started by editing{" "} - - app/page.tsx - - . -
  2. -
  3. Save and see your changes instantly.
  4. -
-
- - Vercel logomark - Deploy now - - - Read our docs - -
-
- -
+ + + return ( + ); } diff --git a/apps/wr/app/publicReuseFaciltyInsert/page.tsx b/apps/wr/app/publicReuseFaciltyInsert/page.tsx new file mode 100644 index 000000000..965445202 --- /dev/null +++ b/apps/wr/app/publicReuseFaciltyInsert/page.tsx @@ -0,0 +1,54 @@ +import {UiTable} from '@common/business_components'; + +const publicReuseFacility = [ + { + sido: "서울", + sigungo: "강남구", + facilityName: "난지", + location: "경기도 고양시 덕양구 대차로 4가", + locationgubun: "500", + facilityCapacity: "800,000", + reuse: "Y", + register: "Y" + }, + { + sido: "서울", + sigungo: "강남구", + facilityName: "난지", + location: "경기도 고양시 덕양구 대차로 4가", + locationgubun: "500", + facilityCapacity: "800,000", + reuse: "Y", + register: "Y" + }, + { + sido: "서울", + sigungo: "강남구", + facilityName: "난지", + location: "경기도 고양시 덕양구 대차로 4가", + locationgubun: "500", + facilityCapacity: "800,000", + reuse: "Y", + register: "Y" + }, + +] + +const headList = [ + { id: "sido", title: "시도" }, + { id: "sigungo", title: "시군구" }, + { id: "facilityName", title: "시설명" }, + { id: "location", title: "위치" }, + { id: "locationgubun", title: "지역구분" }, + { id: "facilityCapacity", title: "시설용량" }, + { id: "reuse", title: '재이용여부' }, + { id: "register", title: '등록여부' }]; + + +export default function PublicReuseFaciltyInsert() { + const total = 100; + return (
+ +
+ ); +} diff --git a/apps/wr/package.json b/apps/wr/package.json index 7bae640c3..3d2738506 100644 --- a/apps/wr/package.json +++ b/apps/wr/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "@common/business_components": "workspace:*", + "@common/components": "workspace:*", "next": "15.1.7" }, "devDependencies": {