Fix mobile

This commit is contained in:
André Weller
2019-05-12 01:35:18 +02:00
parent c1e4609c65
commit 0ab7d5c877
10 changed files with 68 additions and 33 deletions

34
pages/frontend/index.vue Normal file
View File

@@ -0,0 +1,34 @@
<template lang="pug">
div
h1 Frontend
.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: 'Frontend Handbook 2019',
desc: 'A lovely guide made by frontendmasters.',
url: 'https://frontendmasters.com/books/front-end-handbook/2019/'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
h1 {
margin-bottom: 2rem;
}
</style>