diff --git a/src/app/schedule/(components)/current.tsx b/src/app/schedule/(components)/current.tsx
index bed97f88..6bb5b463 100644
--- a/src/app/schedule/(components)/current.tsx
+++ b/src/app/schedule/(components)/current.tsx
@@ -7,7 +7,9 @@ const MOCK_MEETINGS: Meeting[] = [
{
id: 1,
title: '네즈코와 무한성에서 정모 하실 분',
- images: [],
+ images: [
+ 'https://images.unsplash.com/photo-1518020382113-a7e8fc38eac9?q=80&w=717&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
+ ],
location: '네즈코 호수공원',
dateTime: '25. 11. 28 - 10:00',
nickName: 'Hope Lee',
diff --git a/src/app/schedule/(components)/empty-state.tsx b/src/app/schedule/(components)/empty-state.tsx
index b519d45c..b9a80a52 100644
--- a/src/app/schedule/(components)/empty-state.tsx
+++ b/src/app/schedule/(components)/empty-state.tsx
@@ -5,7 +5,7 @@ import { Button } from '@/components/ui';
import { cn } from '@/lib/utils';
type EmptyStateProps = {
- type: 'current' | 'my' | 'history';
+ type: 'current' | 'myPost' | 'past';
onButtonClick: () => void;
};
@@ -15,12 +15,12 @@ const EMPTY_STATE_CONFIG = {
buttonText: '모임 보러가기',
buttonWidth: 'w-[124px]',
},
- my: {
+ myPost: {
text: '아직 생성한 모임이 없어요.\n지금 바로 모임을 만들어보세요!',
buttonText: '모임 만들기',
buttonWidth: 'w-[112px]',
},
- history: {
+ past: {
text: '아직 참여한 모임이 없어요.\n마음에 드는 모임을 발견해보세요!',
buttonText: '모임 보러가기',
buttonWidth: 'w-[124px]',
diff --git a/src/app/schedule/(components)/history.tsx b/src/app/schedule/(components)/history.tsx
index 518b4037..9e6c9d31 100644
--- a/src/app/schedule/(components)/history.tsx
+++ b/src/app/schedule/(components)/history.tsx
@@ -9,10 +9,10 @@ export default function History() {
return (
);
}
diff --git a/src/app/schedule/(components)/my.tsx b/src/app/schedule/(components)/my.tsx
index f10c6d28..8ac44a91 100644
--- a/src/app/schedule/(components)/my.tsx
+++ b/src/app/schedule/(components)/my.tsx
@@ -7,7 +7,9 @@ const MOCK_MEETINGS: Meeting[] = [
{
id: 2,
title: '주말 러닝 크루 모집',
- images: [],
+ images: [
+ 'https://images.unsplash.com/photo-1518020382113-a7e8fc38eac9?q=80&w=717&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
+ ],
location: '한강공원 잠실지구',
dateTime: '25. 12. 05 - 07:30',
nickName: 'Minseo Kim',
@@ -21,11 +23,11 @@ export default function My() {
return (
);
}
diff --git a/src/app/schedule/(components)/types.ts b/src/app/schedule/(components)/types.ts
index bdf9537b..b369c277 100644
--- a/src/app/schedule/(components)/types.ts
+++ b/src/app/schedule/(components)/types.ts
@@ -10,4 +10,4 @@ export type Meeting = {
tags: string[];
};
-export type TabType = 'current' | 'my' | 'history';
+export type TabType = 'current' | 'myPost' | 'past';
diff --git a/src/app/schedule/page.tsx b/src/app/schedule/page.tsx
index 6f26560a..473283cc 100644
--- a/src/app/schedule/page.tsx
+++ b/src/app/schedule/page.tsx
@@ -12,8 +12,8 @@ import My from './(components)/my';
const SCHEDULE_TABS = [
{ label: '현재 모임', value: 'current' },
- { label: '나의 모임', value: 'my' },
- { label: '모임 이력', value: 'history' },
+ { label: '나의 모임', value: 'myPost' },
+ { label: '모임 이력', value: 'past' },
];
const ScheduleContent = () => {
@@ -23,8 +23,8 @@ const ScheduleContent = () => {
return (
<>
{tab === 'current' && }
- {tab === 'my' && }
- {tab === 'history' && }
+ {tab === 'myPost' && }
+ {tab === 'past' && }
>
);
};
diff --git a/src/components/shared/card/index.tsx b/src/components/shared/card/index.tsx
index bcc58852..0351d8ae 100644
--- a/src/components/shared/card/index.tsx
+++ b/src/components/shared/card/index.tsx
@@ -26,7 +26,7 @@ type CardProps = {
onLeave: () => void;
onChat: () => void;
};
- tabType?: 'current' | 'my' | 'history';
+ tabType?: 'current' | 'myPost' | 'past';
};
const calculateProgress = (count: number, max: number): number => {
@@ -59,8 +59,8 @@ const Card = ({
const hasThumbnail = !!thumbnail && !imageError;
const cardTags = convertToCardTags(tags);
const progress = calculateProgress(participantCount, maxParticipants);
- const shouldShowButtons = leaveAndChatActions && tabType !== 'history';
- const leaveButtonText = tabType === 'my' ? '모임 취소' : '모임 탈퇴';
+ const shouldShowButtons = leaveAndChatActions && tabType !== 'past';
+ const leaveButtonText = tabType === 'myPost' ? '모임 취소' : '모임 탈퇴';
return (