From f3bb4784048ee9c289e8aa7061c1f9734d775d76 Mon Sep 17 00:00:00 2001 From: samaradel Date: Thu, 16 Sep 2021 16:45:56 +0200 Subject: [PATCH] fix showproduct part --- content/page/home/home.md | 2 +- content/page/home/{stats => map}/index.md | 5 +- content/page/home/{stats => map}/map.png | Bin gridsome.config.js | 11 +- .../sections/cta-sections/Header.vue | 2 +- .../marketing/sections/cta-sections/Map.vue | 130 ++++++++++++++++++ .../cta-sections/ShowcaseProductsHome.vue | 2 +- src/pages/Index.vue | 11 +- 8 files changed, 150 insertions(+), 13 deletions(-) rename content/page/home/{stats => map}/index.md (88%) rename content/page/home/{stats => map}/map.png (100%) create mode 100644 src/components/marketing/sections/cta-sections/Map.vue diff --git a/content/page/home/home.md b/content/page/home/home.md index 0a555a857..bf6a96858 100644 --- a/content/page/home/home.md +++ b/content/page/home/home.md @@ -33,7 +33,7 @@ inTheNews: in_the_news solution_image: ./cta_image.png cta: home_cta videoPanel: home_videoPanel -stats: stats +map: map featuresMain2: Features_home_2 features2: [ diff --git a/content/page/home/stats/index.md b/content/page/home/map/index.md similarity index 88% rename from content/page/home/stats/index.md rename to content/page/home/map/index.md index e3b175450..7f3a95f51 100644 --- a/content/page/home/stats/index.md +++ b/content/page/home/map/index.md @@ -1,6 +1,7 @@ --- -id: stats -title: TOGETHER WE CO-CREATE THE NEW INTERNET +id: map +title: THE THREEFOLD GRID +subtitle: NOW OPERATIONAL button: More Stats link: https://explorer.threefold.io image: ./map.png diff --git a/content/page/home/stats/map.png b/content/page/home/map/map.png similarity index 100% rename from content/page/home/stats/map.png rename to content/page/home/map/map.png diff --git a/gridsome.config.js b/gridsome.config.js index 39d1ff7a9..cbbd66e90 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -345,6 +345,14 @@ module.exports = { } }, + { + use: '@gridsome/source-filesystem', + options: { + typeName: 'Map', + path: './content/page/**/map/*.md', + } + }, + { use: '@gridsome/source-filesystem', options: { @@ -392,7 +400,8 @@ module.exports = { farmingMain: 'FarmingProcessMain', farmingProcess: 'FarmingProcess', cultivationMain: 'CultivationProcessMain', - cultivationProcess: 'CultivationProcess' + cultivationProcess: 'CultivationProcess', + map: 'Map' } } }, diff --git a/src/components/marketing/sections/cta-sections/Header.vue b/src/components/marketing/sections/cta-sections/Header.vue index 2521fe688..876279e7e 100644 --- a/src/components/marketing/sections/cta-sections/Header.vue +++ b/src/components/marketing/sections/cta-sections/Header.vue @@ -223,7 +223,7 @@
diff --git a/src/components/marketing/sections/cta-sections/Map.vue b/src/components/marketing/sections/cta-sections/Map.vue new file mode 100644 index 000000000..f9784e627 --- /dev/null +++ b/src/components/marketing/sections/cta-sections/Map.vue @@ -0,0 +1,130 @@ + + + + + \ No newline at end of file diff --git a/src/components/marketing/sections/cta-sections/ShowcaseProductsHome.vue b/src/components/marketing/sections/cta-sections/ShowcaseProductsHome.vue index 34397b22c..c661cb24b 100644 --- a/src/components/marketing/sections/cta-sections/ShowcaseProductsHome.vue +++ b/src/components/marketing/sections/cta-sections/ShowcaseProductsHome.vue @@ -21,7 +21,7 @@ class="m-auto rounded overflow-hidden transition duration-500" >

{{ product.title }}

diff --git a/src/pages/Index.vue b/src/pages/Index.vue index be9a3cef8..d2c17aac5 100644 --- a/src/pages/Index.vue +++ b/src/pages/Index.vue @@ -20,6 +20,7 @@
+ -