Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add background image
- Loading branch information
Ričards Goldbergs
committed
Apr 2, 2021
1 parent
ce4acdb
commit 94019f002736d8427dadfa6cce07d2bd0d9dce38
Showing
6 changed files
with
39 additions
and
138 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
<template> | ||
<div id="app"> | ||
<img alt="Vue logo" src="./assets/logo.png"> | ||
<HelloWorld msg="Welcome to Your Vue.js App"/> | ||
</div> | ||
<v-app> | ||
<Header /> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
import HelloWorld from './components/HelloWorld.vue' | ||
import Header from "./components/Header"; | ||
export default { | ||
name: 'App', | ||
name: "App", | ||
components: { | ||
HelloWorld | ||
} | ||
} | ||
Header, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
#app { | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
margin-top: 60px; | ||
} | ||
</style> |
BIN
-6.69 KB
src/assets/logo.png
Binary file not shown.
BIN
+2.03 MB
src/assets/summer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<div> | ||
<div class="img"> | ||
<img :src="image" width="900" height="677" /> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import image from "@/assets/summer.png"; | ||
export default { | ||
data: function() { | ||
return { | ||
image: image, | ||
}; | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
.img { | ||
position: absolute; | ||
right: 0px; | ||
top: 0px; | ||
bottom: 0px; | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.