From 33e24d57899a4d3b0b68b85913850557780febf9 Mon Sep 17 00:00:00 2001 From: samaradel Date: Wed, 3 Mar 2021 11:14:40 +0200 Subject: [PATCH 1/2] Fix comparison data --- gridsome.config.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gridsome.config.js b/gridsome.config.js index 9e44e26b4..4b5fab0b8 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -109,6 +109,14 @@ module.exports = { } }, + { + use: '@gridsome/source-filesystem', + options: { + typeName: 'ComparisonMain', + path: './content/page/**/comparison/main/*.md', + } + }, + { use: '@gridsome/source-filesystem', options: { @@ -176,7 +184,7 @@ module.exports = { logos: 'Logo', cta: 'Cta', signup: 'SignUp', - comparisonMain: 'Comparison', + comparisonMain: 'ComparisonMain', comparisonSecs: 'Comparison', howItWorksMain_2: 'HowItWorks_2', howItWorks_2: 'HowItWorks_2', @@ -186,7 +194,7 @@ module.exports = { plans: 'Plans', inTheNews: 'InTheNews', brandPanel: 'BrandPanel', - allSlides : 'About' + allSlides: 'About' } } }, @@ -250,7 +258,7 @@ module.exports = { }, { - use: '@gridsome/source-filesystem', + use: '@gridsome/source-filesystem', options: { typeName: 'News', path: './content/news/**/*.md', @@ -345,7 +353,7 @@ module.exports = { { use: 'gridsome-plugin-matomo', options: { - host: 'https://analytics.threefold.io', + host: 'https://analytics.threefold.io', siteId: 5 } } @@ -435,4 +443,4 @@ module.exports = { ] } } -} +} \ No newline at end of file From 3c51da5dc880df1e9ff93afc821fc470371ff021 Mon Sep 17 00:00:00 2001 From: samaradel Date: Wed, 3 Mar 2021 12:35:35 +0200 Subject: [PATCH 2/2] Fix team, comparison components --- gridsome.config.js | 2 +- src/components/custom/sections/Comparison.vue | 2 +- src/pages/Index.vue | 66 +++++++++---------- src/templates/Team.vue | 2 +- 4 files changed, 34 insertions(+), 38 deletions(-) diff --git a/gridsome.config.js b/gridsome.config.js index 4b5fab0b8..adde65638 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -113,7 +113,7 @@ module.exports = { use: '@gridsome/source-filesystem', options: { typeName: 'ComparisonMain', - path: './content/page/**/comparison/main/*.md', + path: './content/page/**/comparison/main/main.md', } }, diff --git a/src/components/custom/sections/Comparison.vue b/src/components/custom/sections/Comparison.vue index f13a4a792..7ec22098b 100644 --- a/src/components/custom/sections/Comparison.vue +++ b/src/components/custom/sections/Comparison.vue @@ -28,7 +28,7 @@
{{ main.button }} diff --git a/src/pages/Index.vue b/src/pages/Index.vue index c569ccb4f..41b40d419 100644 --- a/src/pages/Index.vue +++ b/src/pages/Index.vue @@ -1,78 +1,74 @@ diff --git a/src/templates/Team.vue b/src/templates/Team.vue index 45b220b84..a6fe728d3 100644 --- a/src/templates/Team.vue +++ b/src/templates/Team.vue @@ -1,6 +1,6 @@