website refactor
This commit is contained in:
@@ -149,8 +149,13 @@ export function LeagueCard({ league, onClick }: LeagueCardProps) {
|
||||
isTeamLeague={!!isTeamLeague}
|
||||
usedDriverSlots={league.usedDriverSlots}
|
||||
maxDrivers={league.maxDrivers}
|
||||
activeDriversCount={league.activeDriversCount}
|
||||
nextRaceAt={league.nextRaceAt}
|
||||
timingSummary={league.timingSummary}
|
||||
onClick={onClick}
|
||||
onQuickJoin={() => console.log('Quick Join', league.id)}
|
||||
onFollow={() => console.log('Follow', league.id)}
|
||||
isFeatured={league.usedDriverSlots > 20} // Example logic for featured
|
||||
badges={
|
||||
<>
|
||||
{isNew && (
|
||||
|
||||
Reference in New Issue
Block a user