restyling button

This commit is contained in:
Hollgy 2024-03-18 17:27:09 +01:00
parent 581d6454c0
commit a0025921b1

View file

@ -33,17 +33,17 @@ export function LoginButton(): JSXElement {
</Show> </Show>
</div> </div>
{showLogoutModal() && ( {showLogoutModal() && (
<div role="alert" class="absolute top-10 z-10 flex bg-slate-500 rounded-md"> <div
role="alert"
class="absolute top-10 z-10 flex rounded-md bg-base-200 border-2 border-warning"
>
<div class="relative p-5"> <div class="relative p-5">
<p>Do you wish to logout?</p> <p>Do you wish to logout?</p>
<div <div class="w-100' flex justify-around">
class="w-100' flex justify-between <button class="btn btn-primary btn-sm" onClick={confirmLogout}>
"
>
<button class="btn btn-sm" onClick={confirmLogout}>
Yes Yes
</button> </button>
<button class="btn btn-sm" onClick={cancelLogout}> <button class="btn btn-primary btn-sm" onClick={cancelLogout}>
No No
</button> </button>
</div> </div>