setIsRemembered(!isRemembered)}
className="flex cursor-pointer items-center gap-2"
diff --git a/components/map/kakaoMapRecommend.tsx b/components/map/kakaoMapRecommend.tsx
index 01f9e67..6327e53 100644
--- a/components/map/kakaoMapRecommend.tsx
+++ b/components/map/kakaoMapRecommend.tsx
@@ -29,11 +29,11 @@ interface KakaoMapRecommendProps {
// 전체 카테고리 목록
const ALL_CATEGORIES = [
{ id: '식당', label: '식당', icon: '/icon/place/restaurant' },
- { id: '술집', label: '술집', icon: '/icon/place/bar' },
+ { id: '술집', label: '술집', icon: '/icon/place/bar' },
{ id: '카페', label: '카페', icon: '/icon/place/cafe' },
{ id: '놀거리', label: '놀거리', icon: '/icon/place/play' },
- { id: '스터디카페', label: '스터디카페', icon: '/icon/place/studycafe' },
- { id: '장소 대여', label: '장소 대여', icon: '/icon/place/rent' },
+ { id: '스터디 카페', label: '스터디 카페', icon: '/icon/place/studycafe' },
+ { id: '장소 대여', label: '장소 대여', icon: '/icon/place/rent' },
];
export default function KakaoMapRecommend({
@@ -54,7 +54,7 @@ export default function KakaoMapRecommend({
const categories = useMemo(() => {
if (meetingType === '회의') {
// 회의: 스터디카페, 장소 대여
- return ALL_CATEGORIES.filter((cat) => cat.id === '스터디카페' || cat.id === '장소 대여');
+ return ALL_CATEGORIES.filter((cat) => cat.id === '스터디 카페' || cat.id === '장소 대여');
} else if (meetingType === '친목') {
// 친목: 식당, 술집, 카페, 놀거리
return ALL_CATEGORIES.filter(
diff --git a/components/meeting/MeetingInfoSection.tsx b/components/meeting/MeetingInfoSection.tsx
index 1fad764..b47acd9 100644
--- a/components/meeting/MeetingInfoSection.tsx
+++ b/components/meeting/MeetingInfoSection.tsx
@@ -22,7 +22,6 @@ export default function MeetingInfoSection({
}: MeetingInfoProps) {
const { days, hours, minutes, isExpired } = useCountdown(deadline);
- // 남은 인원 (음수 방지)
const pendingCount = Math.max(0, totalCapacity - currentParticipants);
// 1. 시간 렌더링 여부: (기한 유연 아님) AND (59일 미만)
@@ -35,7 +34,7 @@ export default function MeetingInfoSection({
return (
-
+
{/* --- [타이틀 영역] --- */}
{isTimeSet ? (
diff --git a/components/meeting/stationSearch.tsx b/components/meeting/stationSearch.tsx
index 3af7dbc..c8d78ec 100644
--- a/components/meeting/stationSearch.tsx
+++ b/components/meeting/stationSearch.tsx
@@ -45,7 +45,7 @@ export default function StationSearch({
return (
-
내 출발지
+
내 출발지
{selectedStation ? (
// [CASE 1] 선택 완료 상태
@@ -87,7 +87,7 @@ export default function StationSearch({
{/* 자동완성 드롭다운 */}
{searchValue && filteredStations.length > 0 && (
-
+
{filteredStations.map((station, index) => (
-
-
+
아직 입력하지 않은 친구를
재촉해 보세요!
diff --git a/components/modal/shareModal.tsx b/components/modal/shareModal.tsx
index fb6cd44..7fd8c19 100644
--- a/components/modal/shareModal.tsx
+++ b/components/modal/shareModal.tsx
@@ -38,7 +38,7 @@ export default function ShareModal({ isOpen, onClose, meetingId }: ShareModalPro
>
{/* 헤더 영역 */}
-
+
모임 링크를 공유해주세요
diff --git a/components/modal/transferModal.tsx b/components/modal/transferModal.tsx
index bd692c5..26ce2c9 100644
--- a/components/modal/transferModal.tsx
+++ b/components/modal/transferModal.tsx
@@ -37,85 +37,91 @@ interface TransferModalProps {
endStation?: string;
}
-export default function TransferModal({ isOpen, onClose, userRoutes = [], endStation = '' }: TransferModalProps) {
-
-// 호선별 색상 반환 함수 (전체 호선명을 받아서 처리)
-const getLineBadgeStyle = (fullLineName: string) => {
- // "호선" 제거
- const cleaned = fullLineName.replace('호선', '').trim();
-
- // 숫자 호선 처리 (1~9)
- if (/^\d+$/.test(cleaned)) {
- switch (cleaned) {
- case '1':
- return 'bg-[#004A85]'; // 1호선 파랑
- case '2':
- return 'bg-[#00A23F]'; // 2호선 초록
- case '3':
- return 'bg-[#ED6C00]'; // 3호선 파랑
- case '4':
- return 'bg-[#009BCE]'; // 4호선 파랑
- case '5':
- return 'bg-[#794698]'; // 5호선 보라색
- case '6':
- return 'bg-[#7C4932]'; // 6호선 빨강
- case '7':
- return 'bg-[#6E7E31]'; // 7호선 초록
- case '8':
- return 'bg-[#D11D70]'; // 8호선 빨강
- case '9':
- return 'bg-[#A49D87]'; // 9호선 회색
+export default function TransferModal({
+ isOpen,
+ onClose,
+ userRoutes = [],
+ endStation = '',
+}: TransferModalProps) {
+ // 호선별 색상 반환 함수 (전체 호선명을 받아서 처리)
+ const getLineBadgeStyle = (fullLineName: string) => {
+ // "호선" 제거
+ const cleaned = fullLineName.replace('호선', '').trim();
+
+ // 숫자 호선 처리 (1~9)
+ if (/^\d+$/.test(cleaned)) {
+ switch (cleaned) {
+ case '1':
+ return 'bg-[#004A85]'; // 1호선 파랑
+ case '2':
+ return 'bg-[#00A23F]'; // 2호선 초록
+ case '3':
+ return 'bg-[#ED6C00]'; // 3호선 파랑
+ case '4':
+ return 'bg-[#009BCE]'; // 4호선 파랑
+ case '5':
+ return 'bg-[#794698]'; // 5호선 보라색
+ case '6':
+ return 'bg-[#7C4932]'; // 6호선 빨강
+ case '7':
+ return 'bg-[#6E7E31]'; // 7호선 초록
+ case '8':
+ return 'bg-[#D11D70]'; // 8호선 빨강
+ case '9':
+ return 'bg-[#A49D87]'; // 9호선 회색
+ default:
+ return 'bg-gray-400';
+ }
+ }
+
+ // 전체 호선명으로 처리 (앞 글자가 겹치는 경우 구분)
+ switch (fullLineName) {
+ // 수도권 도시철도(경전철)
+ case '우이신설선':
+ return 'bg-[#B0CE18]'; // 우이신설 노랑
+ case '신림선':
+ return 'bg-[#5E7DBB]'; // 신림선 하늘
+ case '의정부경전철':
+ return 'bg-[#F0831E]'; // 의정부경전철 주황
+ case '용인에버라인':
+ return 'bg-[#44A436]'; // 용인에버라인 초록
+ case '인천2호선':
+ return 'bg-[#F4A462]'; // 인천2호선 살색
+ case '김포골드라인':
+ return 'bg-[#F4A462]'; // 김포골드라인 금색
+
+ // 수도권 도시철도(중전철)
+ case '경의선':
+ case '경의중앙선':
+ return 'bg-[#6AC2B3]'; // 경의선/경의중앙선 민트색
+ case '수인분당선':
+ return 'bg-[#ECA300]'; // 수인분당선 노란색
+ case '신분당선':
+ return 'bg-[#B81B30]'; // 신분당선 빨강색
+ case '인천1호선':
+ return 'bg-[#B4C7E7]'; // 인천1호선 연한 하늘색
+ case '공항철도':
+ return 'bg-[#0079AC]'; // 공항철도 파랑색
+
+ // 광역철도
+ case '경춘선':
+ return 'bg-[#007A62]'; // 경춘선 초록
+ case '경강산':
+ return 'bg-[#0B318F]'; // 경강산 파란
+ case '서해선':
+ return 'bg-[#5EAC41]'; // 서해선 초록
+
default:
return 'bg-gray-400';
}
- }
-
- // 전체 호선명으로 처리 (앞 글자가 겹치는 경우 구분)
- switch (fullLineName) {
- // 수도권 도시철도(경전철)
- case '우이신설선':
- return 'bg-[#B0CE18]'; // 우이신설 노랑
- case '신림선':
- return 'bg-[#5E7DBB]'; // 신림선 하늘
- case '의정부경전철':
- return 'bg-[#F0831E]'; // 의정부경전철 주황
- case '용인에버라인':
- return 'bg-[#44A436]'; // 용인에버라인 초록
- case '인천2호선':
- return 'bg-[#F4A462]'; // 인천2호선 살색
- case '김포골드라인':
- return 'bg-[#F4A462]'; // 김포골드라인 금색
-
- // 수도권 도시철도(중전철)
- case '경의선':
- case '경의중앙선':
- return 'bg-[#6AC2B3]'; // 경의선/경의중앙선 민트색
- case '수인분당선':
- return 'bg-[#ECA300]'; // 수인분당선 노란색
- case '신분당선':
- return 'bg-[#B81B30]'; // 신분당선 빨강색
- case '인천1호선':
- return 'bg-[#B4C7E7]'; // 인천1호선 연한 하늘색
- case '공항철도':
- return 'bg-[#0079AC]'; // 공항철도 파랑색
-
- // 광역철도
- case '경춘선':
- return 'bg-[#007A62]'; // 경춘선 초록
- case '경강산':
- return 'bg-[#0B318F]'; // 경강산 파란
- case '서해선':
- return 'bg-[#5EAC41]'; // 서해선 초록
-
- default:
- return 'bg-gray-400';
- }
-};
+ };
// transferPath에서 호선과 환승역 추출 함수
- const extractTransferLines = (route: UserRoute): Array<{ linenumber: string; station: string }> => {
+ const extractTransferLines = (
+ route: UserRoute
+ ): Array<{ linenumber: string; station: string }> => {
const lines: Array<{ linenumber: string; station: string }> = [];
-
+
// transferPath의 모든 항목에서 호선과 환승역 추출
if (route.transferPath && Array.isArray(route.transferPath)) {
route.transferPath.forEach((path) => {
@@ -127,7 +133,7 @@ const getLineBadgeStyle = (fullLineName: string) => {
}
});
}
-
+
return lines;
};
@@ -139,11 +145,11 @@ const getLineBadgeStyle = (fullLineName: string) => {
>
{/* 헤더 영역 */}
-
+
모임원 환승경로 보기
-
- {endStation ? `${endStation} 도착` : '도착역'}
+
+ {endStation ? `${endStation}역 도착` : '도착역'}
@@ -156,7 +162,7 @@ const getLineBadgeStyle = (fullLineName: string) => {
) : (
userRoutes.map((route, index) => {
const transferLines = extractTransferLines(route);
-
+
return (
{
) : (
transferLines.map((lineInfo, idx) => (
-
-
+
- {lineInfo.station}
- ({lineInfo.linenumber})
+ {lineInfo.station}({lineInfo.linenumber})
{/* 화살표 아이콘 (마지막 요소 제외) */}
{idx < transferLines.length - 1 && (
@@ -201,7 +205,6 @@ const getLineBadgeStyle = (fullLineName: string) => {
)}
-
))
)}
@@ -210,7 +213,9 @@ const getLineBadgeStyle = (fullLineName: string) => {
{/* 이동 시간 */}
이동시간
- {route.travelTime}분
+
+ {route.travelTime}분
+
diff --git a/components/share/shareContent.tsx b/components/share/shareContent.tsx
index 417d5c9..1c33222 100644
--- a/components/share/shareContent.tsx
+++ b/components/share/shareContent.tsx
@@ -19,8 +19,8 @@ export default function ShareContent({ id }: ShareContentProps) {
return (
-
- 모임이 만들어졌어요!
+
+ 모임원들에게
링크를 공유해주세요
diff --git a/public/images/banner.jpg b/public/images/banner.jpg
new file mode 100644
index 0000000..2d82953
Binary files /dev/null and b/public/images/banner.jpg differ