feat: add loading state and full-page loader component; update payment page and application layout to improve user experience
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m23s

This commit is contained in:
2025-05-31 12:37:46 +05:00
parent c705addccc
commit bed426a6b4
14 changed files with 84 additions and 18 deletions

View File

@ -19,7 +19,7 @@ export default function DeviceCard({
return (
<div
onKeyUp={() => {}}
onKeyUp={() => { }}
onClick={() => {
if (device.blocked) return;
if (device.is_active === true) return;
@ -36,9 +36,9 @@ export default function DeviceCard({
<div
className={cn(
"flex text-sm justify-between items-center my-2 p-4 border rounded-md",
isChecked ? "bg-accent" : "bg-",
isChecked ? "bg-accent" : "",
device.is_active
? "cursor-not-allowed bg-accent-foreground/10 hover:bg-accent-foreground/10"
? "cursor-not-allowed text-green-600 hover:bg-accent-foreground/10"
: "cursor-pointer hover:bg-muted-foreground/10",
)}
>