Skip to content

Commit

Permalink
User updating
Browse files Browse the repository at this point in the history
  • Loading branch information
alankrantas committed Jul 4, 2024
1 parent d5c51aa commit 36c285d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/components/ViewItemHead.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
export let viewItem: ViewItem;
</script>

<svelte:head>
<link rel="preload" as="image" href={viewItem.imgUrl} />
</svelte:head>

<div class="text-center">
{#if $screenSize <= 576}
<br />
Expand Down
5 changes: 3 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
});
const [send, receive] = crossfade({
delay: 100,
duration: 1000,
delay: 200,
duration: 2000,
easing: expoOut
});
Expand All @@ -73,6 +73,7 @@
{#each viewItems as viewItem}
<link rel="preload" as="image" href={viewItem.imgUrl} />
{/each}
<link rel="preload" as="image" href="/about-me/profile.jpg" />
</svelte:head>

{#if showScreenSize}
Expand Down

0 comments on commit 36c285d

Please sign in to comment.