File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 4040 if (timeout > 0 ) {
4141 requestAnimationFrame (animate );
4242 } else {
43- console .log (' Done?' );
43+ console .log (' Performance monitoring consent declined' );
44+ declineConsent ();
4445 }
4546 };
4647 animate ();
7475 >
7576 <Icon src ={Check } class =" size-6 stroke-4" />
7677 Accept
77- <div class =" absolute bottom-0 left-0 h-1 w-full bg-green-300" >
78- <div
79- class =" h-full bg-green-900"
80- style:width =" {100 - (timeout / TIMEOUT_MAX ) * 100 }%"
81- ></div >
82- </div >
8378 </button >
8479 <button
85- class =" flex h-12 items-center gap-2 bg-red-400 px-4 py-1 text-lg text-red-950 hover:bg-red-600"
80+ class =" relative flex h-12 items-center gap-2 bg-red-400 px-4 py-1 text-lg text-red-950 hover:bg-red-600"
8681 onclick ={() => declineConsent ()}
8782 >
8883 <div class =" relative" >
8984 <Icon src ={X } class =" absolute top-1/2 left-1/2 h-4 w-4 -translate-1/2" />
9085 </div >
9186 Decline
87+ <div class =" absolute bottom-0 left-0 h-1 w-full bg-red-300" >
88+ <div class ="h-full bg-red-900" style:width =" {100 - (timeout / TIMEOUT_MAX ) * 100 }%" ></div >
89+ </div >
9290 </button >
9391 </div >
9492 </div >
You can’t perform that action at this time.
0 commit comments