From 78e3e8e20e05f6a88a33b8eef47f1c82284ec5c1 Mon Sep 17 00:00:00 2001 From: bicochan Date: Thu, 12 Feb 2026 10:22:35 +0900 Subject: [PATCH] =?UTF-8?q?[st]=20design:=20=EB=94=94=EC=9E=90=EC=9D=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(with-base-layout)/statistics/page.tsx | 4 +- apps/st/src/components/css/DataGrid.css | 43 +++++++++++ .../verification/HbStatisticsVerification.tsx | 6 +- apps/st/src/pages/statistics/index.ts | 2 +- .../src/shared/ui/statistics-page-layout.tsx | 6 +- apps/st/src/shared/ui/tab-bar.tsx | 16 ++-- .../common/components/src/ui/footer/index.tsx | 73 ++++++++++++------- 7 files changed, 105 insertions(+), 45 deletions(-) diff --git a/apps/st/app/(with-base-layout)/statistics/page.tsx b/apps/st/app/(with-base-layout)/statistics/page.tsx index 3c51a4307..f32417f76 100644 --- a/apps/st/app/(with-base-layout)/statistics/page.tsx +++ b/apps/st/app/(with-base-layout)/statistics/page.tsx @@ -1,3 +1,3 @@ -import { statisticsPage } from "@/pages/statistics"; +import { StatisticsPage } from "@/pages/statistics"; -export default statisticsPage; \ No newline at end of file +export default StatisticsPage; diff --git a/apps/st/src/components/css/DataGrid.css b/apps/st/src/components/css/DataGrid.css index e69de29bb..e3961956f 100644 --- a/apps/st/src/components/css/DataGrid.css +++ b/apps/st/src/components/css/DataGrid.css @@ -0,0 +1,43 @@ +@tailwind components; + +@layer components { + .rg-grid .rg-header .rg-table .rg-header-group-cell { + @apply !bg-[#466995] !text-[#fff]; + } + .rg-grid .rg-header .rg-table .rg-header-cell { + @apply !bg-[#5987bf] !text-[#fff]; + } + .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell { + @apply !bg-white; + } + + [data-theme="black"] { + .rg-grid .rg-header .rg-table .rg-header-group-cell { + @apply !bg-[#3C4043] !text-[#fff]; + } + .rg-grid .rg-header .rg-table .rg-header-cell { + @apply !bg-[#62686d] !text-[#fff]; + } + .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell { + @apply !bg-[#545556] !text-[#fff]; + } + } + + [data-theme="red"] { + .rg-grid .rg-header .rg-table .rg-header-group-cell { + @apply !bg-[#646469] !text-[#fff]; + } + .rg-grid .rg-header .rg-table .rg-header-cell { + @apply !bg-[#8d8d94] !text-[#fff]; + } + } + + [data-theme="green"] { + .rg-grid .rg-header .rg-table .rg-header-group-cell { + @apply !bg-[#518585] !text-[#fff]; + } + .rg-grid .rg-header .rg-table .rg-header-cell { + @apply !bg-[#6bafae] !text-[#fff]; + } + } +} diff --git a/apps/st/src/components/statistics/verification/HbStatisticsVerification.tsx b/apps/st/src/components/statistics/verification/HbStatisticsVerification.tsx index ceae173d3..0e4c38362 100644 --- a/apps/st/src/components/statistics/verification/HbStatisticsVerification.tsx +++ b/apps/st/src/components/statistics/verification/HbStatisticsVerification.tsx @@ -102,7 +102,7 @@ const HbStatisticsVerification = () => {
{/* 통계 검증 섹션 */}
-

+

통계 검증

@@ -461,8 +461,8 @@ const HbStatisticsVerification = () => {
{/* 검증 이력 섹션 */} -
-

+
+

검증 이력

t.menuItem.menuEngNm === activeTabId); - const menuPaths = pageTitle?.path - ?.split(">") - .map((path) => path.trim()); + const menuPaths = pageTitle?.path?.split(">").map((path) => path.trim()); return ( -
+
{ return null; } - const handleCloseTab = (e: React.MouseEvent | React.KeyboardEvent, tabId: string) => { + const handleCloseTab = ( + e: React.MouseEvent | React.KeyboardEvent, + tabId: string, + ) => { e.stopPropagation(); removeTab(tabId); }; @@ -22,22 +25,22 @@ const TabBar = () => { className="w-full" variant="outline" > - + {tabs.map((tab) => ( - + {tab.label} handleCloseTab(e, tab.id)} aria-label={`${tab.label} 탭 닫기`} - className="flex items-center justify-center flex-shrink-0 leading-none hover:text-[#2094fa]" + className="flex flex-shrink-0 items-center justify-center leading-none hover:text-[#2094fa]" > @@ -46,7 +49,6 @@ const TabBar = () => { ); -} +}; export { TabBar }; - diff --git a/packages/common/components/src/ui/footer/index.tsx b/packages/common/components/src/ui/footer/index.tsx index 029b25910..2430820ff 100644 --- a/packages/common/components/src/ui/footer/index.tsx +++ b/packages/common/components/src/ui/footer/index.tsx @@ -20,7 +20,7 @@ type BannerImageProps = { lnkgUrlAddr: string; }; -const BannerImage = ({ atflCd, bnrSn, lnkgUrlAddr }: BannerImageProps) => { +const BannerImage = ({ atflCd, lnkgUrlAddr }: BannerImageProps) => { const { data: imageUrl, isLoading } = useQuery({ queryKey: [ENDPOINT.ATTACH_SERVICE.IMAGES, atflCd], queryFn: () => getImageUrlByAtflCd(atflCd), @@ -29,13 +29,13 @@ const BannerImage = ({ atflCd, bnrSn, lnkgUrlAddr }: BannerImageProps) => { const handleClick = () => { if (lnkgUrlAddr) { - window.open(lnkgUrlAddr, '_blank'); + window.open(lnkgUrlAddr, "_blank"); } }; if (isLoading) { return ( -
+
로딩 중...
); @@ -43,18 +43,22 @@ const BannerImage = ({ atflCd, bnrSn, lnkgUrlAddr }: BannerImageProps) => { if (!imageUrl) { return ( -
+
이미지 없음
); } return ( -
- 배너 이미지 + 배너 이미지
); }; @@ -70,25 +74,33 @@ export function Footer() { queryFn: () => getBannerList(siteId), }); -// MAIN 타입 배너만 필터링 - const mainBanners = bannerList?.filter((banner) => banner.bnrTypeCd === "BNRFTER") ?? []; - + // MAIN 타입 배너만 필터링 + const mainBanners = + bannerList?.filter((banner) => banner.bnrTypeCd === "BNRFTER") ?? []; const plugin = useRef(Autoplay({ delay: 2000, stopOnInteraction: true })); return ( -