diff --git a/src/components/Course/components/Ceritficate/Design.svelte b/src/components/Course/components/Ceritficate/Design.svelte
new file mode 100644
index 00000000..0b560428
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/Design.svelte
@@ -0,0 +1,113 @@
+
+
+
+
+
+ Certificate settings
+ Choose a theme
+
+ {#each themes as value}
+
+
+

+
+ {/each}
+
+
+
Brand Logo
+
+ We recommend using a PNG file with transparency. Maximum size: 1200 x
+ 600px.
+
+
+
+
+
+ Course Description
+
+
+
+
onToggle(e)}
+ class="my-2"
+ size="sm"
+ >
+ Automatic
+ Automatic
+
+
+
+
+
+ {#if Selectedtheme.label == 'theme1'}
+
+ {:else}
+
+ {/if}
+
+
+
+
+
+
+
+
saveCertificate()}
+ />
+
+
+
+
diff --git a/src/components/Course/components/Ceritficate/IssueCertModal.svelte b/src/components/Course/components/Ceritficate/IssueCertModal.svelte
new file mode 100644
index 00000000..3763af4b
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/IssueCertModal.svelte
@@ -0,0 +1,83 @@
+
+
+
+
+
+
onToggle(e)}
+ size="sm"
+ class="mb-4"
+ >
+ Automatic
+ Automatic
+
+
+ If you set this as automatic, certificates will be issued after the
+ learner completes the course.
+
+
+
+ or send a personalised/ custom certificate below:
+
+
+
+
diff --git a/src/components/Course/components/Ceritficate/Reports.svelte b/src/components/Course/components/Ceritficate/Reports.svelte
new file mode 100644
index 00000000..de05902c
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/Reports.svelte
@@ -0,0 +1,99 @@
+
+
+
+ {#each CertData as data (data.id)}
+
+
{data.title}
+
{data.value}
+
+ {/each}
+
+
+
+
+
+
+
+
+
+
+
+
+ Name of student
+
+
+
+
+
+
Date issued
+
personalized
+
+
+
+
+
+ {#each students as item (item.id)}
+
+
+
+
+
+
+
{item.issued}
+ {#if item.peronalized == true}
+
+ personalized
+
+ {:else}
+
personalized
+ {/if}
+
+
+
+ {/each}
+
+
+
+
+
+
diff --git a/src/components/Course/components/Ceritficate/Upload.svelte b/src/components/Course/components/Ceritficate/Upload.svelte
new file mode 100644
index 00000000..79a66be4
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/Upload.svelte
@@ -0,0 +1,43 @@
+
+
+
+
+
diff --git a/src/components/Course/components/Ceritficate/certificates/Introductorycert.svelte b/src/components/Course/components/Ceritficate/certificates/Introductorycert.svelte
new file mode 100644
index 00000000..2c83693c
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/certificates/Introductorycert.svelte
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ Certificate
of completion
+
+
+
This is to certify that
+
+
+
+
+ has successfully completed introductory courses in
+
+
+
+
{$certInfo.Desc}
+
+

+
+
+
+
+
+
diff --git a/src/components/Course/components/Ceritficate/certificates/Maincert.svelte b/src/components/Course/components/Ceritficate/certificates/Maincert.svelte
new file mode 100644
index 00000000..b983aa68
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/certificates/Maincert.svelte
@@ -0,0 +1,56 @@
+
+
+
+
+

+
+
+
+ Certificate of completion
+
+
+
This is to certify that
+
+
+
+
+ has successfully completed a courses in
+
+
+
+
{$certInfo.Desc}
+
+
+
+
diff --git a/src/components/Course/components/Ceritficate/mockData.js b/src/components/Course/components/Ceritficate/mockData.js
new file mode 100644
index 00000000..61a44c06
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/mockData.js
@@ -0,0 +1,85 @@
+export const CertData = [
+ {
+ id: 1,
+ title: 'Total students taking course',
+ value: 100,
+ },
+ {
+ id: 2,
+ title: 'Number of certificates issued ',
+ value: 45,
+ },
+ {
+ id: 3,
+ title: 'Certificates left to be issued',
+ value: 55,
+ },
+ {
+ id: 4,
+ title: 'Personalised cetificates',
+ value: 15,
+ },
+];
+
+export const students = [
+ {
+ id: 1,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 2,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 3,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: true,
+ },
+ {
+ id: 4,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 5,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 6,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 7,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 8,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 9,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: false,
+ },
+ {
+ id: 10,
+ name: 'Anyanwu joy victory',
+ issued: '10 Dec 2020',
+ peronalized: true,
+ },
+];
diff --git a/src/components/Course/components/Ceritficate/store.js b/src/components/Course/components/Ceritficate/store.js
new file mode 100644
index 00000000..445cbdb0
--- /dev/null
+++ b/src/components/Course/components/Ceritficate/store.js
@@ -0,0 +1,28 @@
+import { writable } from 'svelte/store';
+
+// export const deleteMemberModal = writable({
+// open: false,
+// });
+
+export const issueCertModal = writable({
+ open: false,
+ automatic: false,
+ email: '',
+ date: '',
+ message: '',
+});
+
+export const certInfo = writable({
+ Name: 'Name of student',
+ Title: 'Desiging functional components',
+ Desc: '(Introduction to Digital Devices, The Internet Mobile Applications, Introduction to Social Media, Using social media for business, Digital Content Creation and Distribution, Using mobile money in business, Digital financial management,Digital Empowerment,Digital Safety)',
+});
+
+export const resetForm = () =>
+ issueCertModal.update(() => ({
+ open: false,
+ automatic: false,
+ email: '',
+ date: '',
+ message: '',
+ }));
diff --git a/src/components/Course/components/Navigation/index.svelte b/src/components/Course/components/Navigation/index.svelte
index 63f62e96..4851deb8 100644
--- a/src/components/Course/components/Navigation/index.svelte
+++ b/src/components/Course/components/Navigation/index.svelte
@@ -125,6 +125,11 @@
to: getNavItemRoute($course.id, 'people'),
hideSortIcon: true,
},
+ {
+ label: 'Certificates',
+ to: getNavItemRoute($course.id, 'certificates'),
+ hideSortIcon: true,
+ },
{
label: 'Landing Page',
to: getNavItemRoute($course.id, 'landingpage'),
diff --git a/src/routes/courses/[id]/certificates.svelte b/src/routes/courses/[id]/certificates.svelte
new file mode 100644
index 00000000..5e9c848a
--- /dev/null
+++ b/src/routes/courses/[id]/certificates.svelte
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+ ($issueCertModal.open = true)}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/certImg.png b/static/certImg.png
new file mode 100644
index 00000000..7eafb5b9
Binary files /dev/null and b/static/certImg.png differ
diff --git a/static/certLogo.png b/static/certLogo.png
new file mode 100644
index 00000000..15207f05
Binary files /dev/null and b/static/certLogo.png differ
diff --git a/static/theme1.png b/static/theme1.png
new file mode 100644
index 00000000..e78731c1
Binary files /dev/null and b/static/theme1.png differ
diff --git a/static/theme2.png b/static/theme2.png
new file mode 100644
index 00000000..deeb0326
Binary files /dev/null and b/static/theme2.png differ