-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
4a0ecf6
commit 2b47ec0
Showing
6 changed files
with
247 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<div className="flex justify-between items-center mt-10 bg-white dark:bg-dark-high py-2"> | ||
<h1 className="text-4xl font-semibold">CALENDAR</h1> | ||
<div className='flex items-center space-x-3'> | ||
<button | ||
className='hover:bg-gray-100 text-xl h-10 w-10 rounded-lg flex items-center justify-center' | ||
> | ||
<QueueListIcon className={clsxm('w-5 h-5')} /> | ||
</button> | ||
<button | ||
className='bg-gray-100 text-xl h-10 w-10 rounded-lg flex items-center justify-center' | ||
> | ||
<LuCalendarDays /> | ||
</button> | ||
<Button | ||
onClick={openModal} | ||
variant='primary' | ||
className='bg-primary dark:bg-primary-light' | ||
> | ||
Add Time | ||
</Button> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.