reduce support page spacees and add btns
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
id: contact1
|
|
||||||
title: PR / Press Inquiries
|
|
||||||
mail: 'press@threefold.io'
|
|
||||||
phone: ''
|
|
||||||
---
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
id: contact2
|
|
||||||
title: Partnerships
|
|
||||||
mail: 'partners@threefold.io'
|
|
||||||
phone: ''
|
|
||||||
---
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
id: contact3
|
|
||||||
title: Token Listing Proposals
|
|
||||||
mail: 'listing@threefold.io'
|
|
||||||
phone: ''
|
|
||||||
---
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
id: contact4
|
|
||||||
title: 3Node Shop Inquries
|
|
||||||
mail: 'info@threefold.io'
|
|
||||||
phone: ''
|
|
||||||
---
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
id: telegram
|
|
||||||
title: ''
|
|
||||||
subtitle: Join our communities on Telegram
|
|
||||||
btn1: ''
|
|
||||||
link1: ''
|
|
||||||
btn2: ''
|
|
||||||
link2: ''
|
|
||||||
---
|
|
||||||
|
|
||||||
4
content/page/support/logos/main/main.md
Normal file
4
content/page/support/logos/main/main.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
id: logosMain
|
||||||
|
title: Join our communities on Telegram
|
||||||
|
---
|
||||||
@@ -3,7 +3,7 @@ id: farming_faq
|
|||||||
title: ThreeFold Farming FAQ
|
title: ThreeFold Farming FAQ
|
||||||
image: ./farming_faq.png
|
image: ./farming_faq.png
|
||||||
button: FAQ
|
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.
|
Find all the information you need to understand what is ThreeFold Farming and how to set up your farm.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: faq
|
id: faqMain
|
||||||
title: FAQ
|
title: FAQ
|
||||||
subtitle: See some of the Most Freaquently Asked Questions answered in FAQs. You might already find what you're looking for.
|
subtitle: See some of the Most Freaquently Asked Questions answered in FAQs. You might already find what you're looking for.
|
||||||
---
|
---
|
||||||
@@ -3,7 +3,7 @@ id: tf_faq
|
|||||||
title: Main ThreeFold FAQ
|
title: Main ThreeFold FAQ
|
||||||
image: ./threefold_faq.png
|
image: ./threefold_faq.png
|
||||||
button: FAQ
|
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.
|
Learn more about ThreeFold, our ethos, structure, how we compare with other projects and how to join the movement.
|
||||||
@@ -3,7 +3,7 @@ id: token_faq
|
|||||||
title: ThreeFold Token FAQ
|
title: ThreeFold Token FAQ
|
||||||
image: ./token_faq.png
|
image: ./token_faq.png
|
||||||
button: FAQ
|
button: FAQ
|
||||||
url: ''
|
link: ''
|
||||||
---
|
---
|
||||||
|
|
||||||
Understand what the ThreeFold Token is, it's utility in the ThreeFold ecosystem and how to charge your wallet.
|
Understand what the ThreeFold Token is, it's utility in the ThreeFold ecosystem and how to charge your wallet.
|
||||||
@@ -10,12 +10,12 @@ header_altImg: support
|
|||||||
header_excerpt: ''
|
header_excerpt: ''
|
||||||
button: ''
|
button: ''
|
||||||
link: ''
|
link: ''
|
||||||
productsMain2: faq
|
productsMain2: faqMain
|
||||||
productData2: [tf_faq, farming_faq, token_faq]
|
productData2: [tf_faq, farming_faq, token_faq]
|
||||||
header: forum
|
header: forum
|
||||||
solution_image2: ./forum.png
|
solution_image2: ./forum.png
|
||||||
header2: forum_button
|
header2: forum_button
|
||||||
header3: telegram
|
header3: telegram
|
||||||
|
logosMain: logosMain
|
||||||
logos: [tele_1, tele_2, tele_3, tele_4, tele_5]
|
logos: [tele_1, tele_2, tele_3, tele_4, tele_5]
|
||||||
contactData: [contact1, contact2, contact3, contact4]
|
|
||||||
---
|
---
|
||||||
@@ -125,6 +125,14 @@ module.exports = {
|
|||||||
path: './content/page/**/features2/**/*.md',
|
path: './content/page/**/features2/**/*.md',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
use: '@gridsome/source-filesystem',
|
||||||
|
options: {
|
||||||
|
typeName: 'LogosMain',
|
||||||
|
path: './content/page/**/logos/main/*.md',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
use: '@gridsome/source-filesystem',
|
use: '@gridsome/source-filesystem',
|
||||||
options: {
|
options: {
|
||||||
@@ -357,6 +365,7 @@ module.exports = {
|
|||||||
featuresMain2: 'Features2',
|
featuresMain2: 'Features2',
|
||||||
features2: 'Features2',
|
features2: 'Features2',
|
||||||
logos: 'Logo',
|
logos: 'Logo',
|
||||||
|
logosMain: 'LogosMain',
|
||||||
cta: 'Cta',
|
cta: 'Cta',
|
||||||
cta2: 'Cta',
|
cta2: 'Cta',
|
||||||
cta3: 'Cta',
|
cta3: 'Cta',
|
||||||
|
|||||||
@@ -6,17 +6,46 @@
|
|||||||
{{ header.subtitle }}
|
{{ header.subtitle }}
|
||||||
</h2>
|
</h2>
|
||||||
<div
|
<div
|
||||||
|
v-if="header.content"
|
||||||
v-html="header.content"
|
v-html="header.content"
|
||||||
class="mb-8 text-gray-700 leading-relaxed"
|
class="mb-8 text-gray-700 leading-relaxed"
|
||||||
></div>
|
></div>
|
||||||
<div>
|
<div>
|
||||||
<g-link
|
<g-link
|
||||||
class="inline-block bg-green-500 text-sm text-white learn-button hover:bg-green-600 px-8 py-2 mr-2 my-0 rounded shadow rounded-full active--exact active"
|
class="
|
||||||
v-if="header.btn1"
|
inline-block
|
||||||
|
bg-green-500
|
||||||
|
text-sm text-white
|
||||||
|
learn-button
|
||||||
|
hover:bg-green-600
|
||||||
|
px-8
|
||||||
|
py-2
|
||||||
|
mr-2
|
||||||
|
my-0
|
||||||
|
rounded
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
active--exact active
|
||||||
|
"
|
||||||
|
v-if="header.btn1"
|
||||||
:to="header.link1"
|
:to="header.link1"
|
||||||
>{{ header.btn1 }}</g-link
|
>{{ header.btn1 }}</g-link
|
||||||
><g-link
|
><g-link
|
||||||
class="inline-block bg-teal-300 text-sm learn-button hover:bg-teal-400 text-gray-900 px-12 py-2 mr-3 my-2 rounded shadow rounded-full"
|
class="
|
||||||
|
inline-block
|
||||||
|
bg-teal-300
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-teal-400
|
||||||
|
text-gray-900
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-3
|
||||||
|
my-2
|
||||||
|
rounded
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
v-if="header.btn2"
|
v-if="header.btn2"
|
||||||
:to="header.link2"
|
:to="header.link2"
|
||||||
>{{ header.btn2 }}</g-link
|
>{{ header.btn2 }}</g-link
|
||||||
@@ -32,5 +61,4 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="py-0 mb-5 mx-4">
|
<div class="py-0 mb-5 mx-4">
|
||||||
<div class="text-center mx-auto my-4" v-if="id == 'why'">
|
<div class="text-center mx-auto my-4" v-if="id == 'why'">
|
||||||
<h1 class="text-4xl text-gray-900 font-light sm:text-9xl sm:leading-10">
|
<h1 class="text-4xl text-gray-900 font-light sm:text-9xl sm:leading-10">
|
||||||
{{ main.title }} <span class="font-extrabold">{{ main.subtitle }}</span>
|
{{ main.title }} <span class="font-extrabold">{{ main.subtitle }}</span>
|
||||||
</h1>
|
</h1>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center"
|
class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center"
|
||||||
v-if="id == 'token'"
|
v-if="id == 'token'"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
v-for="(product, idx) in products"
|
v-for="(product, idx) in products"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:key="idx"
|
:key="idx"
|
||||||
@@ -53,7 +53,14 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
:key="idx"
|
:key="idx"
|
||||||
:href="product.link"
|
:href="product.link"
|
||||||
class="m-auto rounded overflow-hidden transition duration-500 bg-gray-100"
|
class="
|
||||||
|
m-auto
|
||||||
|
rounded
|
||||||
|
overflow-hidden
|
||||||
|
transition
|
||||||
|
duration-500
|
||||||
|
bg-gray-100
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<g-image :src="img(product.image)" />
|
<g-image :src="img(product.image)" />
|
||||||
@@ -66,13 +73,35 @@
|
|||||||
v-if="product.link.includes('http')"
|
v-if="product.link.includes('http')"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:href="product.link"
|
:href="product.link"
|
||||||
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 shadow rounded-full"
|
class="
|
||||||
|
bg-blue-900
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-blue-800
|
||||||
|
text-gray-100
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
>{{ product.button }}</a
|
>{{ product.button }}</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
v-else
|
v-else
|
||||||
:href="product.link"
|
:href="product.link"
|
||||||
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 shadow rounded-full"
|
class="
|
||||||
|
bg-blue-900
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-blue-800
|
||||||
|
text-gray-100
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
>{{ product.button }}</a
|
>{{ product.button }}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -103,13 +132,35 @@
|
|||||||
v-if="product.link.includes('http')"
|
v-if="product.link.includes('http')"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:href="product.link"
|
:href="product.link"
|
||||||
class="bg-gray-800 text-sm learn-button border-gray-900 text-white px-12 py-2 mr-5 shadow rounded-full"
|
class="
|
||||||
|
bg-gray-800
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
border-gray-900
|
||||||
|
text-white
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
>{{ product.button }}</a
|
>{{ product.button }}</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
v-else
|
v-else
|
||||||
:href="product.link"
|
:href="product.link"
|
||||||
class="bg-gray-800 text-sm learn-button border-gray-900 text-white px-12 py-2 mr-5 shadow rounded-full"
|
class="
|
||||||
|
bg-gray-800
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
border-gray-900
|
||||||
|
text-white
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
>{{ product.button }}</a
|
>{{ product.button }}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -117,6 +168,66 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Support -->
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center"
|
||||||
|
v-else-if="id == 'support'"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
v-for="(product, idx) in products"
|
||||||
|
target="_blank"
|
||||||
|
:key="idx"
|
||||||
|
:href="product.url"
|
||||||
|
class="m-auto rounded overflow-hidden transition duration-500"
|
||||||
|
>
|
||||||
|
<div class="px-2 py-2">
|
||||||
|
<g-image class="py-4" :src="img(product.image)" />
|
||||||
|
<div class="font-bold text-xl mb-2">{{ product.title }}</div>
|
||||||
|
<div v-html="product.content" class="text-gray-700 text-base"></div>
|
||||||
|
<div v-if="product.button" class="my-5 text-center">
|
||||||
|
<a
|
||||||
|
v-if="product.link.includes('http')"
|
||||||
|
target="_blank"
|
||||||
|
:href="product.link"
|
||||||
|
class="
|
||||||
|
bg-blue-900
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-blue-800
|
||||||
|
text-gray-100
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
rounded
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
|
>{{ product.button }}</a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
v-else
|
||||||
|
:href="product.link"
|
||||||
|
class="
|
||||||
|
bg-blue-900
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-blue-800
|
||||||
|
text-gray-100
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
rounded
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
|
>{{ product.button }}</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center" v-else>
|
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center" v-else>
|
||||||
<a
|
<a
|
||||||
v-for="(product, idx) in products"
|
v-for="(product, idx) in products"
|
||||||
@@ -132,7 +243,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="main.button" class="my-10 text-center">
|
<div v-if="main.button" class="my-10 text-center">
|
||||||
<!-- <a
|
<!-- <a
|
||||||
v-if="main.button"
|
v-if="main.button"
|
||||||
@@ -145,13 +256,37 @@
|
|||||||
v-if="main.link.includes('http')"
|
v-if="main.link.includes('http')"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:href="main.link"
|
:href="main.link"
|
||||||
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
|
class="
|
||||||
|
bg-blue-900
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-blue-800
|
||||||
|
text-gray-100
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
rounded
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
>{{ main.button }}</a
|
>{{ main.button }}</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
v-else
|
v-else
|
||||||
:href="main.link"
|
:href="main.link"
|
||||||
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
|
class="
|
||||||
|
bg-blue-900
|
||||||
|
text-sm
|
||||||
|
learn-button
|
||||||
|
hover:bg-blue-800
|
||||||
|
text-gray-100
|
||||||
|
px-12
|
||||||
|
py-2
|
||||||
|
mr-5
|
||||||
|
rounded
|
||||||
|
shadow
|
||||||
|
rounded-full
|
||||||
|
"
|
||||||
>{{ main.button }}</a
|
>{{ main.button }}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="py-10 pb-8 px-4 text-center">
|
<section class="py-10 pb-8 px-4 text-center">
|
||||||
<div class="max-w-2xl mx-auto mb-8">
|
<div class="max-w-2xl mx-auto mb-8" v-if="main">
|
||||||
<!-- <h2 class="text-4xl leading-tight mb-6 font-bold font-heading">
|
<h2 class="text-4xl leading-tight mb-6 font-bold font-heading">
|
||||||
WORK WITH AWESOME PARTNERS
|
{{ main.title }}
|
||||||
</h2> -->
|
</h2>
|
||||||
<p class="text-gray-400 leading-relaxed"></p>
|
<p class="text-gray-400 leading-relaxed"></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-wrap -mx-8">
|
<div class="flex flex-wrap -mx-8">
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ["logos"],
|
props: ["logos", "main"],
|
||||||
methods: {
|
methods: {
|
||||||
img(image) {
|
img(image) {
|
||||||
if (!image) return "";
|
if (!image) return "";
|
||||||
|
|||||||
@@ -96,8 +96,5 @@ export default {
|
|||||||
this.open = !this.open;
|
this.open = !this.open;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
console.log(this.main);
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<CenteredAccordion
|
<CenteredAccordion
|
||||||
v-if="$page.markdownPage.faqContent"
|
v-if="$page.markdownPage.faqContent && id == 'faq'"
|
||||||
:main="$page.markdownPage.faqMain"
|
:main="$page.markdownPage.faqMain"
|
||||||
:faqs="$page.markdownPage.faqContent"
|
:faqs="$page.markdownPage.faqContent"
|
||||||
/>
|
/>
|
||||||
@@ -114,6 +114,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<ShowcaseProducts
|
<ShowcaseProducts
|
||||||
|
class="my-20"
|
||||||
v-if="
|
v-if="
|
||||||
$page.markdownPage.productData2 &&
|
$page.markdownPage.productData2 &&
|
||||||
$page.markdownPage.productData2.length > 0
|
$page.markdownPage.productData2.length > 0
|
||||||
@@ -124,6 +125,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<SolutionsHeader
|
<SolutionsHeader
|
||||||
|
class="mt-20"
|
||||||
v-if="$page.markdownPage.header"
|
v-if="$page.markdownPage.header"
|
||||||
:header="$page.markdownPage.header"
|
:header="$page.markdownPage.header"
|
||||||
/>
|
/>
|
||||||
@@ -146,6 +148,7 @@
|
|||||||
<logoShowcase
|
<logoShowcase
|
||||||
v-if="$page.markdownPage.logos.length > 0"
|
v-if="$page.markdownPage.logos.length > 0"
|
||||||
:logos="$page.markdownPage.logos"
|
:logos="$page.markdownPage.logos"
|
||||||
|
:main="$page.markdownPage.logosMain"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<FourTiersWithToggle
|
<FourTiersWithToggle
|
||||||
@@ -156,7 +159,7 @@
|
|||||||
|
|
||||||
<GetInTouch
|
<GetInTouch
|
||||||
:contacts="$page.markdownPage.contactData"
|
:contacts="$page.markdownPage.contactData"
|
||||||
v-if="$page.markdownPage.contactData.length > 0"
|
v-if="$page.markdownPage.contactData"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SignUp
|
<SignUp
|
||||||
@@ -275,6 +278,10 @@
|
|||||||
title
|
title
|
||||||
content
|
content
|
||||||
}
|
}
|
||||||
|
logosMain {
|
||||||
|
id
|
||||||
|
title
|
||||||
|
}
|
||||||
logos{
|
logos{
|
||||||
id
|
id
|
||||||
image
|
image
|
||||||
@@ -355,9 +362,9 @@
|
|||||||
}
|
}
|
||||||
contactData{
|
contactData{
|
||||||
id
|
id
|
||||||
title
|
# title
|
||||||
mail
|
# mail
|
||||||
phone
|
# phone
|
||||||
}
|
}
|
||||||
signup{
|
signup{
|
||||||
id
|
id
|
||||||
|
|||||||
Reference in New Issue
Block a user