--- import Icon from './AstroIcon.astro'; export interface Props { secondaryValue?: string; value: string; text: string; } const { value, text, secondaryValue } = Astro.props; const isGitHubStars = text.toLowerCase() === 'github stars'; const isRegistered = text.toLowerCase() === 'registered users'; const isDiscordMembers = text.toLowerCase() === 'discord members'; ---
Rank {secondaryValue} out of 28M!
) } { isRegistered && ({secondaryValue} every month
) } { isDiscordMembers && ({secondaryValue} every month
) }{value}
{text}