fix ui dashboard & event

This commit is contained in:
2025-01-28 21:26:33 +08:00
parent 93874478ac
commit 22fa1e8bcd
18 changed files with 137 additions and 96 deletions

View File

@@ -1,5 +1,6 @@
"use client";
import { AccentColor, AdminColor } from "@/app_modules/_global/color/color_pallet";
import { Group, Button, Loader } from "@mantine/core";
import { IconChevronLeft } from "@tabler/icons-react";
import { useRouter } from "next/navigation";
@@ -17,7 +18,7 @@ export default function AdminGlobal_ComponentBackButton({
<>
<Group>
<Button
c={"gray"}
c={AccentColor.white}
leftIcon={
isLoading ? (
<Loader size={"xs"} color={"gray"} />
@@ -25,7 +26,7 @@ export default function AdminGlobal_ComponentBackButton({
<IconChevronLeft />
)
}
variant="white"
style={{ backgroundColor: AdminColor.softBlue}}
onClick={() => {
setLoading(true);
// setTimeout(() => , 3000);