upd: view profile
Deskripsi: - nambah pilih gender pada edit profile - nambah info gender pada halaman profile No Issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
"use client"
|
"use client"
|
||||||
import { LayoutNavbarNew, WARNA } from "@/module/_global";
|
import { LayoutNavbarNew, WARNA } from "@/module/_global";
|
||||||
import { Box, Button, Flex, Modal, Stack, Text, TextInput } from "@mantine/core";
|
import { Box, Button, Flex, Modal, Select, Stack, Text, TextInput } from "@mantine/core";
|
||||||
import { HiUser } from "react-icons/hi2";
|
import { HiUser } from "react-icons/hi2";
|
||||||
import toast from "react-hot-toast";
|
import toast from "react-hot-toast";
|
||||||
import LayoutModal from "@/module/_global/layout/layout_modal";
|
import LayoutModal from "@/module/_global/layout/layout_modal";
|
||||||
@@ -72,6 +72,17 @@ export default function EditProfile() {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
<Select
|
||||||
|
placeholder="Pilih Gender" label="Gender" w={"100%"} size="md" required withAsterisk radius={30}
|
||||||
|
styles={{
|
||||||
|
input: {
|
||||||
|
color: WARNA.biruTua,
|
||||||
|
borderRadius: WARNA.biruTua,
|
||||||
|
borderColor: WARNA.biruTua,
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
data={['Laki-laki', 'Perempuan']}
|
||||||
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Box mt={30} mx={20} pb={20}>
|
<Box mt={30} mx={20} pb={20}>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { RiIdCardFill } from "react-icons/ri";
|
|||||||
import { FaSquarePhone } from "react-icons/fa6";
|
import { FaSquarePhone } from "react-icons/fa6";
|
||||||
import { MdEmail } from "react-icons/md";
|
import { MdEmail } from "react-icons/md";
|
||||||
import { InfoTitleProfile } from "../component/ui/ui_profile";
|
import { InfoTitleProfile } from "../component/ui/ui_profile";
|
||||||
|
import { IoMaleFemale } from "react-icons/io5";
|
||||||
|
|
||||||
export default function ViewProfile() {
|
export default function ViewProfile() {
|
||||||
return (
|
return (
|
||||||
@@ -50,6 +51,13 @@ export default function ViewProfile() {
|
|||||||
</Group>
|
</Group>
|
||||||
<Text fz={18} fw={'bold'} ta={"right"}>marcel@gmail.com</Text>
|
<Text fz={18} fw={'bold'} ta={"right"}>marcel@gmail.com</Text>
|
||||||
</Group>
|
</Group>
|
||||||
|
<Group justify="space-between" grow py={5}>
|
||||||
|
<Group>
|
||||||
|
<IoMaleFemale size={28} />
|
||||||
|
<Text fz={18}>Gender</Text>
|
||||||
|
</Group>
|
||||||
|
<Text fz={18} fw={'bold'} ta={"right"}>Laki-laki</Text>
|
||||||
|
</Group>
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user