Created
February 16, 2016 04:44
-
-
Save mathewsanders/5ea42e78a6c3acf6efc9 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 class="cafe-card"> | |
<h2> {{ name }}</h2> | |
<p>Airy neighborhood coffee house with daily roasted espresso & drip coffee, plus bagels & pastries.</p> | |
<h3>Hours</h3> | |
<p>Mon-Fri: 6:30-8</p> | |
<p>Sat-Sun: 8-8</p> | |
<p>{{ address }}</p> | |
</div> | |
</template> | |
<script> | |
export default { | |
props: ['name', 'address'] | |
} | |
</script> | |
<style scoped> | |
.cafe-card { | |
display: inline-block; | |
width: 15em; | |
padding: 1em; | |
margin: 1em; | |
margin-left: 0; | |
background: #EBEBEB; | |
border-top: 10px solid #C28F42; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment