Fix: version 1.2.10
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
import { SplashScreen } from "@/app_modules/auth";
|
import { SplashScreen } from "@/app_modules/auth";
|
||||||
import { useShallowEffect } from "@mantine/hooks";
|
import { useShallowEffect } from "@mantine/hooks";
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
// useShallowEffect(() => {
|
useShallowEffect(() => {
|
||||||
// setTimeout(() => {
|
setTimeout(() => {
|
||||||
// window.location.replace("/dev/home");
|
window.location.replace("/dev/home");
|
||||||
// }, 100);
|
}, 1000);
|
||||||
// }, []);
|
}, []);
|
||||||
|
|
||||||
// return <Login version={version} />;
|
|
||||||
// return <div>spash</div>;
|
|
||||||
return <SplashScreen />;
|
return <SplashScreen />;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
|
import { UIGlobal_LayoutDefault } from "@/app_modules/_global/ui";
|
||||||
import { Avatar, BackgroundImage, Center, Image, Stack } from "@mantine/core";
|
import { Avatar, BackgroundImage, Center, Image, Stack } from "@mantine/core";
|
||||||
import { useShallowEffect } from "@mantine/hooks";
|
import { useShallowEffect } from "@mantine/hooks";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
@@ -15,11 +16,7 @@ export default function SplashScreen() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<BackgroundImage
|
<UIGlobal_LayoutDefault>
|
||||||
src={"/aset/global/main_background.png"}
|
|
||||||
h={"100vh"}
|
|
||||||
// pos={"static"}
|
|
||||||
>
|
|
||||||
<Center h={"100vh"}>
|
<Center h={"100vh"}>
|
||||||
<Stack align="center" justify="center" p={"md"}>
|
<Stack align="center" justify="center" p={"md"}>
|
||||||
{/* <Title c={"#002e59"}>Welcome to</Title> */}
|
{/* <Title c={"#002e59"}>Welcome to</Title> */}
|
||||||
@@ -33,7 +30,7 @@ export default function SplashScreen() {
|
|||||||
</Avatar>
|
</Avatar>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Center>
|
</Center>
|
||||||
</BackgroundImage>
|
</UIGlobal_LayoutDefault>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user