diff --git a/src/lib/components/UploadWidget/index.svelte b/src/lib/components/UploadWidget/index.svelte index 0beb92d8..49401194 100644 --- a/src/lib/components/UploadWidget/index.svelte +++ b/src/lib/components/UploadWidget/index.svelte @@ -20,6 +20,10 @@ let searchQuery = ''; let unsplashImages: { id: string | number; + user: { + name: string; + username: string; + }; urls: { regular: string; }; @@ -94,7 +98,7 @@ -
+
-
-
+
+ +
+
+ +
+ {#if unsplashImages.user.name} +

+ By {unsplashImages.user.name} +

+ {/if}
{/each}
@@ -151,3 +168,16 @@
+ +