diff --git a/src/components/appointment-modal/add-appointment-modal.tsx b/src/components/appointment-modal/add-appointment-modal.tsx index 3074b60..6e4c237 100644 --- a/src/components/appointment-modal/add-appointment-modal.tsx +++ b/src/components/appointment-modal/add-appointment-modal.tsx @@ -126,13 +126,19 @@ export const AddAppointmentModal = component$( > Starts at - +
+ + +
- +
+ + +
diff --git a/src/components/appointment-modal/edit-appointment-modal.tsx b/src/components/appointment-modal/edit-appointment-modal.tsx index d3eb7df..65c0c48 100644 --- a/src/components/appointment-modal/edit-appointment-modal.tsx +++ b/src/components/appointment-modal/edit-appointment-modal.tsx @@ -119,13 +119,19 @@ export const EditAppointmentModal = component$( > Starts at - +
+ + +
- +
+ + +
diff --git a/src/config/index.ts b/src/config/index.ts index a85049a..d1da5c8 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,5 +1,5 @@ export const IS_LOADING_FROM_BEGINNING = false -export const IS_ADD_APPOINTMENT_MODAL_OPENED = false +export const IS_ADD_APPOINTMENT_MODAL_OPENED = true export const IS_EDIT_APPOINTMENT_MODAL_OPENED = false /** diff --git a/src/icons/icon-manager.tsx b/src/icons/icon-manager.tsx index 5bbe6e4..3a8c09c 100644 --- a/src/icons/icon-manager.tsx +++ b/src/icons/icon-manager.tsx @@ -11,6 +11,8 @@ import { IconList, IconListFill, IconRemove, + IconTimeEnd, + IconTimeStart, IconUser, } from './icons' @@ -29,6 +31,8 @@ type IconType = | 'history' | 'history-fill' | 'dropdown' + | 'time-start' + | 'time-end' interface IconManagerProps { icon?: IconType @@ -62,6 +66,10 @@ export const IconManager = component$( return case 'dropdown': return + case 'time-start': + return + case 'time-end': + return default: return } diff --git a/src/icons/icons.tsx b/src/icons/icons.tsx index b185d8f..0e5be53 100644 --- a/src/icons/icons.tsx +++ b/src/icons/icons.tsx @@ -456,6 +456,7 @@ export const IconChevronDown = component$( ) } ) + export const IconRemove = component$( ({ classCustom }: { classCustom?: string }) => { return ( @@ -508,3 +509,57 @@ export const IconRemove = component$( ) } ) + +export const IconTimeStart = component$( + ({ classCustom }: { classCustom?: string }) => { + return ( + + + + + + + + + + ) + } +) + +export const IconTimeEnd = component$( + ({ classCustom }: { classCustom?: string }) => { + return ( + + + + + + + + + + ) + } +)