From c79966d17e0f5759fc876c09702c26a5bff9224b Mon Sep 17 00:00:00 2001 From: truthwing Date: Tue, 11 Mar 2025 15:49:41 +0900 Subject: [PATCH] =?UTF-8?q?tailwind=20=ED=81=B4=EB=9E=98=EC=8A=A4=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9=EC=9D=B4=20=EB=82=B4=EB=B6=80=EC=A0=81?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=8F=99=EC=9E=91=EB=90=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95.=20=EB=82=B4=EB=B6=80=EC=A0=81?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=ED=81=B4=EB=9E=98=EC=8A=A4=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9=EC=9D=B4=20=EC=95=88=EB=90=98=EC=97=88=EB=8D=98=20?= =?UTF-8?q?=EB=B6=80=EB=B6=84=EC=97=90=EC=84=9C=20=EA=B9=A8=EC=A7=80?= =?UTF-8?q?=EB=8A=94=20=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/bnss/oldPP/page.tsx | 35 +++++++++++----------- apps/sn/app/oper/pplines/page.tsx | 50 ++++++++++++------------------- apps/sn/app/page.tsx | 5 ++-- apps/sn/tailwind.config.ts | 3 +- 4 files changed, 40 insertions(+), 53 deletions(-) diff --git a/apps/sn/app/bnss/oldPP/page.tsx b/apps/sn/app/bnss/oldPP/page.tsx index 66f51e184..0adc333bf 100644 --- a/apps/sn/app/bnss/oldPP/page.tsx +++ b/apps/sn/app/bnss/oldPP/page.tsx @@ -1,8 +1,7 @@ 'use client' import { SearchDiv, SelectBox, UiTable } from '@common/business_components'; -import { Button, TableRow, Input, Label } from '@common/components'; -import { TableHead } from '@common/components'; +import { Button, TableHead, TableRow } from '@common/components'; import { useSnStore } from '../../store'; import type { TableUpperProps } from '../../store/oper'; @@ -33,25 +32,25 @@ import type { TableUpperProps } from '../../store/oper';

현황정보 조회

-
- - - - - - - - - +
+ + + + + + + + +
+
+
-
-
- - {nodeList} - -
+
+ + {nodeList} +
) } diff --git a/apps/sn/app/oper/pplines/page.tsx b/apps/sn/app/oper/pplines/page.tsx index 3f68ca06b..fa28bce41 100644 --- a/apps/sn/app/oper/pplines/page.tsx +++ b/apps/sn/app/oper/pplines/page.tsx @@ -1,54 +1,42 @@ 'use client' import { SearchDiv, SelectBox, UiTable } from '@common/business_components'; -import { Button, TableRow, Input, Label } from '@common/components'; -import { TableHead } from '@common/components'; +import { Button } from '@common/components'; import { useSnStore } from '../../store'; -import type { TableUpperProps } from '../../store/oper/pplines'; - - const headMakeColSpan = (upHeadList: TableUpperProps[]) => { - return ( <> - { - upHeadList.map((head: TableUpperProps) => - ({head.title}))} - - ) - } export default function PublicReuseFaciltyInsert() { const { upHeadList, publicReuseFacilityUper} = useSnStore((state) => state); - const nodeList= headMakeColSpan(upHeadList); const total = 100; const headName= ()=>{ return(

현황정보

) } - return ( <> + return (

현황정보 조회

- -
- - - - - - - - - + +
+ + + + + + + + {/* */} +
+
+
-
+ {/*
*/}
-
- - - +
+
- ) +
); } diff --git a/apps/sn/app/page.tsx b/apps/sn/app/page.tsx index 3dc0d4a88..a22a3f6f6 100644 --- a/apps/sn/app/page.tsx +++ b/apps/sn/app/page.tsx @@ -1,10 +1,9 @@ -import { BaseLayout } from "@common/components"; const App = ({ children }: Readonly<{ children: React.ReactNode }>) => { return ( - + <> {children} - + ); }; diff --git a/apps/sn/tailwind.config.ts b/apps/sn/tailwind.config.ts index 3383e603d..5a1819bab 100644 --- a/apps/sn/tailwind.config.ts +++ b/apps/sn/tailwind.config.ts @@ -5,8 +5,9 @@ export default { presets: [presetConfig], darkMode: ["class", "[data-mode='dark']"], content: [ - "./src/**/*.{js,ts,jsx,tsx,mdx}", + "./app/**/*.{js,ts,jsx,tsx,mdx}", "../../packages/common/components/src/ui/**/*.{js,ts,jsx,tsx,mdx}", + "../../packages/common/business_components/src/ui/**/**/*.{js,ts,jsx,tsx,mdx}", ], theme: { extend: {