Skip to content

Commit

Permalink
feat: disable register button
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew4Coding committed Oct 31, 2024
1 parent 28600e8 commit 48e7002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/LandingPageModule/components/LandingPageHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const LandingPageHero = () => {
</Link>
<Link href="/register">
<Button
disabled
variant="tertiary"
className="w-[120px] h-[40px] sm:w-[180px] sm:h-[50px] text-[10px] sm:text-[12px]"
>
Expand Down
4 changes: 2 additions & 2 deletions modules/ProfilePageModules/sections/DetailProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ export const DetailProfile = () => {
</Button>
)
) : (
<Link href="/register">
<Button className="max-w-36">Registrasi Peserta</Button>
<Link href="/register">
<Button className="max-w-36" disabled>Registrasi Peserta</Button>
</Link>
)}

Expand Down

0 comments on commit 48e7002

Please sign in to comment.