Split project data into it's own file
This commit is contained in:
parent
3b646faddd
commit
c47fea47b0
27
src/App.vue
27
src/App.vue
|
@ -16,34 +16,13 @@
|
|||
<style src="./assets/css/tailwind.css"></style>
|
||||
|
||||
<script>
|
||||
import projects from './data/projects.json'
|
||||
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
title: 'Rebuilding Platform.sh',
|
||||
|
||||
projects: [
|
||||
{
|
||||
id: 1,
|
||||
name: 'Inviqa',
|
||||
owner: 'inviqa',
|
||||
region: 'Europe (West 1)',
|
||||
image: 'inviqa.jpeg'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'oliverdavies.uk',
|
||||
owner: 'Oliver Davies',
|
||||
region: 'Europe (West 1)',
|
||||
image: 'oliver-davies.png'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'PHP South Wales',
|
||||
owner: 'PHP South Wales organisers',
|
||||
region: 'Europe (West 1)',
|
||||
image: 'php-south-wales.png'
|
||||
}
|
||||
]
|
||||
projects
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
23
src/data/projects.json
Normal file
23
src/data/projects.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Inviqa",
|
||||
"owner": "inviqa",
|
||||
"region": "Europe (West 1)",
|
||||
"image": "inviqa.jpeg"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"name": "oliverdavies.uk",
|
||||
"owner": "Oliver Davies",
|
||||
"region": "Europe (West 1)",
|
||||
"image": "oliver-davies.png"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"name": "PHP South Wales",
|
||||
"owner": "PHP South Wales organisers",
|
||||
"region": "Europe (West 1)",
|
||||
"image": "php-south-wales.png"
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue