This commit is contained in:
André Weller
2019-05-12 00:53:44 +02:00
parent b4dfd58208
commit e2d8f8ff05
11 changed files with 281 additions and 125 deletions

36
components/Card.vue Normal file
View File

@@ -0,0 +1,36 @@
<template lang="pug">
.card
.card--title
p {{title}}
.card--body
p {{desc}}
a(:href="url") {{url}}
</template>
<script>
export default {
props: ['title', 'desc', 'url']
}
</script>
<style lang="scss" scoped>
.card {
&--title {
font-weight: 900;
margin-bottom: .5rem;
}
&--body {
p {
font-size: 12px;
color: #8795A1;
margin-bottom: .5rem;
}
a {
font-size: 9px;
line-height: 1;
}
}
}
</style>