Skip to content

Commit

Permalink
fix: Replace PDF names with Gitbook links (#1592)
Browse files Browse the repository at this point in the history
* fix: Replace PDF names with Gitbook links

* Add correct Gitbook links

* Add correct Gitbook links and remove teacher links

* Renamed parameter
  • Loading branch information
faucomte97 committed Dec 8, 2021
1 parent 443057f commit f85bcdf
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions aimmo/worksheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ class Worksheet:
sort_order: int
thumbnail_image_path: str
thumbnail_text: str
student_pdf_name: str
teacher_pdf_name: str
student_challenge_url: str

def __post_init__(self):
# Remove spaces around starter_code and add a new line
Expand Down Expand Up @@ -62,8 +61,7 @@ def next_turn(world_state, avatar_state):
sort_order=100,
thumbnail_image_path="images/worksheets/lock.png",
thumbnail_text="",
student_pdf_name="Kurono_challenge_1",
teacher_pdf_name="Kurono_teacher_guide_1",
student_challenge_url="https://code-for-life.gitbook.io/learning-resources/student-challenges/student-challenge-1",
),
2: Worksheet(
id=2,
Expand Down Expand Up @@ -115,8 +113,7 @@ def next_turn(world_state, avatar_state):
sort_order=200,
thumbnail_image_path="images/worksheets/lock.png",
thumbnail_text="",
student_pdf_name="Kurono_challenge_2",
teacher_pdf_name="Kurono_teacher_guide_2",
student_challenge_url="https://code-for-life.gitbook.io/learning-resources/student-challenges/student-challenge-2",
),
3: Worksheet(
id=3,
Expand Down Expand Up @@ -174,8 +171,7 @@ def next_turn(world_state, avatar_state):
sort_order=300,
thumbnail_image_path="images/worksheets/lock.png",
thumbnail_text="",
student_pdf_name="Kurono_challenge_3",
teacher_pdf_name="Kurono_teacher_guide_3",
student_challenge_url="https://code-for-life.gitbook.io/learning-resources/student-challenges/student-challenge-3",
),
4: Worksheet(
id=4,
Expand All @@ -195,8 +191,7 @@ def next_turn(world_state, avatar_state):
sort_order=400,
thumbnail_image_path="",
thumbnail_text="Coming Soon",
student_pdf_name="",
teacher_pdf_name="",
student_challenge_url="",
),
5: Worksheet(
id=5,
Expand All @@ -216,8 +211,7 @@ def next_turn(world_state, avatar_state):
sort_order=500,
thumbnail_image_path="",
thumbnail_text="Coming Soon",
student_pdf_name="",
teacher_pdf_name="",
student_challenge_url="",
),
6: Worksheet(
id=6,
Expand All @@ -237,8 +231,7 @@ def next_turn(world_state, avatar_state):
sort_order=600,
thumbnail_image_path="",
thumbnail_text="Coming Soon",
student_pdf_name="",
teacher_pdf_name="",
student_challenge_url="",
),
}

Expand Down

0 comments on commit f85bcdf

Please sign in to comment.