Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
NEXT_PUBLIC_SUPABASE_URL: "https://dummy.supabase.co"
NEXT_PUBLIC_SUPABASE_ANON_KEY: "dummy-key-for-build-test"


# 9. 성공 시 체크마크 출력
- name: All checks passed
run: echo "모든 코드 품질 검사를 통과했습니다!"
run: echo "모든 코드 품질 검사를 통과했습니다!"
83 changes: 0 additions & 83 deletions .github/workflows/devlop.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ jobs:
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} # TODO: 나중에 배포 후 입력
vercel-args: "--prod"


# 배포 성공 알림 (선택사항)
- name: Deployment success notification
run: |
echo "프로덕션 배포 완료!"
echo "배포 시간: ${date}"
echo "커밋: ${{ github.sha}}"
echo "커밋: ${{ github.sha}}"
20 changes: 9 additions & 11 deletions src/app/auth/signup/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,21 +316,19 @@ export default function SignupPage() {
</button>
</div>

<div className="text-center space-y-2">
<div className="flex flex-col gap-2 items-center">
<Link
href="/auth/signup"
href="/auth/login"
className="text-accent-600 hover:text-accent-500 text-sm font-medium transition-colors"
>
계정이 없으신가요? 회원가입
회원이신가요? 로그인
</Link>
<Link
href="/"
className="text-gray-500 hover:text-gray-700 text-sm transition-colors"
>
메인 화면으로 돌아가기
</Link>
<div>
<Link
href="/"
className="text-gray-500 hover:text-gray-700 text-sm transition-colors"
>
메인 화면으로 돌아가기
</Link>
</div>
</div>
</form>
</div>
Expand Down
14 changes: 10 additions & 4 deletions src/components/auth/LoginPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function LoginPageContent() {
htmlFor="email"
className="block text-sm font-medium text-gray-700"
>
이메일 *
이메일
</label>
<input
id="email"
Expand All @@ -94,7 +94,7 @@ export default function LoginPageContent() {
htmlFor="password"
className="block text-sm font-medium text-gray-700"
>
비밀번호 *
비밀번호
</label>
<input
id="password"
Expand All @@ -120,19 +120,25 @@ export default function LoginPageContent() {
<button
type="submit"
disabled={isLoggingIn || !isValid}
className="w-full flex justify-center py-2 px-4 border border-transparent rounded-lg shadow-sm text-sm font-medium text-white bg-accent-600 hover:bg-accent-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-accent-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors"
className="hover:cursor-pointer w-full flex justify-center py-2 px-4 border border-transparent rounded-lg shadow-sm text-sm font-medium text-white bg-accent-600 hover:bg-accent-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-accent-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors"
>
{isLoggingIn ? "로그인 중..." : "로그인"}
</button>
</div>

<div className="text-center space-y-2">
<div className="flex flex-col gap-2 items-center">
<Link
href="/auth/signup"
className="text-accent-600 hover:text-accent-500 text-sm font-medium transition-colors"
>
계정이 없으신가요? 회원가입
</Link>
<Link
href="/"
className="text-gray-500 hover:text-gray-700 text-sm transition-colors"
>
메인 화면으로 돌아가기
</Link>
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/auth/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
});

// 사용자 프로필 조회
const { data: profile, isLoading: isProfileLoading } = useQuery({

Check warning on line 33 in src/hooks/auth/useAuth.ts

View workflow job for this annotation

GitHub Actions / Code Quality Check (20.x)

'isProfileLoading' is assigned a value but never used

Check warning on line 33 in src/hooks/auth/useAuth.ts

View workflow job for this annotation

GitHub Actions / Integration Test (20.x)

'isProfileLoading' is assigned a value but never used

Check warning on line 33 in src/hooks/auth/useAuth.ts

View workflow job for this annotation

GitHub Actions / Code Quality Check (20.x)

'isProfileLoading' is assigned a value but never used
queryKey: ["auth", "profile", session?.user?.id],
queryFn: async (): Promise<UserProfile | null> => {
if (!session?.user?.id) return null;
Expand Down Expand Up @@ -201,7 +201,7 @@
user: session?.user || null,
profile,
session,
isLoading: (isSessionLoading || isProfileLoading) && !isInitialized,
isLoading: isSessionLoading || (!isInitialized && session === undefined),
isAuthenticated: !!session?.user,
emailCheckResult: checkEmailMutation.data,
nicknameCheckResult: checkNicknameMutation.data,
Expand Down
Loading