feat(Home): improve background.jpg import
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Philipp Dormann 2024-12-02 11:00:07 +01:00
parent ec6d252928
commit 3e289d83f9
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
2 changed files with 2 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -1,5 +1,5 @@
<template>
<div class="bg-cover bg-fixed m-0 h-screen" style="background-image: url('./background.jpg');">
<div class="bg-cover bg-fixed m-0 h-screen" v-bind:style='{ backgroundImage: "url(" + background_base64 + ")", }'>
<section class="container px-4 py-24 mx-auto">
<div class="w-full mx-auto text-center">
<img src="/favicon.png" class="h-32 mx-auto" />
@ -25,6 +25,7 @@
</template>
<script setup>
import background_base64 from "../assets/background.jpg?inline";
import Footer from "@/components/Footer.vue";
console.log(config);
</script>