diff --git a/src/components/Course/components/Ceritficate/Design.svelte b/src/components/Course/components/Ceritficate/Design.svelte index 8d2cbfb8..286f566e 100644 --- a/src/components/Course/components/Ceritficate/Design.svelte +++ b/src/components/Course/components/Ceritficate/Design.svelte @@ -4,15 +4,17 @@ RadioButton, Toggle, } from 'carbon-components-svelte'; - import UploadImage from './Upload.svelte'; + import { goto } from '@sapper/app'; import PrimaryButton from '../../../PrimaryButton/index.svelte'; import TextArea from '../../../Form/TextArea.svelte'; - import { certificateInfo } from './store'; import Professional from './certificates/Professional.svelte'; import Plain from './certificates/Plain.svelte'; + import { course } from '../../store'; + import { currentOrg } from '../../../../utils/store/org'; - const professional = './theme1.png'; - const plain = './theme2.png'; + const professional = './professional.svg'; + const plain = './plain.svg'; + const student = 'Name of student'; const themes = [ { label: 'professional', src: professional }, @@ -20,6 +22,7 @@ ]; let Selectedtheme = themes[0]; + const saveCertificate = () => {}; const onToggle = (e) => { console.log(e); @@ -46,12 +49,21 @@
Brand Logo
- We recommend using a PNG file with transparency. Maximum size: 1200 x - 600px. + We recommend using a PNG file with transparency. Maximum size: 512px x + 512px.
- -+ To update your brand image, go to Settings > Organisation settings and upload you brand logo +
+Course Description
- {
- fileinput.click();
- }}
- >
-
{$currentOrg.name}
This is to certify that
+ {$course.title} +
+{$certificateInfo.Desc}
+{$course.description}
This is to certify that
+ {$course.title} +
+{$certificateInfo.Desc}
-{$course.description}
+{$currentOrg.name}