Last active
October 29, 2021 18:07
-
-
Save SidneyAllen/0d677ef7934497d12f9a45d9252c547c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/components/Front.vue | |
<script setup> | |
import { ref } from "vue"; | |
const imgSrc = ref("https://s3.us-west-2.amazonaws.com/public.lob.com/solutions/Lob_demo_postcard_conversion/Retail+psc/4x6+Retail+Postcard/Links/indoor-4148898.jpg"); | |
const headerText = ref("Love the home you live in") | |
const logoText = ref("virtonis") | |
</script> | |
<template> | |
<div class="body" :style="{ backgroundImage: `url(${imgSrc})` }"> | |
<div class="header">{{ headerText }}</div> | |
<div class="logo">{{ logoText }}</div> | |
<div id="safe-area"></div> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment