mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	* Rename asset viewer folder * Refactor AssetViewer to be able to user with different component * Refactor AssetViewer to be able to user with different component * Added viewer for album and sharing
		
			
				
	
	
		
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Svelte
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Svelte
		
	
	
	
	
	
| <script lang="ts">
 | |
| 	import { createEventDispatcher } from 'svelte';
 | |
| 
 | |
| 	import ArrowLeft from 'svelte-material-icons/ArrowLeft.svelte';
 | |
| 	import DotsVertical from 'svelte-material-icons/DotsVertical.svelte';
 | |
| 	import CloudDownloadOutline from 'svelte-material-icons/CloudDownloadOutline.svelte';
 | |
| 	import TrashCanOutline from 'svelte-material-icons/TrashCanOutline.svelte';
 | |
| 	import InformationOutline from 'svelte-material-icons/InformationOutline.svelte';
 | |
| 	import CircleIconButton from '../shared-components/circle-icon-button.svelte';
 | |
| 	const dispatch = createEventDispatcher();
 | |
| </script>
 | |
| 
 | |
| <div
 | |
| 	class="h-16 bg-black/5 flex justify-between place-items-center px-3 transition-transform duration-200 z-[9999]"
 | |
| >
 | |
| 	<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={DotsVertical} on:click={() => console.log('Options')} /> -->
 | |
| 		<CircleIconButton logo={InformationOutline} on:click={() => dispatch('showDetail')} />
 | |
| 	</div>
 | |
| </div>
 |