refactor: dont inline splash screen image
This commit is contained in:
parent
dfd1368c08
commit
5ae447c9bd
6 changed files with 13 additions and 41 deletions
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 217 KiB |
File diff suppressed because one or more lines are too long
|
@ -44,3 +44,4 @@ screen!**
|
|||
inlined.
|
||||
4. Rename this outputted `index.html` to `splashscreen.html`, and then move it
|
||||
into `/client/public`, replacing the existing `splashscreen.html`.
|
||||
Note: the background image will not load in development since it's designed to load `/splash-screen.jpg` from the main app. Update the `splash-screen.jpg` image in `client/public` to change it.
|
||||
|
|
|
@ -3,13 +3,7 @@
|
|||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
|
||||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<title>Jankboard 2</title>
|
||||
</svelte:head>
|
||||
|
||||
<Loading />
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
<style lang="postcss">
|
||||
.bg {
|
||||
background-image: url('../../assets/wallpaper.jpg');
|
||||
background-image: url('/splash-screen.jpg');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue