23 lines
632 B
TypeScript
23 lines
632 B
TypeScript
|
|
import { UserCreateForm } from "@/features/react-query-demo/components/UserCreateForm";
|
||
|
|
import Link from "next/link";
|
||
|
|
import { ArrowLeft } from "lucide-react";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 신규 유저를 등록하는 페이지입니다.
|
||
|
|
*/
|
||
|
|
export default function UserNewPage() {
|
||
|
|
return (
|
||
|
|
<div className="max-w-xl mx-auto py-10 space-y-6">
|
||
|
|
<Link
|
||
|
|
href="/react-query"
|
||
|
|
className="inline-flex items-center gap-2 text-sm font-bold text-zinc-500 hover:text-zinc-900 transition-colors"
|
||
|
|
>
|
||
|
|
<ArrowLeft className="h-4 w-4" />
|
||
|
|
목록으로 돌아가기
|
||
|
|
</Link>
|
||
|
|
|
||
|
|
<UserCreateForm />
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|