update links

This commit is contained in:
2021-02-14 11:21:52 +02:00
parent 6124069d95
commit 53ba49b37b
10 changed files with 20 additions and 18 deletions

View File

@@ -2,6 +2,6 @@
id: product1 id: product1
title: '' title: ''
image : ./farming_card.png image : ./farming_card.png
url : https://farming.threefold.io
--- ---
<!-- 'https://farming.threefold.io' -->

View File

@@ -2,6 +2,6 @@
id: product2 id: product2
title: '' title: ''
image : ./cloud_card.png image : ./cloud_card.png
url : https://cloud.threefold.io
--- ---
<!-- 'https://cloud.threefold.io' -->

View File

@@ -2,6 +2,6 @@
id: product3 id: product3
title: '' title: ''
image : ./marketplace_card.png image : ./marketplace_card.png
url : https://now.threefold.io
--- ---
<!-- 'https://now.threefold.io' -->

View File

@@ -2,6 +2,6 @@
id: product4 id: product4
title: '' title: ''
image : ./twin_card.png image : ./twin_card.png
url : https://twin.threefold.io
--- ---
<!-- 'https://twin.threefold.io' -->

View File

@@ -2,6 +2,6 @@
id: product5 id: product5
title: '' title: ''
image : ./grid_card.png image : ./grid_card.png
url : https://threefold.tech
--- ---
<!-- 'https://threefold.tech' -->

View File

@@ -2,6 +2,6 @@
id: product6 id: product6
title: '' title: ''
image : ./aci_card.png image : ./aci_card.png
url : https://consciousinternet.org
--- ---
<!-- 'https://consciousinternet.org' -->

View File

@@ -14,19 +14,19 @@
<g-link <g-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="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
v-if="cta.button" v-if="cta.button"
:to="cta.link" :to="cta.link"
>{{ cta.button }}</g-link >{{ cta.button }}</g-link
> >
<g-link <g-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="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
v-if="cta.button2" v-if="cta.button2"
:to="cta.link2" :to="cta.link2"
>{{ cta.button2 }}</g-link >{{ cta.button2 }}</g-link
> >
<g-link <g-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="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
v-if="cta.button3" v-if="cta.button3"
:to="cta.link3" :to="cta.link3"
>{{ cta.button3 }}</g-link >{{ cta.button3 }}</g-link

View File

@@ -11,12 +11,12 @@
></div> ></div>
<div> <div>
<g-link <g-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="inline-block bg-blue-900 text-lg learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 my-2 rounded shadow rounded-full"
v-if="header.btn1" v-if="header.btn1"
:to="header.link1" :to="header.link1"
>{{ header.btn1 }}</g-link >{{ header.btn1 }}</g-link
><g-link ><g-link
class="bg-teal-300 text-sm learn-button hover:bg-teal-400 text-gray-900 px-12 py-2 mr-3 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

View File

@@ -8,21 +8,22 @@
</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-2">
<div
<g-link
v-for="(product, idx) in products" v-for="(product, idx) in products"
:key="idx" :key="idx"
class="p-2 sm:p-0 text-center cursor-pointer" :to="product.url"
> class="m-auto rounded overflow-hidden transition duration-500"
<div
class="m-auto rounded overflow-hidden hover:bg-white 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> -->
<p v-html="product.content" class="text-gray-700 text-base"></p> <p v-html="product.content" class="text-gray-700 text-base"></p>
</div> </div>
</div>
</div> </g-link>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -109,6 +109,7 @@
title title
content content
image image
url
} }
cards{ cards{
id id