diff --git a/frontend/src/components/pc/admin/bot/BotCard.jsx b/frontend/src/components/pc/admin/bot/BotCard.jsx index 85737b6..389048b 100644 --- a/frontend/src/components/pc/admin/bot/BotCard.jsx +++ b/frontend/src/components/pc/admin/bot/BotCard.jsx @@ -95,68 +95,49 @@ const BotCard = memo(function BotCard({ }) { return ( - {/* 상단 헤더 */} -
-
-
- {bot.type === 'x' ? ( - - ) : bot.type === 'meilisearch' ? ( - - ) : ( - - )} -
-
-

{bot.name}

-

- {bot.last_check_at - ? `${formatTime(bot.last_check_at)}에 업데이트됨` - : '아직 업데이트 없음'} + {/* 상단: 이름 + 상태 */} +

+
+
+

{bot.name}

+

+ {bot.last_check_at ? formatTime(bot.last_check_at) : '대기 중'}

-
- - {statusInfo.text} - -
- - {/* 통계 정보 */} -
-
-
{bot.schedules_added || 0}
-
총 추가
-
-
-
0 ? 'text-green-500' : 'text-gray-400'}`} + className={`flex-shrink-0 flex items-center gap-1.5 px-2 py-0.5 text-xs font-medium rounded-full ${statusInfo.bg} ${statusInfo.color}`} > - +{bot.last_added_count || 0} -
-
마지막
+ + {statusInfo.text} +
-
-
{formatInterval(bot.check_interval)}
-
업데이트 간격
+ + {/* 통계 */} +
+
+ 추가 + {bot.schedules_added || 0} +
+
+
+ 최근 + 0 ? 'text-green-600' : 'text-gray-400'}`}> + +{bot.last_added_count || 0} + +
+
+
+ 간격 + {formatInterval(bot.check_interval)} +
@@ -168,46 +149,44 @@ const BotCard = memo(function BotCard({ )} {/* 액션 버튼 */} -
-
- - -
+
+ +
);