fix: certificate settings bug not selecting right template

This commit is contained in:
Rotimi Best
2023-11-24 00:27:16 +00:00
parent 6d975e4fe0
commit b94435b121
12 changed files with 9 additions and 26 deletions
@@ -55,7 +55,11 @@
{#each themes as theme}
<div class="flex mr-3">
<RadioButton value={theme} />
<img src={`/${theme}.png`} alt="themes" class="w-[110px] h-[82px]" />
<img
src={`/images/certificate_theme_${theme}.png`}
alt="themes"
class="w-[110px] h-[82px]"
/>
</div>
{/each}
</RadioButtonGroup>
@@ -77,8 +81,7 @@
<span class="my-4">
<p class="dark:text-gray-100 text-xs font-normal mt-4 mb-2">Course Description</p>
<TextArea
maxRows={6}
rows="6"
rows={6}
placeholder="a little description about the course"
bgColor="bg-gray-100"
bind:value={$course.description}
@@ -5,7 +5,7 @@
export let studentName = '';
let borderwidth = 'border-4';
let bordercolor = 'border-pink-700';
let logo = './logo-512.png';
let logo = '/logo-512.png';
</script>
<div
@@ -2,10 +2,10 @@
import { course } from '$lib/components/Course/store';
import { currentOrg } from '$lib/utils/store/org';
export let studentName;
export let studentName = '';
let borderwidth = 'border-l-8';
let bordercolor = 'border-primary-800';
let logo = './logo-512.png';
let logo = '/logo-512.png';
</script>
<div
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 56 KiB

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 107 KiB