Revert "Merge pull request #54 from S3B4S/dynamic-routing"

This reverts commit f13f012c29, reversing
changes made to bc0aab4217.
This commit is contained in:
lost.design
2019-06-16 08:22:26 +02:00
parent 36df8a25b1
commit 90b50220a4
17 changed files with 966 additions and 756 deletions

51
pages/daily/index.vue Normal file
View File

@@ -0,0 +1,51 @@
<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/'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
</style>