diff --git a/public/manuals/corporate.pdf b/public/manuals/corporate.pdf new file mode 100644 index 00000000..eb0183a6 Binary files /dev/null and b/public/manuals/corporate.pdf differ diff --git a/public/manuals/student.pdf b/public/manuals/student.pdf new file mode 100644 index 00000000..2335c3c5 Binary files /dev/null and b/public/manuals/student.pdf differ diff --git a/public/manuals/teacher.pdf b/public/manuals/teacher.pdf new file mode 100644 index 00000000..9e37f64c Binary files /dev/null and b/public/manuals/teacher.pdf differ diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 68e652d2..a1312f61 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -276,6 +276,8 @@ function UserProfile({user, mutateUser}: Props) { ); + const manualDownloadLink = ['student', 'teacher', 'corporate'].includes(user.type) ? `/manuals/${user.type}.pdf` : ''; + return (
@@ -535,6 +537,13 @@ function UserProfile({user, mutateUser}: Props) { /> )} + {manualDownloadLink && ( + + + + )}