From d9c8d938034e6675f120ea22b62d4712bf6dcad2 Mon Sep 17 00:00:00 2001 From: emmanuel Date: Tue, 25 Jul 2023 23:24:10 +0100 Subject: [PATCH] CLASSROOMIO-T-11:Renamed the images of the certificate theme files --- .../Course/components/Ceritficate/Design.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Course/components/Ceritficate/Design.svelte b/src/components/Course/components/Ceritficate/Design.svelte index cbdadb15..8d2cbfb8 100644 --- a/src/components/Course/components/Ceritficate/Design.svelte +++ b/src/components/Course/components/Ceritficate/Design.svelte @@ -11,12 +11,12 @@ import Professional from './certificates/Professional.svelte'; import Plain from './certificates/Plain.svelte'; - const theme1 = './theme1.png'; - const theme2 = './theme2.png'; + const professional = './theme1.png'; + const plain = './theme2.png'; const themes = [ - { label: 'theme1', src: theme1 }, - { label: 'theme2', src: theme2 }, + { label: 'professional', src: professional }, + { label: 'plain', src: plain }, ]; let Selectedtheme = themes[0]; @@ -79,7 +79,7 @@ class="certbg flex justify-center items-center rounded-md w-full md:w-3/5" >
- {#if Selectedtheme.label == 'theme1'} + {#if Selectedtheme.label == 'professional'} {:else}