in src/LangCard.js [47:64]
function getMilestone(amount, otherAmount) {
if (amount === undefined) {
return { emoji: '❓', text: '???' }
}
if (amount < 0.1) {
return { emoji: '🌱', text: 'Just started' }
}
if (amount < 0.75) {
return { emoji: '🏗', text: 'In progress' }
}
if (amount < 1) {
return { emoji: '🎁', text: 'Wrapping up' }
}
if (amount === 1 && otherAmount < 1) {
return { emoji: '🎉', text: 'Released!' }
}
return { emoji: '⭐️', text: 'Complete!' }
}