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

46 lines
860 B
Vue

<template lang="pug">
div
h1 Servers
.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: 'Netlify',
desc: 'Free static hosting with privacy in mind!',
url: 'https://netlify.com'
},
{
title: 'Github Pages',
desc: 'Free static hosting by Github.',
url: 'https://pages.github.com'
},
{
title: 'Namecheap',
desc: 'Domains for your projects',
url: 'https://namecheap.com'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
h1 {
margin-bottom: 2rem;
}
</style>