From b390b63aaf7f54c3852cf2c440e1d9b562070018 Mon Sep 17 00:00:00 2001 From: euxzy Date: Mon, 18 Aug 2025 23:21:10 +0700 Subject: [PATCH] feat(backoffice): slicing backoffice dimentorin - modal detail session --- .../_components/modal/detail/index.tsx | 114 ++++++++++++++++++ .../(protected)/session-dimentorin/page.tsx | 34 +++--- 2 files changed, 134 insertions(+), 14 deletions(-) create mode 100644 apps/backoffice/src/app/(protected)/session-dimentorin/_components/modal/detail/index.tsx diff --git a/apps/backoffice/src/app/(protected)/session-dimentorin/_components/modal/detail/index.tsx b/apps/backoffice/src/app/(protected)/session-dimentorin/_components/modal/detail/index.tsx new file mode 100644 index 0000000..38f0818 --- /dev/null +++ b/apps/backoffice/src/app/(protected)/session-dimentorin/_components/modal/detail/index.tsx @@ -0,0 +1,114 @@ +import { Icon } from "@iconify/react"; +import { Input, Select, Textarea } from "@imphnen-frontend-service/ui/atoms"; +import { Modal } from "@imphnen-frontend-service/ui/molecules"; +import { cn, For } from "@imphnen-frontend-service/utils"; +import { FC } from "react"; + +const TOPICS = [ + { id: 2, icon: '🏢', name: 'Industry Insight' }, + { id: 4, icon: '🖥️', name: 'Basic IT' }, +] + +const placeholder = `Hi [Nama Mentor], Saya [Nama Kamu] & saya berharap dapat memiliki sesi mentoring dengan Anda. + +Saat ini, saya tertarik untuk mengejar __. Tujuan saya untuk sesi ini adalah __. + +Saya ingin tahu secara khusus tentang ___. +1.Pertanyaan Anda +2. ... +3. ...` + +const labelClass = cn('text-neutral-800 text-[10px] font-semibold mb-1.5 inline-block md:text-xs md:mb-2 xl:text-[15px]') + +type ModalProps = { + open: boolean + setOpen: (open: boolean) => void +} + +export const ModalDetailSession: FC = ({ open, setOpen }) => { + return ( + setOpen(false)} + className="xl:max-w-[64rem] bg-white px-10 py-9" + closeButtonClassName="hidden" + > +
+

+ Detail Sesi +

+ +
+
+
+

Mentor

+
+

Muhammad Firdaus Oi Oi Oi, S.H., M.H.

+

UI Designer at Oray orayan Studios

+
+
+ +
+ +
+
+

Mentee

+
+

Muhammad Firdaus Oi Oi Oi, S.H., M.H.

+

UI Designer at Oray orayan Studios

+
+
+
+

Status

+
+ Finished +
+
+
+
+ +
+

Topics

+
+ + {(item, index) => ( +
+ {item.icon} + {item.name} +
+ )} +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ +