Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat(calendar): frame published posts in green with a checkmark

Gilad Resisib08bad8433c5
diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsx
index 3c57031b5..e3f86ba73 100644
--- a/apps/frontend/src/components/launches/calendar.tsx
+++ b/apps/frontend/src/components/launches/calendar.tsx
@@ -1079,7 +1079,8 @@ const CalendarItem: FC<{
className={clsx(
'w-full flex h-full flex-1 flex-col group',
'relative',
- state === 'ERROR' && 'rounded-[10px] ring-2 ring-red-500'
+ state === 'ERROR' && 'rounded-[10px] ring-2 ring-red-500',
+ state === 'PUBLISHED' && 'rounded-[10px] ring-2 ring-green-500'
)}
style={{
opacity,
@@ -1095,6 +1096,11 @@ const CalendarItem: FC<{
!
</div>
)}
+ {state === 'PUBLISHED' && (
+ <div className="absolute -top-[6px] -left-[6px] z-20 w-[18px] h-[18px] rounded-full bg-green-500 flex items-center justify-center text-white text-[11px] font-bold">
+ βœ“
+ </div>
+ )}
{showCreationMethodBadge && (
<div className="absolute -bottom-[4px] -right-[4px] z-10">
<CreationMethodBadge