fix bg image?

This commit is contained in:
Philipp Dormann 2023-04-15 22:44:11 +02:00
parent 5d764a80a7
commit dc588e83c0
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<script>
import axios from "axios";
import bg from "../public/beamershow_background.png?import";
import { _ } from "svelte-i18n";
import { slide } from "svelte/transition";
import { apikey, api_endpoint, laptime_track } from "./store.js";
@ -138,7 +139,7 @@
<div
class="min-h-screen flex items-center justify-center bg-gray-100"
style="background-image: url('/beamershow_background.png');background-position: center;background-size: contain;background-repeat:no-repeat;"
style="background-image: url({bg});background-position: center;background-size: contain;background-repeat:no-repeat;"
>
<div class="w-full">
<div class="w-3/4 xl:w-1/2 mx-auto">