From 2b47ec0f558c5692d2867ff136d9966052afb3bf Mon Sep 17 00:00:00 2001 From: AKILIMAILI CIZUNGU Innocent <51681130+Innocent-Akim@users.noreply.github.com> Date: Sun, 11 Aug 2024 12:51:02 +0200 Subject: [PATCH] [Feat]: Implement Create Manual Time Modal Component (#2875) * feat: modal-manual-time * fix: timer picker component * fix: task is defined but never used. * fix: task is defined but never used. * feat: timer picker component * fix: Remove invalid HeadCalendar export field * feat: Customize AddManualTimeModal component * fix: customize AddManualTimeModal component * fix: property * fix: change project to task --- apps/web/app/[locale]/calendar/component.tsx | 31 ++ apps/web/app/[locale]/calendar/page.tsx | 73 +++-- .../lib/components/custom-select/index.tsx | 8 +- apps/web/lib/components/time-picker/index.tsx | 6 +- .../manual-time/add-manual-time-modal.tsx | 273 +++++++++++------- apps/web/lib/features/task/task-filters.tsx | 6 +- 6 files changed, 247 insertions(+), 150 deletions(-) create mode 100644 apps/web/app/[locale]/calendar/component.tsx diff --git a/apps/web/app/[locale]/calendar/component.tsx b/apps/web/app/[locale]/calendar/component.tsx new file mode 100644 index 000000000..0b8d6501c --- /dev/null +++ b/apps/web/app/[locale]/calendar/component.tsx @@ -0,0 +1,31 @@ +import { clsxm } from "@app/utils"; +import { QueueListIcon } from "@heroicons/react/20/solid"; +import { Button } from "lib/components"; +import { LuCalendarDays } from "react-icons/lu"; + +export function HeadCalendar({ openModal }: { openModal?: () => void }) { + return ( +