Files
webgems/pages/design/index.vue
André Weller 0ab7d5c877 Fix mobile
2019-05-12 01:35:18 +02:00

45 lines
953 B
Vue

<template lang="pug">
div
h1 Design
.cards
template(v-for='resource in resources')
Card(:title='resource.title' :desc='resource.desc' :url='resource.url')
</template>
<script>
import Card from '../../components/Card'
export default {
data() {
return {
resources: [
{
title: 'Undraw',
desc: 'Free vector illustrations for your website.',
url: 'https://undraw.co'
},
{
title: 'Practical UI tips',
desc: '7 Tips to boost your UI design.',
url: 'https://medium.com/refactoring-ui/7-practical-tips-for-cheating-at-design-40c736799886'
},
{
title: 'UI tips',
desc: 'Design tips by Steve Schoger',
url: 'https://twitter.com/i/moments/880688233641848832'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
h1 {
margin-bottom: 2rem;
}
</style>