diff --git a/.env.guide.md b/.env.guide.md index 95f47a4c..1503db50 100644 --- a/.env.guide.md +++ b/.env.guide.md @@ -99,45 +99,6 @@ NEXT_PUBLIC_KAKAO_JS_KEY=b285223d3e57a6820552018b93805658 --- -## AI Inspector Env Registration - -### 1) Web 런타임 (Next.js API Route) - -등록 위치: -- 로컬: `apps/web/.env.local` -- 배포: Vercel Project > Settings > Environment Variables (Preview/Production) - -필수: -``` -NEXT_PUBLIC_API_SERVER_URL=https://api..solid-connection.com -AI_INSPECTOR_FIREBASE_PROJECT_ID= -AI_INSPECTOR_FIREBASE_CLIENT_EMAIL= -AI_INSPECTOR_FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n" -``` - -선택: -``` -AI_INSPECTOR_FIRESTORE_COLLECTION=aiInspectorTasks -``` - -### 2) Worker (GitHub Actions) - -등록 위치: -- GitHub Repository > Settings > Secrets and variables > Actions > Repository secrets - -필수: -- `AI_INSPECTOR_FIREBASE_PROJECT_ID` -- `AI_INSPECTOR_FIREBASE_CLIENT_EMAIL` -- `AI_INSPECTOR_FIREBASE_PRIVATE_KEY` - -선택: -- `AI_INSPECTOR_PATCH_ENDPOINT` -- `AI_INSPECTOR_PATCH_API_KEY` -- `AI_INSPECTOR_PREVIEW_URL_TEMPLATE` -- `AI_INSPECTOR_DISCORD_WEBHOOK_URL` - ---- - ## Best Practices 1. **환경별 값은 Vercel 대시보드에서 관리** diff --git a/.env.preview b/.env.preview index b63a2183..dde31a77 100644 --- a/.env.preview +++ b/.env.preview @@ -8,3 +8,7 @@ NEXT_PUBLIC_API_SERVER_URL=https://api.stage.solid-connection.com # kakao NEXT_PUBLIC_KAKAO_JS_KEY=c080f1d215a69b47401cda1d7528418a + +# Login mode configuration for preview +# Preview 환경에서는 stage API와 쿠키 로그인 사용 +NEXT_PUBLIC_COOKIE_LOGIN_ENABLED=true diff --git a/apps/web/public/images/placeholder/profile64.svg b/apps/web/public/images/placeholder/profile64.svg index 8543a2e7..b8a94408 100644 --- a/apps/web/public/images/placeholder/profile64.svg +++ b/apps/web/public/images/placeholder/profile64.svg @@ -1,10 +1,9 @@ - - - - + + + + - - - + + diff --git a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MenteePageTabs/index.tsx b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MenteePageTabs/index.tsx index 7061d69c..6a3cd55c 100644 --- a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MenteePageTabs/index.tsx +++ b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MenteePageTabs/index.tsx @@ -81,7 +81,7 @@ const MenteePageTabs = () => { ))} {/* 중간 밑줄 */} -
+
); }; diff --git a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorFindSection/index.tsx b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorFindSection/index.tsx index 1121423d..6c088805 100644 --- a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorFindSection/index.tsx +++ b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorFindSection/index.tsx @@ -24,8 +24,8 @@ const MentorFindSection = () => { usePrefetchMentorFindTab(); return ( -
-

멘토 찾기

+ <> +

멘토 찾기

{/* 필터 탭 */}
@@ -58,7 +58,7 @@ const MentorFindSection = () => {
-
+ ); }; diff --git a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/_ui/MyMentorSection/index.tsx b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/_ui/MyMentorSection/index.tsx index f052424d..77433fce 100644 --- a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/_ui/MyMentorSection/index.tsx +++ b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/_ui/MyMentorSection/index.tsx @@ -12,7 +12,7 @@ const MyMentorSection = () => { return ( <> -

나의 멘토 페이지

+

나의 멘토 페이지

diff --git a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/index.tsx b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/index.tsx index aa282cc0..0521b691 100644 --- a/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/index.tsx +++ b/apps/web/src/app/mentor/_ui/MentorClient/_ui/MentorPage/index.tsx @@ -30,7 +30,7 @@ const MentorPage = () => {
-

나의 멘티

+

나의 멘티

{/* 전체보기 버튼 */} {isMyMenteeTab && myMenteeList.length > 2 && ( @@ -63,6 +63,8 @@ const MentorPage = () => { ); }) )} + {/* 중간 밑줄 */} +
{/* 나의 멘토 페이지 */} diff --git a/apps/web/src/components/mentor/MentorCard/index.tsx b/apps/web/src/components/mentor/MentorCard/index.tsx index 81d6ef14..7edf77ea 100644 --- a/apps/web/src/components/mentor/MentorCard/index.tsx +++ b/apps/web/src/components/mentor/MentorCard/index.tsx @@ -38,17 +38,16 @@ const MentorCard = ({ mentor, observeRef, isMine = false }: MentorCardProps) => return (
{/* 멘토 프로필 헤더 */}
- 누적 멘티 {menteeCount}명
-
+
{country} {isDetail && } @@ -65,21 +64,21 @@ const MentorCard = ({ mentor, observeRef, isMine = false }: MentorCardProps) => <> {/* 멘토 한마디 */}
-

멘토 한마디

-

{introduction}

+

멘토 한마디

+

{introduction}

{/* 합격 레시피 */} {isDetail && (
-

합격 레시피

-

{passTip || "정보가 없습니다."}

+

합격 레시피

+

{passTip || "정보가 없습니다."}

)} {/* 멘토 채널 */}
-

멘토 채널

+

멘토 채널

{/* 접기/펼치기 버튼 */}
-
diff --git a/apps/web/src/components/ui/ProfileWithBadge.tsx b/apps/web/src/components/ui/ProfileWithBadge.tsx index 4aa1d63d..48528a05 100644 --- a/apps/web/src/components/ui/ProfileWithBadge.tsx +++ b/apps/web/src/components/ui/ProfileWithBadge.tsx @@ -30,7 +30,7 @@ const ProfileWithBadge = ({ {/* 프로필 이미지 */}