This commit is contained in:
2025-10-29 22:03:43 +09:00
parent a96ee0fb60
commit 8d79468bf8
9 changed files with 424 additions and 15 deletions

View File

@@ -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>