Last active
February 16, 2016 04:49
-
-
Save mathewsanders/7850a7fc189d307e7589 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