Feat: 로그인 여부에 따른 메인페이지 이동 및 dashboard 처리

This commit is contained in:
2026-02-05 16:36:42 +09:00
parent ded49b5e2a
commit f1e340d9f1
17 changed files with 497 additions and 73 deletions

View File

@@ -11,6 +11,7 @@ import {
CardTitle,
} from "@/components/ui/card";
import Link from "next/link";
import { AUTH_ROUTES } from "@/features/auth/constants";
/**
* [비밀번호 찾기 페이지]
@@ -72,7 +73,7 @@ export default async function ForgotPasswordPage({
<div className="text-center">
<Link
href="/login"
href={AUTH_ROUTES.LOGIN}
className="text-sm font-medium text-gray-700 hover:text-black dark:text-gray-300 dark:hover:text-white"
>

View File

@@ -1,4 +1,5 @@
import Link from "next/link";
import { AUTH_ROUTES } from "@/features/auth/constants";
import FormMessage from "@/components/form-message";
import SignupForm from "@/features/auth/components/signup-form";
import {
@@ -42,7 +43,7 @@ export default async function SignupPage({
<p className="text-center text-sm text-gray-600 dark:text-gray-400">
?{" "}
<Link
href="/login"
href={AUTH_ROUTES.LOGIN}
className="font-semibold text-gray-900 transition-colors hover:text-black dark:text-gray-100 dark:hover:text-white"
>