convert universe hardcoded imgs

This commit is contained in:
samaradel
2021-04-06 16:54:38 +02:00
parent bedeca466d
commit e9ab7a1537
20 changed files with 74 additions and 28 deletions

View File

@@ -1,7 +1,9 @@
--- ---
id: farming id: farming
title: '' title: THE 3NODE
image: ./farming.png image: ./farming.png
url : /farming button: Tell Me More!
link: /farming
--- ---
Join the Internet economy by hosting a server at your home or office.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 153 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 146 KiB

View File

@@ -1,7 +1,9 @@
--- ---
id: cloud id: cloud
title: '' title: THE THREEFOLD P2P CLOUD
image: ./cloud.png image: ./cloud.png
url : /token button: Tell Me More!
link: /token
--- ---
Build secure software, applications and open Internet services.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 203 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 86 KiB

View File

@@ -1,7 +1,9 @@
--- ---
id: marketplace id: marketplace
title: '' title: THE THREEFOLD MARKETPLACE
image: ./marketplace.png image: ./marketplace.png
url : /marketplace button: Tell Me More!
link: /marketplace
--- ---
Empower your community with peer-to-peer applications and tools.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 122 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.9 KiB

View File

@@ -1,7 +1,9 @@
--- ---
id: twin id: twin
title: '' title: THE DIGITAL TWIN
image: ./twin.png image: ./twin.png
url : /twin button: Tell Me More!
link: https://mydigitaltwin.io/
--- ---
Your private and secure access to the P2P internet.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 130 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -1,7 +1,9 @@
--- ---
id: tech id: tech
title: '' title: THE THREEFOLD TECH
image: ./tech.png image: ./tech.png
url : https://threefold.tech button: Tell Me More!
link: https://threefold.tech
--- ---
Dig deeper into the technology behind the TF Grid.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 165 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 706 KiB

View File

@@ -1,7 +1,9 @@
--- ---
id: aci id: aci
title: '' title: ALLIANCE FOR A CONSCIOUS INTERNET
image: ./aci.png image: ./aci.png
url : /aci button: Tell Me More!
link: /aci
--- ---
A collective ecosystem of planet and human centric projects.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.2 MiB

View File

@@ -7,10 +7,7 @@
> >
{{ main.title }} {{ main.title }}
</h2> </h2>
<p <p v-if="main !== null && main.subtitle" class="mb-6 text-gray-600">
v-if="main !== null && main.subtitle"
class="mb-6 text-gray-600"
>
{{ main.subtitle }} {{ main.subtitle }}
</p> </p>
</div> </div>
@@ -34,6 +31,45 @@
</a> </a>
</div> </div>
<div
class="grid grid-cols-1 gap-4 sm:grid-cols-2 text-center"
v-else-if="id == 'universe'"
>
<div
v-for="(product, idx) in products"
target="_blank"
:key="idx"
:href="product.link"
class="m-auto rounded overflow-hidden transition duration-500"
>
<div>
<g-image :src="img(product.image)" />
<div class="bg-gray-100 font-bold text-xl pt-5">
{{ product.title }}
</div>
<div
v-html="product.content"
class="bg-gray-100 py-2 text-gray-600"
></div>
<div v-if="product.button" class="bg-gray-100 mb-2 py-5 text-center">
<a
v-if="product.link.includes('http')"
target="_blank"
:href="product.link"
class="bg-transparent text-sm learn-button border-gray-900 text-gray-900 px-12 py-2 mr-5 shadow rounded-full"
>{{ product.button }}</a
>
<g-link
v-else
:href="product.link"
class="bg-transparent text-sm learn-button border-gray-900 text-gray-900 px-12 py-2 mr-5 shadow rounded-full"
>{{ product.button }}</g-link
>
</div>
</div>
</div>
</div>
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 text-center" v-else> <div class="grid grid-cols-1 gap-4 sm:grid-cols-2 text-center" v-else>
<a <a
v-for="(product, idx) in products" v-for="(product, idx) in products"
@@ -85,6 +121,9 @@ export default {
return image; return image;
}, },
}, },
mounted() {
console.log(this.products);
},
}; };
</script> </script>

View File

@@ -128,6 +128,7 @@
title title
content content
image image
button
link link
} }
appsMain{ appsMain{