Skip to content

Instantly share code, notes, and snippets.

@Mickael-tinytap
Last active April 3, 2025 08:34
Show Gist options
  • Save Mickael-tinytap/e45c3217722053fa6f160d012b3e1db5 to your computer and use it in GitHub Desktop.
Save Mickael-tinytap/e45c3217722053fa6f160d012b3e1db5 to your computer and use it in GitHub Desktop.
Custom onboarding
{
"nickname":{
"title":"Let's start with setting a goal for your child"
},
"subjects":{
"options":[
{
"title":"Math",
"value":"Math"
},
{
"title":"Science",
"value":"Science"
},
{
"title":"History",
"value":"History"
},
{
"title":"Art",
"value":"Art"
}
],
"title":"What does {NICKNAME} love to do at home?"
},
"ageGroup":{
"options":[
{
"title":"2-3",
"subtitle":"Nursey",
"value":2
},
{
"title":"3-4",
"subtitle":"Preschool",
"value":3
},
{
"title":"4-5",
"subtitle":"Pre-K",
"value":4
},
{
"title":"5-6",
"subtitle":"Kindergarten",
"value":5
},
{
"title":"6-7",
"subtitle":"1st Grade",
"value":6
},
{
"title":"7-8",
"subtitle":"Preschool",
"value":7
}
],
"title":"Personalize {NICKNAME}'s learning experience"
},
"content":{
"Math":{
"default":{
"steps":[
{
"type":"multiAnswerQuestion",
"title":"What is 1 + 1?",
"options":[
{
"title":"1",
"value":"1"
},
{
"title":"2",
"value":"2"
},
{
"title":"3",
"value":"3"
}
]
},
{
"type":"review",
"title":"Math is fun! Try our toddler games!",
"subtitle":"Subtitle"
},
{
"type":"gridSelectionView",
"title":"Which number is bigger?",
"subtitle":"Subtitle",
"options":[
{
"title":"1",
"value":"1"
},
{
"title":"2",
"value":"2"
},
{
"title":"3",
"value":"3"
}
]
},
{
"type":"review",
"title":"More counting fun awaits!"
}
]
}
},
"Science":{
"default":{
"steps":[
{
"type":"multiAnswerQuestion",
"title":"What is 1 + 1?",
"subtitle":"Subtitle",
"options":[
{
"title":"1",
"value":"1"
},
{
"title":"2",
"value":"2"
},
{
"title":"3",
"value":"3"
}
]
},
{
"type":"review",
"title":"Math is fun! Try our toddler games!"
},
{
"type":"gridSelectionView",
"title":"Which number is bigger?",
"options":[
{
"title":"1",
"value":"1"
},
{
"title":"2",
"value":"2"
},
{
"title":"3",
"value":"3"
}
]
},
{
"type":"review",
"title":"More counting fun awaits!",
"subtitle":"Subtitl"
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment