add contents
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
nuxt-link(to="/design") Designs
|
||||
nuxt-link(to="/servers") Servers
|
||||
nuxt-link(to="/tools") Tools
|
||||
nuxt-link(to="/daily") Daily
|
||||
small And many more to come :)
|
||||
</template>
|
||||
|
||||
|
||||
34
pages/daily/index.vue
Normal file
34
pages/daily/index.vue
Normal file
@@ -0,0 +1,34 @@
|
||||
<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. Anyone can share articles, questions, discussions, etc. as long as they have the rights to the words they are sharing. Cross-posting from your own blog is welcome.',
|
||||
url: 'https://www.dev.to'
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
components: {
|
||||
Card
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
h1 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user