2022-06-03 11:04:30 -05:00
|
|
|
<script lang="ts">
|
|
|
|
import { createEventDispatcher } from 'svelte';
|
|
|
|
|
|
|
|
import ArrowLeft from 'svelte-material-icons/ArrowLeft.svelte';
|
|
|
|
import CloudDownloadOutline from 'svelte-material-icons/CloudDownloadOutline.svelte';
|
|
|
|
import InformationOutline from 'svelte-material-icons/InformationOutline.svelte';
|
2022-07-16 23:52:00 -05:00
|
|
|
import CircleIconButton from '../shared-components/circle-icon-button.svelte';
|
2022-06-03 11:04:30 -05:00
|
|
|
const dispatch = createEventDispatcher();
|
|
|
|
</script>
|
|
|
|
|
2022-07-16 23:52:00 -05:00
|
|
|
<div
|
|
|
|
class="h-16 bg-black/5 flex justify-between place-items-center px-3 transition-transform duration-200 z-[9999]"
|
|
|
|
>
|
2022-06-03 11:04:30 -05:00
|
|
|
<div>
|
|
|
|
<CircleIconButton logo={ArrowLeft} on:click={() => dispatch('goBack')} />
|
|
|
|
</div>
|
|
|
|
<div class="text-white flex gap-2">
|
|
|
|
<CircleIconButton logo={CloudDownloadOutline} on:click={() => dispatch('download')} />
|
|
|
|
<CircleIconButton logo={InformationOutline} on:click={() => dispatch('showDetail')} />
|
|
|
|
</div>
|
|
|
|
</div>
|