File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { NotifyButton } from "@/components/NotifyButton";
55import { ServerStatusCard } from "@/components/ServerStatusCard" ;
66
77export default function Index ( ) {
8+ const countdown = < Countdown /> ;
9+
810 return (
911 < >
1012 < Head >
@@ -13,16 +15,20 @@ export default function Index() {
1315
1416 < ServerStatusCard />
1517
16- < Countdown />
17-
18- < NotifyButton />
18+ { countdown === null ? (
19+ < >
20+ < NotifyButton />
1921
20- < Link
21- href = "/verify"
22- className = "bg-blue-500 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded focus:outline-hidden focus:shadow-outline max-w-md w-full text-center"
23- >
24- Get Build Access
25- </ Link >
22+ < Link
23+ href = "/verify"
24+ className = "bg-blue-500 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded focus:outline-hidden focus:shadow-outline max-w-md w-full text-center"
25+ >
26+ Get Build Access
27+ </ Link >
28+ </ >
29+ ) : (
30+ countdown
31+ ) }
2632 </ >
2733 ) ;
2834}
You can’t perform that action at this time.
0 commit comments