diff --git a/src/page/history/History.css.ts b/src/page/history/History.css.ts index 766f01d2..e1997ed1 100644 --- a/src/page/history/History.css.ts +++ b/src/page/history/History.css.ts @@ -24,8 +24,8 @@ export const titleContainer = style({ }); export const descriptionContainer = style({ - marginTop: '2rem', - padding: '7.6rem 5rem', + marginTop: '2.3rem', + padding: '6.7rem 8.6rem', backgroundColor: colors.grey2, borderRadius: '12px', color: colors.grey11, @@ -37,7 +37,7 @@ export const descriptionContainer = style({ }); export const streakTrackerWrapper = style({ - paddingTop: '8rem', + paddingTop: '7.7rem', paddingBottom: '9.8rem', }); diff --git a/src/page/history/History.tsx b/src/page/history/History.tsx index b6b80e0e..fff895b2 100644 --- a/src/page/history/History.tsx +++ b/src/page/history/History.tsx @@ -5,6 +5,7 @@ import StreakTracker from '@/page/history/StreakTrackerSection/StreakTrackerSect import { useGetHistory } from '@/api/domain/history/hook/useGetHistory'; import { useMandalartId } from '@/common/hook/useMandalartId'; import Loading from '@/common/component/Loading/Loading'; +import { useAuthStore } from '@/store/useAuthStore'; const STREAK_BANNER_MESSAGE = '작은 실천을 66일 이어가면 나의 목표에 도달합니다'; const STREAK_DESCRIPTION_MESSAGE = '하루에 하나라도 실천하면 오늘의 점이 찍혀요!'; @@ -14,6 +15,7 @@ const History = () => { const mandalartId = useMandalartId(); const { data, isLoading } = useGetHistory(mandalartId); + const user = useAuthStore((state) => state.user); const handleOutsideClick = () => { setSelectedDay(null); @@ -28,7 +30,7 @@ const History = () => {
- 김도트님, 목표를 향해
+ {user.name}님, 목표를 향해
{data.progressDays}일째 달려가고 있어요
+ 원하는 날의 점을 클릭하고
그날 내가 한 일을 확인해보세요!
+