#style: event ui

This commit is contained in:
2024-07-18 11:17:20 +08:00
parent 38d4d04436
commit b67303d28b
6 changed files with 167 additions and 92 deletions

View File

@@ -1,8 +1,9 @@
"use client";
import { RouterColab } from "@/app/lib/router_hipmi/router_colab";
import { Center, Image, Paper } from "@mantine/core";
import UIGlobal_SplashScreen from "@/app_modules/_global/ui/ui_splash";
import { useShallowEffect } from "@mantine/hooks";
import { IconAffiliate } from "@tabler/icons-react";
import { useAtom } from "jotai";
import { useRouter } from "next/navigation";
import { gs_colab_hot_menu } from "../global_state";
@@ -15,17 +16,18 @@ export default function Colab_Splash() {
setTimeout(() => {
setHotMenu(1);
// setStatus("Publish");
router.replace(RouterColab.beranda);
router.replace(RouterColab.beranda, {scroll: false});
}, 1000);
}, []);
return (
<>
<Center h={"100vh"}>
{/* <Center h={"100vh"}>
<Paper p={{ base: 50, md: 60, lg: 80 }}>
<Image alt="logo" src={"/aset/colab/logo.png"} />
</Paper>
</Center>
</Center> */}
<UIGlobal_SplashScreen icon={<IconAffiliate size={300} />} />
</>
);
}