-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
2,221 additions
and
466 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import React from 'react'; | ||
|
||
interface ArrowIconProps { | ||
isExpanded: boolean; | ||
} | ||
|
||
const ArrowIcon: React.FC<ArrowIconProps> = ({ isExpanded }) => { | ||
return ( | ||
<svg | ||
className={`w-5 h-5 text-gray-500 transform transition-transform ${ | ||
isExpanded ? 'rotate-180' : '' | ||
}`} | ||
fill="none" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth="2" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
> | ||
<path d="M19 9l-7 7-7-7" /> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default ArrowIcon; |
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,27 @@ | ||
import React from 'react'; | ||
|
||
interface HistoryClockIconProps { | ||
className?: string; | ||
} | ||
|
||
const HistoryClockIcon: React.FC<HistoryClockIconProps> = ({ | ||
className = 'w-6 h-6', | ||
}) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
className={className} | ||
> | ||
<circle cx="12" cy="12" r="10" /> | ||
<polyline points="12 6 12 12 16 14" /> | ||
<path d="M12 22V18" /> | ||
<path d="M10 22H14" /> | ||
</svg> | ||
); | ||
|
||
export default HistoryClockIcon; |
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,27 @@ | ||
import React from 'react'; | ||
|
||
interface NewSubmissionsIconProps { | ||
className?: string; | ||
} | ||
|
||
const NewSubmissionsIcon: React.FC<NewSubmissionsIconProps> = ({ | ||
className = 'w-6 h-6', | ||
}) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="black" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
className={className} | ||
> | ||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /> | ||
<polyline points="14 2 14 8 20 8" /> | ||
<line x1="12" y1="18" x2="12" y2="12" /> | ||
<line x1="9" y1="15" x2="15" y2="15" /> | ||
</svg> | ||
); | ||
|
||
export default NewSubmissionsIcon; |
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,20 @@ | ||
import React from 'react'; | ||
|
||
const NoCheckInsIcon: React.FC = () => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className="h-12 w-12 mx-auto text-gray-400 mb-3" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={2} | ||
d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" | ||
/> | ||
</svg> | ||
); | ||
|
||
export default NoCheckInsIcon; |
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,47 @@ | ||
import React from 'react'; | ||
import { NotificationProps } from '../../../types'; | ||
|
||
const NotificationBell: React.FC<NotificationProps> = ({ | ||
iconColor = 'currentColor', | ||
badgeColor = '#EF4444', | ||
textColor = 'white', | ||
count = 0, | ||
}) => { | ||
const displayCount = count > 99 ? '99+' : count.toString(); | ||
|
||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
className="w-6 h-6" | ||
> | ||
<path | ||
fill="none" | ||
stroke={iconColor} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth="1.5" | ||
d="M12 6.5V3m0 3.5a5 5 0 015 5v3.5c0 1 .5 2 1.5 2.5H5.5c1-.5 1.5-1.5 1.5-2.5V11.5a5 5 0 015-5zm-3.5 14h7" | ||
/> | ||
{count > 0 && ( | ||
<> | ||
<circle cx="18" cy="6" r="5.5" fill={badgeColor} /> | ||
<text | ||
x="18" | ||
y="6" | ||
fontFamily="Arial, sans-serif" | ||
fontSize="7" | ||
fontWeight="bold" | ||
fill={textColor} | ||
textAnchor="middle" | ||
dominantBaseline="central" | ||
> | ||
{displayCount} | ||
</text> | ||
</> | ||
)} | ||
</svg> | ||
); | ||
}; | ||
|
||
export default NotificationBell; |
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,24 @@ | ||
import React from 'react'; | ||
|
||
const OpenIcon: React.FC = () => { | ||
return ( | ||
<div> | ||
<svg | ||
className="h-5 w-5" | ||
viewBox="0 0 24 24" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
> | ||
<path | ||
className="stroke-gray-500" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth="2" | ||
d="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4m-8-2 8-8m0 0v5m0-5h-5" | ||
/> | ||
</svg> | ||
</div> | ||
); | ||
}; | ||
|
||
export default OpenIcon; |
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.