diff --git a/frontend/src/lib/components/dashboard/InfoButton.svelte b/frontend/src/lib/components/dashboard/InfoButton.svelte index 6a2431e..400a87c 100644 --- a/frontend/src/lib/components/dashboard/InfoButton.svelte +++ b/frontend/src/lib/components/dashboard/InfoButton.svelte @@ -3,6 +3,8 @@ import 'tippy.js/dist/tippy.css'; import { createEventDispatcher } from 'svelte'; import { submissionProgress, UploadStatus } from '$lib/stores/portfolio'; + import Document from '../icons/Document.svelte'; + import Download from '../icons/Download.svelte'; export let showDetails: boolean; @@ -17,7 +19,6 @@ }; - showInfo()} on:keydown={(_) => showInfo()} @@ -27,20 +28,10 @@ showOnCreate: false, delay: 0 }} + class="icon" + class:showDetails > - + {#if $submissionProgress.status === UploadStatus.Submitted} @@ -76,28 +67,21 @@ showOnCreate: false, delay: 0 }} + class="icon disabledIcon" > - + {/if} diff --git a/frontend/src/lib/components/icons/Document.svelte b/frontend/src/lib/components/icons/Document.svelte new file mode 100644 index 0000000..e3d9082 --- /dev/null +++ b/frontend/src/lib/components/icons/Document.svelte @@ -0,0 +1,16 @@ + + + diff --git a/frontend/src/lib/components/icons/Download.svelte b/frontend/src/lib/components/icons/Download.svelte new file mode 100644 index 0000000..1ad629b --- /dev/null +++ b/frontend/src/lib/components/icons/Download.svelte @@ -0,0 +1,16 @@ + + +