We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da28aa7 commit 8683f16Copy full SHA for 8683f16
src/components/auth/SignupCard.tsx
@@ -1,9 +1,16 @@
1
+import { useNavigate } from '@tanstack/react-router'
2
+
3
const SignupCard = () => {
4
+ const navigate = useNavigate()
5
6
return (
7
<div className="flex w-full items-center justify-center bg-white p-6">
8
<p className="text-sm text-gray-800">
9
계정이 없으신가요?{' '}
- <span className="cursor-pointer font-semibold text-[#0095f6] hover:underline">
10
+ <span
11
+ onClick={() => navigate({ to: '/accounts/emailsignup' })}
12
+ className="cursor-pointer font-semibold text-[#0095f6] hover:underline"
13
+ >
14
가입하기
15
</span>
16
</p>
0 commit comments