init products part
This commit is contained in:
7
content/page/token/productData/main/main.md
Normal file
7
content/page/token/productData/main/main.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
id: token_product
|
||||||
|
title:
|
||||||
|
subtitle:
|
||||||
|
button: Get Tokens
|
||||||
|
link:
|
||||||
|
---
|
||||||
8
content/page/token/productData/product1/index.md
Normal file
8
content/page/token/productData/product1/index.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
id: swiptft
|
||||||
|
title: SWAP TFT
|
||||||
|
image: ./swiptft.png
|
||||||
|
url:
|
||||||
|
---
|
||||||
|
|
||||||
|
Exchange your TFT with other tokens including Bitcoin.
|
||||||
BIN
content/page/token/productData/product1/swiptft.png
Normal file
BIN
content/page/token/productData/product1/swiptft.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
8
content/page/token/productData/product2/index.md
Normal file
8
content/page/token/productData/product2/index.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
id: spendft
|
||||||
|
title: SPEND TFT
|
||||||
|
image : ./spendft.png
|
||||||
|
url :
|
||||||
|
---
|
||||||
|
|
||||||
|
Purchase products and services on the threefold grid.
|
||||||
BIN
content/page/token/productData/product2/spendft.png
Normal file
BIN
content/page/token/productData/product2/spendft.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
BIN
content/page/token/productData/product3/earn_interst.png
Normal file
BIN
content/page/token/productData/product3/earn_interst.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
8
content/page/token/productData/product3/index.md
Normal file
8
content/page/token/productData/product3/index.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
id: earn_interst
|
||||||
|
title: EARN INTEREST
|
||||||
|
image : ./earn_interst.png
|
||||||
|
url :
|
||||||
|
---
|
||||||
|
|
||||||
|
Earn even more by staking your TFTs (coming 2021).
|
||||||
@@ -12,4 +12,6 @@ comparisonSecs: [expand_grid, invest_token, earn_more]
|
|||||||
partenershipsMain: cryptocurrency_main
|
partenershipsMain: cryptocurrency_main
|
||||||
partnerships:
|
partnerships:
|
||||||
[be_ur_bank, secure, transact_p2p, backed, decentralized, lives_stellar]
|
[be_ur_bank, secure, transact_p2p, backed, decentralized, lives_stellar]
|
||||||
|
productsMain: token_product
|
||||||
|
productData: [swiptft, spendft, earn_interst]
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -33,19 +33,19 @@
|
|||||||
>{{ main.button }}</a
|
>{{ main.button }}</a
|
||||||
> -->
|
> -->
|
||||||
|
|
||||||
<a
|
<a
|
||||||
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
|
||||||
>
|
>
|
||||||
<g-link
|
<g-link
|
||||||
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 }}</g-link
|
>{{ main.button }}</g-link
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -2,17 +2,20 @@
|
|||||||
<div class="py-0 mb-5">
|
<div class="py-0 mb-5">
|
||||||
<div class="w-full text-center">
|
<div class="w-full text-center">
|
||||||
<h2
|
<h2
|
||||||
v-if="main !== null"
|
v-if="main !== null && main.title"
|
||||||
class="text-4xl font-semibold leading-tight font-heading"
|
class="text-4xl font-semibold leading-tight font-heading"
|
||||||
>
|
>
|
||||||
{{ main.title }}
|
{{ main.title }}
|
||||||
</h2>
|
</h2>
|
||||||
<p v-if="main !== null" class="mb-6 text-m tracking-widest text-gray-800">
|
<p
|
||||||
|
v-if="main !== null && main.subtitle"
|
||||||
|
class="mb-6 text-m tracking-widest text-gray-800"
|
||||||
|
>
|
||||||
{{ main.subtitle }}
|
{{ main.subtitle }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center">
|
||||||
<a
|
<a
|
||||||
v-for="(product, idx) in products"
|
v-for="(product, idx) in products"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
@@ -22,11 +25,33 @@
|
|||||||
>
|
>
|
||||||
<div class="px-2 py-2">
|
<div class="px-2 py-2">
|
||||||
<g-image class="py-4" :src="img(product.image)" />
|
<g-image class="py-4" :src="img(product.image)" />
|
||||||
<!-- <div class="font-bold text-xl mb-2">{{ product.title }}</div> -->
|
<div class="font-bold text-xl mb-2">{{ product.title }}</div>
|
||||||
<p v-html="product.content" class="text-gray-700 text-base"></p>
|
<div v-html="product.content" class="text-gray-700 text-base"></div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="main.button" class="my-10 text-center">
|
||||||
|
<!-- <a
|
||||||
|
v-if="main.button"
|
||||||
|
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"
|
||||||
|
:href="main.link"
|
||||||
|
>{{ main.button }}</a
|
||||||
|
> -->
|
||||||
|
|
||||||
|
<a
|
||||||
|
v-if="main.link.includes('http')"
|
||||||
|
target="_blank"
|
||||||
|
:href="main.link"
|
||||||
|
class="bg-blue-900 text-sm uppercase learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
|
||||||
|
>{{ main.button }}</a
|
||||||
|
>
|
||||||
|
<g-link
|
||||||
|
v-else
|
||||||
|
:href="main.link"
|
||||||
|
class="bg-blue-900 text-sm uppercase learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
|
||||||
|
>{{ main.button }}</g-link
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,35 +1,35 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="py-12 mb-5" id="home">
|
<div class="py-12 mb-5" id="home">
|
||||||
<div class="w-full text-center">
|
<div class="w-full text-center">
|
||||||
<h2 v-if="main !== null" class="text-4xl font-semibold leading-tight font-heading">
|
<h2
|
||||||
{{ main.title }}
|
v-if="main !== null"
|
||||||
|
class="text-4xl font-semibold leading-tight font-heading"
|
||||||
|
>
|
||||||
|
{{ main.title }}
|
||||||
</h2>
|
</h2>
|
||||||
<p v-if="main !== null" class="mb-6 text-m tracking-widest text-gray-800">{{ main.subtitle }}</p>
|
<p v-if="main !== null" class="mb-6 text-m tracking-widest text-gray-800">
|
||||||
</div>
|
{{ main.subtitle }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3">
|
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3">
|
||||||
|
<a
|
||||||
<a
|
|
||||||
v-for="(product, idx) in products"
|
v-for="(product, idx) in products"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:key="idx"
|
:key="idx"
|
||||||
:href="product.url"
|
:href="product.url"
|
||||||
class="m-auto rounded overflow-hidden transition duration-500"
|
class="m-auto rounded overflow-hidden transition duration-500"
|
||||||
>
|
>
|
||||||
|
<div class="px-2 py-2">
|
||||||
<div class="px-2 py-2">
|
<g-image class="py-4" :src="img(product.image)" />
|
||||||
<g-image class="py-4" :src="img(product.image)" />
|
<!-- <div class="font-bold text-xl mb-2">{{ product.title }}</div> -->
|
||||||
<!-- <div class="font-bold text-xl mb-2">{{ product.title }}</div> -->
|
<div v-html="product.content" class="text-gray-700 text-base"></div>
|
||||||
<p v-html="product.content" class="text-gray-700 text-base"></p>
|
</div>
|
||||||
</div>
|
</a>
|
||||||
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ["products", "main"],
|
props: ["products", "main"],
|
||||||
|
|||||||
@@ -61,15 +61,6 @@
|
|||||||
:main="$page.markdownPage.partenershipsMain"
|
:main="$page.markdownPage.partenershipsMain"
|
||||||
:partnerships="$page.markdownPage.partnerships"
|
:partnerships="$page.markdownPage.partnerships"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
|
|
||||||
<CallToAction
|
|
||||||
:id="$page.markdownPage.id"
|
|
||||||
v-if="$page.markdownPage.cta2"
|
|
||||||
:cta="$page.markdownPage.cta2"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div class="container sm:pxi-0 mx-auto overflow-x-hidden py-5">
|
|
||||||
<ShowcaseProducts
|
<ShowcaseProducts
|
||||||
v-if="
|
v-if="
|
||||||
$page.markdownPage.productData &&
|
$page.markdownPage.productData &&
|
||||||
@@ -79,6 +70,14 @@
|
|||||||
:products="$page.markdownPage.productData"
|
:products="$page.markdownPage.productData"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<CallToAction
|
||||||
|
:id="$page.markdownPage.id"
|
||||||
|
v-if="$page.markdownPage.cta2"
|
||||||
|
:cta="$page.markdownPage.cta2"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div class="container sm:pxi-0 mx-auto overflow-x-hidden py-5"></div>
|
||||||
</Layout>
|
</Layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -101,6 +100,8 @@
|
|||||||
title
|
title
|
||||||
subtitle
|
subtitle
|
||||||
content
|
content
|
||||||
|
button
|
||||||
|
link
|
||||||
# image
|
# image
|
||||||
}
|
}
|
||||||
productData{
|
productData{
|
||||||
@@ -235,9 +236,6 @@ export default {
|
|||||||
return name;
|
return name;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
console.log(this.$page.markdownPage);
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user