Last active
February 20, 2019 12:20
-
-
Save lee-chase/40aa146811c7619691981978a2305c0c 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
<template> | |
<div id="app"> | |
<div class="hero"> | |
<img class="logo" alt="Vue logo" src="./assets/logo.png"> | |
<p>meet</p> | |
<img class="logo logo--nudge" alt="@Carbon/vue logo" src="./assets/AtCarbonVue.png"> | |
</div> | |
<hello-world/> | |
</div> | |
</template> | |
<script> | |
import HelloWorld from "./components/HelloWorld.vue"; | |
export default { | |
name: "app", | |
components: { | |
HelloWorld | |
} | |
}; | |
</script> | |
<style lang="scss"> | |
@import "~carbon-components/scss/globals/scss/styles.scss"; | |
#app { | |
font-family: "Avenir", Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
text-align: center; | |
width: 50%; | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
.hero { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
} | |
.logo { | |
height: 200px; | |
margin: 20px; | |
} | |
.logo--nudge { | |
margin-left: 83px; | |
} | |
.cv-button { | |
margin: 20px 0; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment