Files
webgems/pages/daily/index.vue
2019-06-17 13:01:48 +10:00

56 lines
1.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template lang="pug">
div
h1 Daily
.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: 'dev.to',
desc: 'Where programmers share ideas and help each other grow. It is an online community for sharing and discovering great ideas, having debates, and making friends.',
url: 'https://www.dev.to'
},
{
title: 'CSS Tricks',
desc: 'Daily webdev related articles, snippets and guides since 2007',
url: 'https://css-tricks.com/'
},
{
title: 'Smashing magazine',
desc: 'Founded in September 2006 in Germany, Smashing Magazine delivers reliable, useful, but most importantly practical articles to web designers and developers. ',
url: 'https://www.smashingmagazine.com/'
},
{
title: 'Hackernews',
desc: 'Hacker News is a social news website focusing on computer science and entrepreneurship.',
url: 'https://news.ycombinator.com/'
},
{
title: 'Producthunt',
desc: 'Check popular new products out and get inspired, maybe even post yours?',
url: 'https://www.producthunt.com/'
},
{
title: 'Ruby Weekly',
desc: 'A free, onceweekly e-mail round-up of Ruby news and articles.',
url: 'https://rubyweekly.com/'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
</style>