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

41 lines
819 B
Vue

<template lang="pug">
div
h1 Javascript
.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: 'Javascript30',
desc: 'Free video courses about javascript. Made by WesBos',
url: 'https://javascript30.com'
},
{
title: 'Learn vanilla js',
desc: 'A vanilla JS roadmap, along with learning resources and project ideas to help you get started.',
url: 'https://learnvanillajs.com/'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
h1 {
margin-bottom: 2rem;
}
</style>