let REPLIT_INTERESTS = [“dev tools”, “creative tools”, “programming education”]
function confirmApplication(name) {
// TODO: implement send to replit
}
function applyToReplit({ name, portfolio, interests }) {
if(portfolio && interests.some((interest) => REPLIT_INTERESTS.includes(interest))) {
confirmApplication(name)}
}
// usage
// applyToReplit({ name: 'you',
// portfolio: 'yourportfolio.com',
// interests: ['creative tools', 'engineering']
// })