diff --git a/src/lib/website/EditableProfile.svelte b/src/lib/website/EditableProfile.svelte --- a/src/lib/website/EditableProfile.svelte +++ b/src/lib/website/EditableProfile.svelte @@ -8,10 +8,8 @@ import type { Editor } from '@tiptap/core'; import MadeWithBlento from './MadeWithBlento.svelte'; - let { - data = $bindable(), - hideBlento = false - }: { data: WebsiteData; hideBlento?: boolean } = $props(); + let { data = $bindable(), hideBlento = false }: { data: WebsiteData; hideBlento?: boolean } = + $props(); let profilePosition = $derived(getProfilePosition(data)); diff --git a/src/lib/cards/LinkCard/EditingLinkCard.svelte b/src/lib/cards/LinkCard/EditingLinkCard.svelte --- a/src/lib/cards/LinkCard/EditingLinkCard.svelte +++ b/src/lib/cards/LinkCard/EditingLinkCard.svelte @@ -1,11 +1,54 @@ + + +
-
faviconInputRef?.click()} + onmouseenter={() => (isHoveringFavicon = true)} + onmouseleave={() => (isHoveringFavicon = false)} > {#if hasFetched && item.cardData.favicon && !faviconHasError} {/if} -
+ +
+ + + +
+
- {#if hasFetched && browser && ((isMobile() && item.mobileH >= 8) || (!isMobile() && item.h >= 4)) && item.cardData.image} - + {#if hasFetched && browser && ((isMobile() && item.mobileH >= 8) || (!isMobile() && item.h >= 4))} + {/if}
diff --git a/src/lib/cards/LinkCard/LinkCard.svelte b/src/lib/cards/LinkCard/LinkCard.svelte --- a/src/lib/cards/LinkCard/LinkCard.svelte +++ b/src/lib/cards/LinkCard/LinkCard.svelte @@ -23,7 +23,7 @@ (faviconHasError = true)} - src={item.cardData.favicon} + src={getImage(item.cardData, did, 'favicon')} alt="" /> {:else}