From 14379bfdb8658b57e70a59f0b459c8a69c103da3 Mon Sep 17 00:00:00 2001 From: samaradel Date: Thu, 29 Jul 2021 08:57:32 +0000 Subject: [PATCH] reduce support page spacees and add btns --- .../support/contactData/contact1/contact1.md | 6 - .../support/contactData/contact2/contact2.md | 6 - .../support/contactData/contact3/contact3.md | 6 - .../support/contactData/contact4/contact4.md | 6 - content/page/support/header3/header3.md | 10 -- content/page/support/logos/main/main.md | 4 + .../productData/farming_faq/farming_faq.md | 2 +- content/page/support/productData/main/main.md | 2 +- .../page/support/productData/tf_faq/tf_faq.md | 2 +- .../productData/token_faq/token_faq.md | 2 +- content/page/support/support.md | 4 +- gridsome.config.js | 9 + .../custom/sections/header/HeaderSection.vue | 36 +++- .../cta-sections/ShowcaseProducts.vue | 155 ++++++++++++++++-- .../sections/cta-sections/logoShowcase.vue | 10 +- .../faq-sections/CenteredAccordion.vue | 3 - src/templates/MarkdownPage.vue | 17 +- 17 files changed, 213 insertions(+), 67 deletions(-) delete mode 100644 content/page/support/contactData/contact1/contact1.md delete mode 100644 content/page/support/contactData/contact2/contact2.md delete mode 100644 content/page/support/contactData/contact3/contact3.md delete mode 100644 content/page/support/contactData/contact4/contact4.md delete mode 100644 content/page/support/header3/header3.md create mode 100644 content/page/support/logos/main/main.md diff --git a/content/page/support/contactData/contact1/contact1.md b/content/page/support/contactData/contact1/contact1.md deleted file mode 100644 index 28863657f..000000000 --- a/content/page/support/contactData/contact1/contact1.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: contact1 -title: PR / Press Inquiries -mail: 'press@threefold.io' -phone: '' ---- diff --git a/content/page/support/contactData/contact2/contact2.md b/content/page/support/contactData/contact2/contact2.md deleted file mode 100644 index f054c5d94..000000000 --- a/content/page/support/contactData/contact2/contact2.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: contact2 -title: Partnerships -mail: 'partners@threefold.io' -phone: '' ---- diff --git a/content/page/support/contactData/contact3/contact3.md b/content/page/support/contactData/contact3/contact3.md deleted file mode 100644 index 9d41690ee..000000000 --- a/content/page/support/contactData/contact3/contact3.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: contact3 -title: Token Listing Proposals -mail: 'listing@threefold.io' -phone: '' ---- diff --git a/content/page/support/contactData/contact4/contact4.md b/content/page/support/contactData/contact4/contact4.md deleted file mode 100644 index 438d6642b..000000000 --- a/content/page/support/contactData/contact4/contact4.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -id: contact4 -title: 3Node Shop Inquries -mail: 'info@threefold.io' -phone: '' ---- diff --git a/content/page/support/header3/header3.md b/content/page/support/header3/header3.md deleted file mode 100644 index e4fbbe43b..000000000 --- a/content/page/support/header3/header3.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -id: telegram -title: '' -subtitle: Join our communities on Telegram -btn1: '' -link1: '' -btn2: '' -link2: '' ---- - diff --git a/content/page/support/logos/main/main.md b/content/page/support/logos/main/main.md new file mode 100644 index 000000000..e0d0d3766 --- /dev/null +++ b/content/page/support/logos/main/main.md @@ -0,0 +1,4 @@ +--- +id: logosMain +title: Join our communities on Telegram +--- \ No newline at end of file diff --git a/content/page/support/productData/farming_faq/farming_faq.md b/content/page/support/productData/farming_faq/farming_faq.md index 620bb45d5..96aa4632d 100644 --- a/content/page/support/productData/farming_faq/farming_faq.md +++ b/content/page/support/productData/farming_faq/farming_faq.md @@ -3,7 +3,7 @@ id: farming_faq title: ThreeFold Farming FAQ image: ./farming_faq.png button: FAQ -url: https://threefold.io/farming/faq +link: https://threefold.io/farming/faq --- Find all the information you need to understand what is ThreeFold Farming and how to set up your farm. diff --git a/content/page/support/productData/main/main.md b/content/page/support/productData/main/main.md index 1efb5e2ae..d56f0c619 100644 --- a/content/page/support/productData/main/main.md +++ b/content/page/support/productData/main/main.md @@ -1,5 +1,5 @@ --- -id: faq +id: faqMain title: FAQ subtitle: See some of the Most Freaquently Asked Questions answered in FAQs. You might already find what you're looking for. --- \ No newline at end of file diff --git a/content/page/support/productData/tf_faq/tf_faq.md b/content/page/support/productData/tf_faq/tf_faq.md index 4120b750d..bf32ccd64 100644 --- a/content/page/support/productData/tf_faq/tf_faq.md +++ b/content/page/support/productData/tf_faq/tf_faq.md @@ -3,7 +3,7 @@ id: tf_faq title: Main ThreeFold FAQ image: ./threefold_faq.png button: FAQ -url: /faq +link: /faq --- Learn more about ThreeFold, our ethos, structure, how we compare with other projects and how to join the movement. \ No newline at end of file diff --git a/content/page/support/productData/token_faq/token_faq.md b/content/page/support/productData/token_faq/token_faq.md index ed769b891..5bd1c103e 100644 --- a/content/page/support/productData/token_faq/token_faq.md +++ b/content/page/support/productData/token_faq/token_faq.md @@ -3,7 +3,7 @@ id: token_faq title: ThreeFold Token FAQ image: ./token_faq.png button: FAQ -url: '' +link: '' --- Understand what the ThreeFold Token is, it's utility in the ThreeFold ecosystem and how to charge your wallet. \ No newline at end of file diff --git a/content/page/support/support.md b/content/page/support/support.md index eaff57f85..5285a3863 100644 --- a/content/page/support/support.md +++ b/content/page/support/support.md @@ -10,12 +10,12 @@ header_altImg: support header_excerpt: '' button: '' link: '' -productsMain2: faq +productsMain2: faqMain productData2: [tf_faq, farming_faq, token_faq] header: forum solution_image2: ./forum.png header2: forum_button header3: telegram +logosMain: logosMain logos: [tele_1, tele_2, tele_3, tele_4, tele_5] -contactData: [contact1, contact2, contact3, contact4] --- \ No newline at end of file diff --git a/gridsome.config.js b/gridsome.config.js index 8b105177b..e0e10252f 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -125,6 +125,14 @@ module.exports = { path: './content/page/**/features2/**/*.md', } }, + { + use: '@gridsome/source-filesystem', + options: { + typeName: 'LogosMain', + path: './content/page/**/logos/main/*.md', + } + }, + { use: '@gridsome/source-filesystem', options: { @@ -357,6 +365,7 @@ module.exports = { featuresMain2: 'Features2', features2: 'Features2', logos: 'Logo', + logosMain: 'LogosMain', cta: 'Cta', cta2: 'Cta', cta3: 'Cta', diff --git a/src/components/custom/sections/header/HeaderSection.vue b/src/components/custom/sections/header/HeaderSection.vue index 08c62ef1f..7b5b290db 100644 --- a/src/components/custom/sections/header/HeaderSection.vue +++ b/src/components/custom/sections/header/HeaderSection.vue @@ -6,17 +6,46 @@ {{ header.subtitle }}
{{ header.btn1 }}{{ header.btn2 }} diff --git a/src/components/marketing/sections/cta-sections/ShowcaseProducts.vue b/src/components/marketing/sections/cta-sections/ShowcaseProducts.vue index fb44e5cc9..9a00cb0fe 100644 --- a/src/components/marketing/sections/cta-sections/ShowcaseProducts.vue +++ b/src/components/marketing/sections/cta-sections/ShowcaseProducts.vue @@ -1,6 +1,6 @@