diff --git a/src/components/calendar/CalendarCell.tsx b/src/components/calendar/CalendarCell.tsx index 1090f2c2..b8551d6d 100644 --- a/src/components/calendar/CalendarCell.tsx +++ b/src/components/calendar/CalendarCell.tsx @@ -24,12 +24,12 @@ const CalendarCell = ({ date, goals = [], onClick, className }: CalendarCellProp -
+
{todos.map(todo => (
router.push(ROUTES.GOALS.DETAIL(String(goal.goalId)))} >
diff --git a/src/components/goals/GoalListDashboardSection.tsx b/src/components/goals/GoalListDashboardSection.tsx index c48695ce..c9a03220 100644 --- a/src/components/goals/GoalListDashboardSection.tsx +++ b/src/components/goals/GoalListDashboardSection.tsx @@ -51,7 +51,7 @@ export default function GoalListDashboardSection() { ) : sortedGoals.length === 0 ? ( ) : ( -
+
{sortedGoals.map(goal => ( ))} diff --git a/src/components/goals/NoGoalsGuide.tsx b/src/components/goals/NoGoalsGuide.tsx index af1a4093..ee6d404a 100644 --- a/src/components/goals/NoGoalsGuide.tsx +++ b/src/components/goals/NoGoalsGuide.tsx @@ -13,8 +13,8 @@ export default function NoGoalsGuide() { const { openGoalModal } = useModalStore(); return ( -
-
+
+
랜딩페이지 이미지 { {timeKeys.map(key => (
{TIME_LABELS[key]}
diff --git a/src/components/heatmaps/HeatmapRow.tsx b/src/components/heatmaps/HeatmapRow.tsx index a61e050c..cc5d1759 100644 --- a/src/components/heatmaps/HeatmapRow.tsx +++ b/src/components/heatmaps/HeatmapRow.tsx @@ -11,7 +11,7 @@ const HeatmapRow = ({ rowLabel, timeSlots }: HeatmapRowProps) => { return (
-
+
{rowLabel}
diff --git a/src/components/insight/InsightCard.tsx b/src/components/insight/InsightCard.tsx index 3744c50b..29055cbe 100644 --- a/src/components/insight/InsightCard.tsx +++ b/src/components/insight/InsightCard.tsx @@ -15,8 +15,8 @@ const InsightCard = ({ variant, item = '', className }: InsightCardProps) => { if (variant === 'no-data') { return (
-
- +
+

작업 기록을 불러올 수 없어요
diff --git a/src/components/schedule/ScheduleSection.tsx b/src/components/schedule/ScheduleSection.tsx index 43165b3c..fb5df3c4 100644 --- a/src/components/schedule/ScheduleSection.tsx +++ b/src/components/schedule/ScheduleSection.tsx @@ -63,12 +63,12 @@ export default function ScheduleSection() { disabled={false} className="flex items-center gap-4" > - 일정관리 - 일정 관리하기 + 일정관리 + 일정 관리하기 } > -

+
    {deduplicatedAssignedTasks.map(({ time, task }) => (
  • diff --git a/src/components/sidebar/Sidebar.tsx b/src/components/sidebar/Sidebar.tsx index bb27f043..0f6e6edf 100644 --- a/src/components/sidebar/Sidebar.tsx +++ b/src/components/sidebar/Sidebar.tsx @@ -34,7 +34,7 @@ export default function Sidebar() { return isOpen ? (
    -
    +
    @@ -54,7 +54,7 @@ export default function Sidebar() { -
    +
    }> }> @@ -62,7 +62,7 @@ export default function Sidebar() {
    -
    +
    diff --git a/src/components/timer/TimerButton.tsx b/src/components/timer/TimerButton.tsx index 81713a4a..9b4f2f12 100644 --- a/src/components/timer/TimerButton.tsx +++ b/src/components/timer/TimerButton.tsx @@ -13,24 +13,23 @@ export default function TimerButton({ isRunning, minutes, seconds, onClick }: Ti return ( ); } diff --git a/src/components/ui/Button.tsx b/src/components/ui/Button.tsx index a2237f7d..a463ab38 100644 --- a/src/components/ui/Button.tsx +++ b/src/components/ui/Button.tsx @@ -43,11 +43,11 @@ const buttonVariants = cva('flex cursor-pointer items-center justify-center', { md: 'px-auto h-40 w-200 py-8', todoCard: 'h-40 w-84', emptytodoCard: 'h-40 w-200', - addgoal: 'h-48 w-260', + addgoal: 'h-40 w-full md:h-48', authModal: 'h-48 w-120', noteHeader: 'sm:h-40 sm:w-84 md:h-44 md:w-118', schedule: 'h-48 w-120 sm:w-165.5', - scheduleDashboard: 'h-40 w-120 sm:w-160', + scheduleDashboard: 'h-40 w-120 md:w-160', tempNote: 'h-40 w-84', sideNote: 'h-48 w-260', error: 'h-44 w-200', diff --git a/src/components/ui/Card.tsx b/src/components/ui/Card.tsx index 06fa22b8..6e5dfc45 100644 --- a/src/components/ui/Card.tsx +++ b/src/components/ui/Card.tsx @@ -10,12 +10,10 @@ const cardVariants = cva('rounded-20 flex flex-col gap-16 px-14 py-20 md:px-20', }, size: { auto: 'w-fit', - heatmap: - 'h-625 w-full max-w-635 min-w-343 md:h-600 md:max-w-739 md:min-w-636 lg:max-w-740 lg:min-w-740', - calendar: - 'h-full w-full max-w-635 min-w-343 md:max-w-739 md:min-w-636 lg:h-412 lg:max-w-740 lg:min-w-740', - goal: 'h-1146 w-343 md:w-636 lg:h-428 lg:w-1504', - schedule: 'h-200 w-343 md:h-176 md:w-636 lg:h-176 lg:w-728', + heatmap: 'h-625 w-full min-w-343 md:h-600 md:max-w-636 lg:h-548 lg:max-w-536', + calendar: 'w-full min-w-343 md:max-w-636 lg:h-368 lg:max-w-536', + schedule: 'h-auto min-h-140 min-w-343 md:max-w-636 lg:h-168 lg:max-w-536', + goal: 'max-h-1146 w-343 w-full md:min-h-428 md:max-w-636 lg:h-388 lg:min-h-388 lg:max-w-1096', }, }, defaultVariants: { diff --git a/src/components/ui/Tab.tsx b/src/components/ui/Tab.tsx index e4d5c4a1..9a6152da 100644 --- a/src/components/ui/Tab.tsx +++ b/src/components/ui/Tab.tsx @@ -6,7 +6,7 @@ import { cn } from '@/lib/utils'; // Tab 버튼 variants const tabVariants = cva( - 'text-body-m-16 md:text-body-m-20 rounded-8 flex h-24 w-136 items-center justify-center transition-all duration-200 md:h-32 md:w-156', + 'text-body-m-16 md:text-body-m-20 rounded-8 flex h-24 w-136 items-center justify-center transition-all duration-200 md:h-32 md:max-w-156 lg:h-32 lg:w-120', { variants: { variant: { diff --git a/src/styles/globals.css b/src/styles/globals.css index 59a95a3c..8ed94634 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -307,6 +307,11 @@ font-weight: 400; line-height: 22px; } +@utility text-body-10 { + font-size: 10px; + font-weight: 400; + line-height: 22px; +} /*logo*/ @utility text-logo-52 {