add content

This commit is contained in:
André Weller
2019-05-12 02:45:16 +02:00
parent 9f3f9b13f7
commit 344c33d9e3
5 changed files with 89 additions and 1 deletions

35
pages/php/index.vue Normal file
View File

@@ -0,0 +1,35 @@
<template lang="pug">
div
h1 PHP
.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: 'PHP the right way',
desc: 'Theres a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.',
url: 'https://phptherightway.com'
},
]
}
},
components: {
Card
}
}
</script>
<style lang="scss" scoped>
h1 {
margin-bottom: 2rem;
}
</style>