diff --git a/public/profile/background/0a4c3f76-a978-499c-a375-bd4109ca553a.png b/public/profile/background/0a4c3f76-a978-499c-a375-bd4109ca553a.png new file mode 100644 index 00000000..85db6e44 Binary files /dev/null and b/public/profile/background/0a4c3f76-a978-499c-a375-bd4109ca553a.png differ diff --git a/public/profile/background/2a245e17-88db-42a8-bcba-3500753689ac.png b/public/profile/background/2a245e17-88db-42a8-bcba-3500753689ac.png new file mode 100644 index 00000000..85db6e44 Binary files /dev/null and b/public/profile/background/2a245e17-88db-42a8-bcba-3500753689ac.png differ diff --git a/public/profile/background/52c0ba1d-b2c0-464a-954f-c1c85703a901.png b/public/profile/background/52c0ba1d-b2c0-464a-954f-c1c85703a901.png new file mode 100644 index 00000000..85db6e44 Binary files /dev/null and b/public/profile/background/52c0ba1d-b2c0-464a-954f-c1c85703a901.png differ diff --git a/public/profile/background/79b0c6a1-6651-4d8d-82ed-142764a48d4c.png b/public/profile/background/79b0c6a1-6651-4d8d-82ed-142764a48d4c.png new file mode 100644 index 00000000..85db6e44 Binary files /dev/null and b/public/profile/background/79b0c6a1-6651-4d8d-82ed-142764a48d4c.png differ diff --git a/public/profile/background/8fc2d18b-fed0-47de-bcb6-ab51f1734170.jpeg b/public/profile/background/8fc2d18b-fed0-47de-bcb6-ab51f1734170.jpeg new file mode 100644 index 00000000..b43c0679 Binary files /dev/null and b/public/profile/background/8fc2d18b-fed0-47de-bcb6-ab51f1734170.jpeg differ diff --git a/public/profile/background/e08f94bf-4e66-46cb-b04a-65c32cc7d2ae.png b/public/profile/background/e08f94bf-4e66-46cb-b04a-65c32cc7d2ae.png new file mode 100644 index 00000000..85db6e44 Binary files /dev/null and b/public/profile/background/e08f94bf-4e66-46cb-b04a-65c32cc7d2ae.png differ diff --git a/public/profile/background/f0551419-0ffe-4c6c-ae52-34d27fd6bfe5.png b/public/profile/background/f0551419-0ffe-4c6c-ae52-34d27fd6bfe5.png new file mode 100644 index 00000000..85db6e44 Binary files /dev/null and b/public/profile/background/f0551419-0ffe-4c6c-ae52-34d27fd6bfe5.png differ diff --git a/public/profile/foto/373b64b3-d0b6-490c-99d3-56f4b6fae82b.jpeg b/public/profile/foto/373b64b3-d0b6-490c-99d3-56f4b6fae82b.jpeg new file mode 100644 index 00000000..7e2b3183 Binary files /dev/null and b/public/profile/foto/373b64b3-d0b6-490c-99d3-56f4b6fae82b.jpeg differ diff --git a/public/profile/foto/397987cc-df70-488b-a07f-556de1e5efd8.jpeg b/public/profile/foto/397987cc-df70-488b-a07f-556de1e5efd8.jpeg new file mode 100644 index 00000000..7e2b3183 Binary files /dev/null and b/public/profile/foto/397987cc-df70-488b-a07f-556de1e5efd8.jpeg differ diff --git a/public/profile/foto/9bbd3142-76da-4d30-a477-3081f0500c5f.jpeg b/public/profile/foto/9bbd3142-76da-4d30-a477-3081f0500c5f.jpeg new file mode 100644 index 00000000..7e2b3183 Binary files /dev/null and b/public/profile/foto/9bbd3142-76da-4d30-a477-3081f0500c5f.jpeg differ diff --git a/public/profile/foto/c1611fef-a197-43e0-8d28-f7afb838b0f4.jpeg b/public/profile/foto/c1611fef-a197-43e0-8d28-f7afb838b0f4.jpeg new file mode 100644 index 00000000..7e2b3183 Binary files /dev/null and b/public/profile/foto/c1611fef-a197-43e0-8d28-f7afb838b0f4.jpeg differ diff --git a/public/profile/foto/c2b130c6-88bd-49f8-8550-0f87c2f448d1.jpeg b/public/profile/foto/c2b130c6-88bd-49f8-8550-0f87c2f448d1.jpeg new file mode 100644 index 00000000..7e2b3183 Binary files /dev/null and b/public/profile/foto/c2b130c6-88bd-49f8-8550-0f87c2f448d1.jpeg differ diff --git a/public/profile/foto/c97dc0af-d03a-462f-bf34-ad57d5e0e7b5.jpeg b/public/profile/foto/c97dc0af-d03a-462f-bf34-ad57d5e0e7b5.jpeg new file mode 100644 index 00000000..7e2b3183 Binary files /dev/null and b/public/profile/foto/c97dc0af-d03a-462f-bf34-ad57d5e0e7b5.jpeg differ diff --git a/public/profile/foto/de98e5b2-2eec-4642-8a87-135e20b1e0ab.jpeg b/public/profile/foto/de98e5b2-2eec-4642-8a87-135e20b1e0ab.jpeg new file mode 100644 index 00000000..3b15a8f8 Binary files /dev/null and b/public/profile/foto/de98e5b2-2eec-4642-8a87-135e20b1e0ab.jpeg differ diff --git a/src/app_modules/auth/register/view.tsx b/src/app_modules/auth/register/view.tsx index af8f4bd2..676d0a64 100644 --- a/src/app_modules/auth/register/view.tsx +++ b/src/app_modules/auth/register/view.tsx @@ -47,7 +47,10 @@ export default function Register({ dataOtp }: { dataOtp: any }) { if (body.username.length < 5) return null; if (_.values(body.username).includes(" ")) return null; - const res = await Auth_funRegister({data: body, HIPMI_PWD: GlobalEnv.value?.WIBU_PWD as string}); + const res = await Auth_funRegister({ + data: body, + HIPMI_PWD: GlobalEnv.value?.WIBU_PWD as string, + }); if (res.status === 200) { await auth_funDeleteAktivasiKodeOtpById(dataOtp.id).then((val) => { if (val.status === 200) { @@ -70,7 +73,6 @@ export default function Register({ dataOtp }: { dataOtp: any }) { REGISTRASI - {GlobalEnv.value?.DATABASE_URL} diff --git a/src/app_modules/katalog/profile/_component/button/comp_create_new_profile.tsx b/src/app_modules/katalog/profile/_component/button/comp_create_new_profile.tsx index 8dc4def5..808c59d7 100644 --- a/src/app_modules/katalog/profile/_component/button/comp_create_new_profile.tsx +++ b/src/app_modules/katalog/profile/_component/button/comp_create_new_profile.tsx @@ -1,8 +1,12 @@ -"use client" +"use client"; import { RouterHome } from "@/app/lib/router_hipmi/router_home"; import { MainColor, AccentColor } from "@/app_modules/_global/color"; -import { ComponentGlobal_NotifikasiPeringatan, ComponentGlobal_NotifikasiBerhasil, ComponentGlobal_NotifikasiGagal } from "@/app_modules/_global/notif_global"; +import { + ComponentGlobal_NotifikasiPeringatan, + ComponentGlobal_NotifikasiBerhasil, + ComponentGlobal_NotifikasiGagal, +} from "@/app_modules/_global/notif_global"; import { validRegex } from "@/app_modules/katalog/component/regular_expressions"; import { Button } from "@mantine/core"; import _ from "lodash"; @@ -55,7 +59,7 @@ export function Profile_ComponentCreateNewProfile({ if (res.status === 201) { setLoading(true); ComponentGlobal_NotifikasiBerhasil("Berhasil Membuat Profile", 3000); - router.push(RouterHome.main_home); + router.push(RouterHome.main_home, { scroll: false }); } else { ComponentGlobal_NotifikasiGagal(res.message); } @@ -83,4 +87,4 @@ export function Profile_ComponentCreateNewProfile({ ); -} \ No newline at end of file +} diff --git a/src/app_modules/katalog/profile/create/view.tsx b/src/app_modules/katalog/profile/create/view.tsx index 3d9a3589..f14a7606 100644 --- a/src/app_modules/katalog/profile/create/view.tsx +++ b/src/app_modules/katalog/profile/create/view.tsx @@ -1,9 +1,7 @@ "use client"; -import { - AccentColor, - MainColor, -} from "@/app_modules/_global/color/color_pallet"; +import { MainColor } from "@/app_modules/_global/color/color_pallet"; +import { ComponentGlobal_BoxUploadImage } from "@/app_modules/_global/component"; import ComponentGlobal_BoxInformation from "@/app_modules/_global/component/box_information"; import ComponentGlobal_ErrorInput from "@/app_modules/_global/component/error_input"; import { ComponentGlobal_NotifikasiPeringatan } from "@/app_modules/_global/notif_global/notifikasi_peringatan"; @@ -25,7 +23,6 @@ import { IconAt, IconCamera, IconUpload } from "@tabler/icons-react"; import { useState } from "react"; import { validRegex } from "../../component/regular_expressions"; import { Profile_ComponentCreateNewProfile } from "../_component"; -import { ComponentGlobal_BoxUploadImage } from "@/app_modules/_global/component"; export default function CreateProfile({ userLoginId, @@ -38,7 +35,7 @@ export default function CreateProfile({ const [imgBG, setImgBG] = useState(); const [value, setValue] = useState({ - namaBank: "", + name: "", email: "", alamat: "", jenisKelamin: "", @@ -54,7 +51,6 @@ export default function CreateProfile({ {imgPP ? ( {imgBG ? ( - Foto + + Foto + ) : ( @@ -190,7 +193,7 @@ export default function CreateProfile({ onChange={(val) => { setValue({ ...value, - namaBank: val.target.value, + name: val.target.value, }); }} />