From 8c51803088e41233e1beee8b4c1dd6b7cf6c1dfa Mon Sep 17 00:00:00 2001 From: danivelop <55433950+danivelop@users.noreply.github.com> Date: Fri, 23 Feb 2024 04:50:23 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[LINKER-118]=20=ED=8A=B8=EB=A0=8C?= =?UTF-8?q?=EB=93=9C=20=ED=95=AB=EC=9D=B4=EC=8A=88=20=EC=83=81=EC=84=B8?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EA=B5=AC=ED=98=84=20(#59)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/lds/src/BackHeader/BackHeader.css.ts | 2 +- packages/lds/src/BackHeader/BackHeader.tsx | 6 +- services/web/src/app/recommendation/page.tsx | 13 +- services/web/src/app/trend/__mock__.ts | 192 ------------------ services/web/src/app/trend/page.css.ts | 25 +-- services/web/src/app/trend/page.tsx | 38 ++-- .../src/features/news-list/NewsList.css.ts | 6 +- .../web/src/features/news-list/NewsList.tsx | 6 +- 8 files changed, 45 insertions(+), 243 deletions(-) delete mode 100644 services/web/src/app/trend/__mock__.ts diff --git a/packages/lds/src/BackHeader/BackHeader.css.ts b/packages/lds/src/BackHeader/BackHeader.css.ts index c8a88a5f..b92cba3c 100644 --- a/packages/lds/src/BackHeader/BackHeader.css.ts +++ b/packages/lds/src/BackHeader/BackHeader.css.ts @@ -11,7 +11,7 @@ export const header = style({ height: '52px', padding: '10px 20px', boxSizing: 'border-box', - backgroundColor: colors.gray050, + backgroundColor: colors.background, }); export const backButton = style({ diff --git a/packages/lds/src/BackHeader/BackHeader.tsx b/packages/lds/src/BackHeader/BackHeader.tsx index 9e288e35..39bd934d 100644 --- a/packages/lds/src/BackHeader/BackHeader.tsx +++ b/packages/lds/src/BackHeader/BackHeader.tsx @@ -1,5 +1,6 @@ 'use client'; +import clsx from 'clsx'; import { useRouter } from 'next/navigation'; import { Icon, Txt } from '@linker/lds'; @@ -8,13 +9,14 @@ import { header, backButton } from './BackHeader.css'; interface BackHeaderProps { title: string; + className?: string; } -function BackHeader({ title }: BackHeaderProps) { +function BackHeader({ title, className }: BackHeaderProps) { const router = useRouter(); return ( -
+