#style: Tampilan home

Deskripsi:
- Tampilan tamplate layout positionnya di ganti fixed ( tidak bisa di tarik ke bawah jika sudah menjadi aplikasi )
- UI Home selesai
- UI User search selesai
- UI Notifikasi selesai
## No issuee
This commit is contained in:
2024-07-09 10:25:18 +08:00
parent cbe4a7b2c0
commit 9068631c33
61 changed files with 1390 additions and 1156 deletions

View File

@@ -1,6 +1,7 @@
"use client";
import { MainColor } from "@/app_modules/component_global/color/color_pallet";
import ComponentGlobal_SplashScreen from "@/app_modules/component_global/splash/splash_global";
import { BackgroundImage, Center, Image, Paper, Stack } from "@mantine/core";
import { useShallowEffect } from "@mantine/hooks";
import { useRouter } from "next/navigation";
@@ -11,12 +12,12 @@ export default function SplashScreen({ data }: { data: any }) {
useShallowEffect(() => {
if (!data) {
setTimeout(() => {
return router.push("/dev/auth/login");
}, 2000);
return router.push("/dev/auth/login", { scroll: false });
}, 1000);
} else {
setTimeout(() => {
return router.push("/dev/home");
}, 2000);
return router.push("/dev/home", { scroll: false });
}, 1000);
}
}, []);