diff --git a/frontend/src/app/tasks/components/TaskBox.tsx b/frontend/src/app/tasks/components/TaskBox.tsx index 8ff9fb2ef..def03675e 100644 --- a/frontend/src/app/tasks/components/TaskBox.tsx +++ b/frontend/src/app/tasks/components/TaskBox.tsx @@ -42,11 +42,21 @@ const timeDifference = ({ startTime, endTime }: { startTime: string; endTime: st export const SimpleTaskBox = ({ task }: SimpleTaskBoxProps) => { return ( - - + + {task.projectName} - {task.customerName} - {task.taskType} + + {task.taskType} + {task.startTime}-{task.endTime} ({timeDifference(task)}) diff --git a/frontend/src/app/tasks/week/page.tsx b/frontend/src/app/tasks/week/page.tsx index fe1377aa0..5a683bc8f 100644 --- a/frontend/src/app/tasks/week/page.tsx +++ b/frontend/src/app/tasks/week/page.tsx @@ -42,7 +42,7 @@ export default async function WeekView() { ) return ( - + {dateRange.map((date) => { const formattedDate = format(date, 'eeee, do') const dateTasks = groupedTasks[format(date, 'yyyy-MM-dd')] @@ -51,21 +51,34 @@ export default async function WeekView() { - + {formattedDate} {dateTasks?.time ? convertMinutesToTime(dateTasks.time) : '0h 0m'} @@ -74,7 +87,16 @@ export default async function WeekView() { {dateTasks?.tasks.map((task) => { return ( - + ) diff --git a/frontend/src/ui/Sidebar/Sidebar.tsx b/frontend/src/ui/Sidebar/Sidebar.tsx index 8e3f2337d..8c310d978 100644 --- a/frontend/src/ui/Sidebar/Sidebar.tsx +++ b/frontend/src/ui/Sidebar/Sidebar.tsx @@ -25,7 +25,7 @@ export const Sidebar = ({ expanded, toggleSidebar }: SidebarProps) => { width: { xs: '100vw', sm: expanded ? 336 : 73 }, transition: { xs: 'height 0.6s', sm: 'width 0.6s' }, position: 'fixed', - zIndex: 1, + zIndex: 999, top: 0, left: 0, bgcolor: '#001C37',