feat: add 4 certificate templates (#295)

* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

* translations fix

* - add documentation
- translation bug fix

* quick adjust

* PR Fixes

* add new line

* update docs

* checkpoint

* feat: redesign & addition of certificates

* text color update

* patterned width fix

* "student-name" class remove

* checkpoint

* PR Fix

* quick fix

* PR Fixes

* update certificate ready page for students

* PR Fixes

* quick cleanup

* move fetchCourses into .ts file

* feat: give students access to certificates only after completing course

* checkpoint

* height fix

* Merge branch 'main' of https://github.com/rotimi-best/classroomio into classroomio-issue-272

* Fix; merge PR Fix

* fix: width of plain & professional certs

* PR Fix

* feat: add translation

* handle error when trying to download a certificate

* add fetchExploreCourses

* fix: requested reviews

* review fixes checkpoint

* replace the certificate background

* height fix for patterned certififcates

* fix more bugs

* rename schema

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Adeyemi Adetunji
2024-07-21 03:02:33 +01:00
committed by GitHub
co-authored by Rotimi Best
parent f0907dde89
commit 72b58ed2c7
48 changed files with 2940 additions and 251 deletions
@@ -855,7 +855,7 @@
"theme": "Choose a theme",
"logo": "Brand Logo",
"to_update": "To update your brand image, go to",
"settings": "Settings &gt; Organisation settings",
"settings": "Settings > Organisation settings",
"and_upload": "and upload your brand logo",
"goto_settings": "Go to Settings",
"description": "Course Description",
@@ -864,11 +864,17 @@
"locked": "Locked",
"unlocked": "Unlocked",
"save": "Save Changes",
"unlocked_certificate": "Certificate is now available",
"unlocked_certificate": "Congrats! 🎉 your certificate is ready",
"unlocked_certificate_subtitle": "You have completed this course, and your dedication is evident. Download certificate and share with your network as a prove of your newly acquired skill",
"locked_certificate": "Certificates not available",
"instructor_unlock": "Your instructor needs to unlock your certificate.",
"contact_instructor": "If you need your certificate, please contact your instructor.",
"download_certificate": "DownLoad Certificate"
"download_certificate": "Download Certificate",
"complete_to_download_title": "Course not complete 😔",
"complete_to_download_subtitle": "Your certificate will be available once you complete all lesson and exercises in this course",
"description_error": "Description cannot exceed 200 characters",
"characters": "characters",
"unexpected_error": "An unexpected error occurred"
},
"landing_page": {