feat(Home): improve background.jpg import
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
ec6d252928
commit
3e289d83f9
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
@ -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>
|
Loading…
x
Reference in New Issue
Block a user