diff --git a/src/App.vue b/src/App.vue
index 202328d..b191f57 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -9,7 +9,7 @@
-
+
@@ -19,7 +19,31 @@
export default {
data () {
return {
- title: 'Rebuilding Platform.sh'
+ title: 'Rebuilding Platform.sh',
+
+ projects: [
+ {
+ id: 1,
+ name: 'Drupal Bristol',
+ owner: 'accounts-partners',
+ region: 'Europe (West 1)',
+ image: 'default.jpg'
+ },
+ {
+ 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'
+ }
+ ]
}
}
}
diff --git a/src/components/ProjectBreadcrumb.vue b/src/components/ProjectBreadcrumb.vue
index cdf8f35..5d54409 100644
--- a/src/components/ProjectBreadcrumb.vue
+++ b/src/components/ProjectBreadcrumb.vue
@@ -5,7 +5,7 @@
Projects
-
+
@@ -13,8 +13,8 @@
diff --git a/src/views/Projects.vue b/src/views/Projects.vue
index c961674..a7546cd 100644
--- a/src/views/Projects.vue
+++ b/src/views/Projects.vue
@@ -57,6 +57,13 @@ import ProjectViewSwitcher from '@/components/ProjectViewSwitcher'
export default {
name: 'projects',
+ props: {
+ projects: {
+ type: Object,
+ required: true
+ }
+ },
+
components: {
ProjectCard,
ProjectSearch,
@@ -65,31 +72,7 @@ export default {
data () {
return {
- displayMode: 'grid',
-
- projects: [
- {
- id: 1,
- name: 'Drupal Bristol',
- owner: 'accounts-partners',
- region: 'Europe (West 1)',
- image: 'default.jpg'
- },
- {
- 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'
- }
- ]
+ displayMode: 'grid'
}
},