import FormMessage from "@/components/form-message"; import { requestPasswordReset } from "@/features/auth/actions"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import Link from "next/link"; /** * [비밀번호 찾기 페이지] * * 사용자가 이메일을 입력하면 비밀번호 재설정 링크를 이메일로 발송합니다. * 로그인/회원가입 페이지와 동일한 디자인 시스템 사용 * * @param searchParams - URL 쿼리 파라미터 (에러 메시지 전달용) */ export default async function ForgotPasswordPage({ searchParams, }: { searchParams: Promise<{ message: string }>; }) { // URL에서 메시지 파라미터 추출 const { message } = await searchParams; return (