From 9ffcc7dbe3ad3a8b700e187484f7cbf19ebae74b Mon Sep 17 00:00:00 2001 From: amel Date: Thu, 4 Jul 2024 12:22:42 +0800 Subject: [PATCH 1/4] upd : gitignore Deskripsi: - update git ignore .env No Issues --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index fd3dbb5..f3e886e 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,9 @@ yarn-error.log* # local env files .env*.local +# env +.env + # vercel .vercel From a84ea286be321d1b0003865639e42a8401179be0 Mon Sep 17 00:00:00 2001 From: amel Date: Thu, 4 Jul 2024 12:24:13 +0800 Subject: [PATCH 2/4] upd : page loading Deskripsi: - membuat page berisikan skeleton loading - untuk page loading No Issues --- src/app/loading.tsx | 5 ++++ src/module/_global/index.ts | 4 ++- .../_global/layout/layout_loading_page.tsx | 29 +++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/app/loading.tsx create mode 100644 src/module/_global/layout/layout_loading_page.tsx diff --git a/src/app/loading.tsx b/src/app/loading.tsx new file mode 100644 index 0000000..1123e45 --- /dev/null +++ b/src/app/loading.tsx @@ -0,0 +1,5 @@ +import { LoadingPage } from "@/module/_global"; + +export default function Loading() { + return +} \ No newline at end of file diff --git a/src/module/_global/index.ts b/src/module/_global/index.ts index 7c77fb9..20d98f3 100644 --- a/src/module/_global/index.ts +++ b/src/module/_global/index.ts @@ -1,7 +1,9 @@ import { WARNA } from "./fun/WARNA"; +import LoadingPage from "./layout/layout_loading_page"; import LayoutLogin from "./layout/layout_login"; import LayoutNavbarHome from "./layout/layout_navbar_home"; export { WARNA } export { LayoutLogin } -export {LayoutNavbarHome} \ No newline at end of file +export { LayoutNavbarHome } +export { LoadingPage } \ No newline at end of file diff --git a/src/module/_global/layout/layout_loading_page.tsx b/src/module/_global/layout/layout_loading_page.tsx new file mode 100644 index 0000000..b392422 --- /dev/null +++ b/src/module/_global/layout/layout_loading_page.tsx @@ -0,0 +1,29 @@ +import { Box, Group, Skeleton } from "@mantine/core"; + +export default function LoadingPage() { + return ( + <> + + + + + + + + + + + + + + + + + + + + + + + ) +} \ No newline at end of file From 04eaed21b7f7ebf21c5eee72995b66697e93671f Mon Sep 17 00:00:00 2001 From: amel Date: Thu, 4 Jul 2024 12:25:01 +0800 Subject: [PATCH 3/4] upd: tampilan profile Deskripsi: - update tampilan profile user No Issues --- src/module/user/profile/view/view_profile.tsx | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/src/module/user/profile/view/view_profile.tsx b/src/module/user/profile/view/view_profile.tsx index 2c59e62..902e2a1 100644 --- a/src/module/user/profile/view/view_profile.tsx +++ b/src/module/user/profile/view/view_profile.tsx @@ -1,7 +1,10 @@ import { LayoutNavbarHome, WARNA } from "@/module/_global"; -import { ActionIcon, Group, Stack, Text } from "@mantine/core"; +import { ActionIcon, Anchor, Box, Flex, Group, Stack, Text } from "@mantine/core"; import { BsInfo } from "react-icons/bs"; import { HiUser } from "react-icons/hi2"; +import { RiIdCardFill } from "react-icons/ri"; +import { FaSquarePhone } from "react-icons/fa6"; +import { MdEmail } from "react-icons/md"; export default function ViewProfile() { return ( @@ -18,12 +21,41 @@ export default function ViewProfile() { justify="center" gap="xs" > - - + Fibra Marcell Kepala Urusan Pengembangan + + + Informasi + + Edit + + + + + + NIK + + 513177782899 + + + + + NoTelepon + + +62038939293 + + + + + Email + + marcel@gmail.com + + + ) } \ No newline at end of file From 42da0818744470fac021a389b62725503f27d93a Mon Sep 17 00:00:00 2001 From: amel Date: Thu, 4 Jul 2024 12:31:44 +0800 Subject: [PATCH 4/4] upd: edit profile Deskripsi: - routing edit profile - view awal edit profile No Issues --- src/app/(application)/profile/edit/page.tsx | 9 +++++++++ src/module/user/index.ts | 4 +++- src/module/user/profile/view/view_edit_profile.tsx | 9 +++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/app/(application)/profile/edit/page.tsx create mode 100644 src/module/user/profile/view/view_edit_profile.tsx diff --git a/src/app/(application)/profile/edit/page.tsx b/src/app/(application)/profile/edit/page.tsx new file mode 100644 index 0000000..6ca9661 --- /dev/null +++ b/src/app/(application)/profile/edit/page.tsx @@ -0,0 +1,9 @@ +import { ViewEditProfile } from "@/module/user" + +function Page() { + return ( + + ) +} + +export default Page \ No newline at end of file diff --git a/src/module/user/index.ts b/src/module/user/index.ts index 0cd1556..5e7ed69 100644 --- a/src/module/user/index.ts +++ b/src/module/user/index.ts @@ -1,3 +1,5 @@ +import ViewEditProfile from "./profile/view/view_edit_profile"; import ViewProfile from "./profile/view/view_profile"; -export { ViewProfile } \ No newline at end of file +export { ViewProfile } +export { ViewEditProfile } \ No newline at end of file diff --git a/src/module/user/profile/view/view_edit_profile.tsx b/src/module/user/profile/view/view_edit_profile.tsx new file mode 100644 index 0000000..83fcede --- /dev/null +++ b/src/module/user/profile/view/view_edit_profile.tsx @@ -0,0 +1,9 @@ +import { Box } from "@mantine/core"; + +export default function ViewEditProfile() { + return ( + + Edit profile + + ) +} \ No newline at end of file