Skip to content

Instantly share code, notes, and snippets.

@briancarycom
Last active May 5, 2022 19:35
Show Gist options
  • Save briancarycom/775efd61862091bacfaf7f6dca25b42d to your computer and use it in GitHub Desktop.
Save briancarycom/775efd61862091bacfaf7f6dca25b42d to your computer and use it in GitHub Desktop.
bandit courses - public
# INSTRUCTIONS
# 1. Work on each row at a time from this spreadsheet:
# https://docs.google.com/spreadsheets/d/1Hlp36XmLTR7MUW7Bgu8OAsALlvdmjbq1nxsnmTF6t_0/edit?usp=sharing
# 2. For each row, open up the corresponding file:
# i.e. for row 2: Power Stance, Day 1, open the file named: power_stance_day1_english.rb
# 3. For each step in the corresponding language file, use the template below for each STEP TYPE
# i.e. Video, Video, Step-by-step would have 3 steps:
# CourseVideoPlayerScreen, CourseVideoPlayerScreen, CourseStepScreen
# 4. Chain the steps together, making sure NEXT goes to the next step, i.e. step1 goes to step2, and so on.
# 5. Fill in the required data for each step (primaryActionText, image1x, video, etc.)
# VIDEO SCREEN
step1: @course_defaults.CourseVideoPlayerScreen(
{ BACK: false, EXIT: true, NEXT: 'step2'},
{
primaryActionText: "Continuar",
image1x: 'courses/powerBraceSpanishDay1/step1/@1x_basics-recap-movement-competency.jpg',
image2x: 'courses/powerBraceSpanishDay1/step1/@2x_basics-recap-movement-competency.jpg',
video: 'courses/powerBraceSpanishDay1/step1/02-Power-BRACE-TESTIMONIAL_720p.mp4',
videoVtt: 'courses/powerBraceSpanishDay1/step1/02-Power-BRACE-TESTIMONIAL.vtt'
}
),
# STEP SCREEN
step1: @course_defaults.CourseStepScreen(
{ BACK: false, EXIT: true, NEXT: 'step2'},
{
primaryText: '¡La posición de la secuencia GRAMC de poder es importante! ¿Recuerda por qué? Responda este breve cuestionario para verificar sus conocimientos. ¡Puede obtener un puntaje del 70 % o más!',
primaryActionText: 'Continuar',
}
),
# QUIZ SCREEN
step1: @course_defaults.CourseQuizScreen(
{ BACK: false, EXIT: true, NEXT: 'step2'},
{
primaryText: 'Reforzar su posición NO reducirá las posibilidades de lesiones o dolor persistente.',
image1x: 'courses/powerBraceSpanishDay1/step4/@1x_0005_WarmUp-SP-6171.jpg',
image2x: 'courses/powerBraceSpanishDay1/step4/@2x_0005_WarmUp-SP-6171.jpg',
choices: [
{
label: 'VERDADERO',
isCorrect: false,
},
{
label: 'FALSO',
isCorrect: true,
}
]
}
),
# QUIZ RESULTS SCREEN
step1: @course_defaults.CourseQuizResultsScreen(
{ BACK: false, EXIT: true, NEXT: 'step2'}
),
# FEEDBACK SCREEN
step10: @course_defaults.FeedbackScreen(
{ BACK: false, EXIT: true, NEXT: nil},
{
primaryText: 'Training Complete',
primaryActionText: "BIEN, HE TERMINADO",
primaryIcon: 'checkmark-circle-outline',
secondaryText: "Felicidades por haber llegado hasta aquí. La próxima vez profundizaremos sobre la secuencia GRAMC de poder.",
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment