1
This commit is contained in:
@@ -147,16 +147,17 @@ export default function RegisterAgreementPage() {
|
||||
>
|
||||
돌아가기
|
||||
</Link>
|
||||
<button
|
||||
disabled={!canProceed}
|
||||
className={`flex-1 py-3 rounded-md font-medium transition ${
|
||||
<Link
|
||||
href={canProceed ? '/register' : '#'}
|
||||
className={`flex-1 py-3 rounded-md text-center font-medium transition ${
|
||||
canProceed
|
||||
? 'bg-blue-500 text-white hover:bg-blue-600'
|
||||
: 'bg-gray-300 text-gray-500 cursor-not-allowed'
|
||||
: 'bg-gray-300 text-gray-500 cursor-not-allowed pointer-events-none'
|
||||
}`}
|
||||
onClick={(e) => !canProceed && e.preventDefault()}
|
||||
>
|
||||
동의 후 가입하기
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user