Deskripsi:
- UI Voting bagian beranda dan status
## Noissue
This commit is contained in:
2024-07-12 16:02:28 +08:00
parent e744bb95fa
commit 7e21694324
50 changed files with 1222 additions and 812 deletions

View File

@@ -10,6 +10,8 @@ import {
gs_vote_riwayat,
gs_vote_status,
} from "../global_state";
import UIGlobal_SplashScreen from "@/app_modules/_global/ui/ui_splash";
import { IconPackageImport } from "@tabler/icons-react";
export default function Vote_Splash() {
const router = useRouter();
@@ -18,7 +20,7 @@ export default function Vote_Splash() {
const [tabsRiwayat, setTabsRiwayat] = useAtom(gs_vote_riwayat);
useShallowEffect(() => {
setTimeout(() => {
setHotMenu(0);
setHotMenu(1);
setTabsStatus("Publish");
setTabsRiwayat("Semua");
router.replace(RouterVote.beranda);
@@ -27,11 +29,12 @@ export default function Vote_Splash() {
return (
<>
<Center h={"100vh"}>
<UIGlobal_SplashScreen icon={<IconPackageImport size={300} />} />
{/* <Center h={"100vh"}>
<Paper p={{ base: 50, md: 60, lg: 80 }}>
<Image alt="logo" src={"/aset/vote/logo.png"} />
</Paper>
</Center>
</Center> */}
</>
);
}