From 563736548b5840c1f1630d0d69430937c08691de Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 2 Jan 2025 14:57:24 +0800 Subject: [PATCH] Terakhir Di Investasi Perbaikan Tampilannya --- src/app_modules/_global/color/color_pallet.ts | 12 +++-- .../component/comp_avatar_and_username.tsx | 2 +- .../donasi/detail/detail_draft/index.tsx | 5 +- .../donasi/detail/detail_review/index.tsx | 3 +- .../component/button/button_create_event.tsx | 2 +- src/app_modules/event/create/create.tsx | 3 ++ src/app_modules/event/detail/draft/index.tsx | 12 +++-- .../event/detail/main_detail/index.tsx | 6 ++- src/app_modules/event/detail/reject/index.tsx | 15 ++++-- src/app_modules/event/detail/review/index.tsx | 8 +-- src/app_modules/event/edit/index.tsx | 53 ++++++++++++++++--- .../event/main/status_page/index.tsx | 4 +- .../investasi/_ui/main/ui_portofolio_new.tsx | 4 +- .../detail/portofolio/view_detail_draft.tsx | 21 ++++---- .../detail/portofolio/view_detail_review.tsx | 16 +++--- src/app_modules/investasi/create/view_new.tsx | 15 ++++-- src/app_modules/investasi/portofolio/view.tsx | 13 ++--- src/app_modules/vote/create/index.tsx | 34 ++++++++++-- src/app_modules/vote/detail/draft/index.tsx | 14 ++--- src/app_modules/vote/detail/reject/index.tsx | 13 +++-- src/app_modules/vote/detail/review/index.tsx | 9 ++-- src/app_modules/vote/edit/index.tsx | 36 ++++++++++--- src/app_modules/vote/main/status/index.tsx | 5 +- 23 files changed, 221 insertions(+), 84 deletions(-) diff --git a/src/app_modules/_global/color/color_pallet.ts b/src/app_modules/_global/color/color_pallet.ts index bb9d7e65..5d6ef09a 100644 --- a/src/app_modules/_global/color/color_pallet.ts +++ b/src/app_modules/_global/color/color_pallet.ts @@ -3,9 +3,9 @@ export const MainColor = { darkblue: "#001D3D", yellow: "#E1B525", white: "#D4D0D0", - red: "#C74E4E", - orange: "#E58958", - green: "#468A56" + red: "#FF4B4C", + orange: "#FF7043", + green: "#4CAF4F" }; export const AccentColor = { @@ -14,7 +14,11 @@ export const AccentColor = { blue: "#00447D", softblue: "#007CBA", skyblue: "#00BFFF", - yellow: "#E1B525", + yellow: "#F8A824", + white: "#FEFFFE" + }; //yellow: "#FFC300" //yellow: "#FFD60A" +// white: "#FEFFFE" + diff --git a/src/app_modules/_global/component/comp_avatar_and_username.tsx b/src/app_modules/_global/component/comp_avatar_and_username.tsx index 22ffc8b8..5d6e1eb0 100644 --- a/src/app_modules/_global/component/comp_avatar_and_username.tsx +++ b/src/app_modules/_global/component/comp_avatar_and_username.tsx @@ -47,7 +47,7 @@ export function ComponentGlobal_AvatarAndUsername({ onClick={() => onCheckProfile()} > {visible ? ( - + ) : ( diff --git a/src/app_modules/donasi/detail/detail_draft/index.tsx b/src/app_modules/donasi/detail/detail_draft/index.tsx index 79cf13b0..88ce529c 100644 --- a/src/app_modules/donasi/detail/detail_draft/index.tsx +++ b/src/app_modules/donasi/detail/detail_draft/index.tsx @@ -104,12 +104,15 @@ function ButtonAjukanPenggalangan({ opened={openModal} close={() => setOpenModal(false)} buttonKiri={ - } buttonKanan={ } buttonKanan={ diff --git a/src/app_modules/event/create/create.tsx b/src/app_modules/event/create/create.tsx index 33d8df4f..5dbc6cc9 100644 --- a/src/app_modules/event/create/create.tsx +++ b/src/app_modules/event/create/create.tsx @@ -78,6 +78,9 @@ export default function Event_Create({ }, input: { backgroundColor: MainColor.white, + }, + dropdown: { + backgroundColor: MainColor.white, } }} withAsterisk diff --git a/src/app_modules/event/detail/draft/index.tsx b/src/app_modules/event/detail/draft/index.tsx index 88a97a31..a1249c92 100644 --- a/src/app_modules/event/detail/draft/index.tsx +++ b/src/app_modules/event/detail/draft/index.tsx @@ -18,6 +18,7 @@ import ComponentEvent_DetailData from "../../component/detail/detail_data"; import { Event_funDeleteById } from "../../fun/delete/fun_delete"; import { Event_funEditStatusById } from "../../fun/edit/fun_edit_status_by_id"; import { MODEL_EVENT } from "../../model/interface"; +import { AccentColor, MainColor } from "@/app_modules/_global/color"; export default function Event_DetailDraft({ dataEvent, @@ -125,7 +126,8 @@ function ButtonAction({ } buttonKanan={ diff --git a/src/app_modules/event/detail/main_detail/index.tsx b/src/app_modules/event/detail/main_detail/index.tsx index bbfefbda..95750c46 100644 --- a/src/app_modules/event/detail/main_detail/index.tsx +++ b/src/app_modules/event/detail/main_detail/index.tsx @@ -15,6 +15,7 @@ import ComponentEvent_ListPeserta from "../../component/detail/list_peserta"; import { Event_countTotalPesertaById } from "../../fun/count/count_total_peserta_by_id"; import { Event_funJoinEvent } from "../../fun/create/fun_join_event"; import { Event_getListPesertaById } from "../../fun/get/get_list_peserta_by_id"; +import { AccentColor, MainColor } from "@/app_modules/_global/color"; export default function Event_DetailMain({ userLoginId, @@ -56,11 +57,12 @@ export default function Event_DetailMain({ Anda Telah Ikut Serta ) : ( - } buttonKanan={ } buttonKanan={ @@ -48,16 +49,17 @@ function ButtonAction({ eventId }: { eventId: string }) { opened={openModal} close={() => setOpenModal(false)} buttonKiri={ - } buttonKanan={