mirror of
https://gitlab.com/moepoi/moepoi.dev.git
synced 2024-10-23 17:26:17 +02:00
Add image preloading
This commit is contained in:
parent
b8a34992f9
commit
ce7fa0c934
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
|||
import profile from '../lib/assets/profile.webp';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<link rel="preload" href="{profile}" as="image">
|
||||
</svelte:head>
|
||||
|
||||
<NavBar isFixed={true} />
|
||||
|
||||
<div class="flex flex-col items-center justify-center h-screen flex-wrap">
|
||||
|
|
Loading…
Reference in a new issue