Merge branch 'development' of https://github.com/threefoldfoundation/www_examplesite into development
This commit is contained in:
@@ -46,4 +46,7 @@ navLinks:
|
|||||||
social:
|
social:
|
||||||
- icon: telegram-plane
|
- icon: telegram-plane
|
||||||
link: '' #telegaram link
|
link: '' #telegaram link
|
||||||
|
|
||||||
|
- icon: linkedin
|
||||||
|
link: '' #linkedin link
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
id: home
|
id: home
|
||||||
header_title: BIG TITLE
|
header_title: BIG TITLE
|
||||||
header_image: ./image_name.png
|
header_image: ./image_name.png
|
||||||
|
header_altImg: BIG TITLE
|
||||||
header_excerpt: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
|
header_excerpt: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
|
||||||
button: Button
|
button: Button
|
||||||
link: '' #link for button
|
link: '' #link for button
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: logo1
|
id: logo1
|
||||||
image: ./logo.png
|
image: ./logo.png
|
||||||
|
url: '/'
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: logo2
|
id: logo2
|
||||||
image: ./logo.png
|
image: ./logo.png
|
||||||
|
url: '/'
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: logo3
|
id: logo3
|
||||||
image: ./logo.png
|
image: ./logo.png
|
||||||
|
url: '/'
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: logo4
|
id: logo4
|
||||||
image: ./logo.png
|
image: ./logo.png
|
||||||
|
url: '/'
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: logo5
|
id: logo5
|
||||||
image: ./logo.png
|
image: ./logo.png
|
||||||
|
url: '/'
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: logo6
|
id: logo6
|
||||||
image: ./logo.png
|
image: ./logo.png
|
||||||
|
url: '/'
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ featuresMain: features
|
|||||||
features: [feature1, feature2, feature3, feature4, feature5]
|
features: [feature1, feature2, feature3, feature4, feature5]
|
||||||
comparisonMain: comparison
|
comparisonMain: comparison
|
||||||
comparisonSecs: [section1, section2, section3]
|
comparisonSecs: [section1, section2, section3]
|
||||||
productMain: product
|
productsMain: product
|
||||||
productData: [product1, product2, product3]
|
productData: [product1, product2, product3]
|
||||||
brandPanel: brand_panel
|
brandPanel: brand_panel
|
||||||
---
|
---
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
id: product
|
id: product
|
||||||
title: Title
|
title: product
|
||||||
subtitle: Subtitle
|
subtitle: Subtitle
|
||||||
---
|
---
|
||||||
|
|||||||
BIN
content/page/page2/productData/product1/image_name.png
Normal file
BIN
content/page/page2/productData/product1/image_name.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: product1
|
id: product1
|
||||||
title: Title
|
title: Title
|
||||||
content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
|
image : ./image_name.png
|
||||||
---
|
---
|
||||||
|
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
|
||||||
|
|||||||
BIN
content/page/page2/productData/product2/image_name.png
Normal file
BIN
content/page/page2/productData/product2/image_name.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: product2
|
id: product2
|
||||||
title: Title
|
title: Title
|
||||||
content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
|
image : ./image_name.png
|
||||||
---
|
---
|
||||||
|
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
|
||||||
|
|||||||
BIN
content/page/page2/productData/product3/image_name.png
Normal file
BIN
content/page/page2/productData/product3/image_name.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: product3
|
id: product3
|
||||||
title: Title
|
title: Title
|
||||||
content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
|
image : ./image_name.png
|
||||||
---
|
---
|
||||||
|
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
|
||||||
@@ -1,14 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="py-8 mb-5">
|
<div class="py-12 mb-5">
|
||||||
<div class="w-full text-center">
|
<div class="w-full text-center">
|
||||||
<p v-if="main !== null" class="text-sm tracking-widest text-gray-700">{{ main.subtitle }}</p>
|
<p v-if="main !== null" class="text-sm tracking-widest text-gray-700">{{ main.subtitle }}</p>
|
||||||
<h1 v-if="main !== null" class="text-4xl mt-2 mb-6 leading-tight font-heading">
|
<h1 v-if="main !== null" class="text-4xl mt-2 mb-6 leading-tight font-heading">
|
||||||
{{ main.title }}
|
{{ main.title }}
|
||||||
</h1>
|
</h1>
|
||||||
<g-image v-if="main !== null" :src="img(main.image)" class="hidden md:block" />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 sm:hidden">
|
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3">
|
||||||
<div
|
<div
|
||||||
v-for="(product, idx) in products"
|
v-for="(product, idx) in products"
|
||||||
:key="idx"
|
:key="idx"
|
||||||
@@ -18,7 +17,7 @@
|
|||||||
class="m-auto max-w-sm rounded overflow-hidden shadow-lg hover:bg-white transition duration-500 bg-white"
|
class="m-auto max-w-sm rounded overflow-hidden shadow-lg hover:bg-white transition duration-500 bg-white"
|
||||||
>
|
>
|
||||||
<div class="px-2 py-2">
|
<div class="px-2 py-2">
|
||||||
<g-image :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>
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="pt-8 px-4 text-center">
|
<section class="pt-8 px-4 text-center">
|
||||||
<div class="max-w-2xl mx-auto mb-8">
|
<div class="max-w-2xl mx-auto mb-8">
|
||||||
<h2 class="text-4xl leading-tight mb-6 font-semibold font-heading">Our Partners</h2>
|
<h2 class="text-4xl leading-tight mb-6 font-semibold font-heading">
|
||||||
|
Meet some of our partners
|
||||||
|
</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">
|
||||||
<div v-for="(logo ,idx) in logos" :key="idx" class="w-1/2 md:w-1/6 px-8 mb-8">
|
<g-link
|
||||||
<img :src="logo.image.src" alt />
|
v-for="(logo, idx) in logos"
|
||||||
</div>
|
:key="idx"
|
||||||
|
:to="logo.url"
|
||||||
|
class="w-1/2 md:w-1/6 px-8 mb-8"
|
||||||
|
>
|
||||||
|
<g-image :src="img(logo.image)" />
|
||||||
|
</g-link>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
@@ -15,13 +22,13 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ["logos"],
|
props: ["logos"],
|
||||||
computed: {
|
methods: {
|
||||||
img: function() {
|
img(image) {
|
||||||
if (!this.image) return "";
|
if (!image) return "";
|
||||||
if (this.image.src) return this.image.src;
|
if (image.src) return image.src;
|
||||||
return this.image;
|
return image;
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -20,10 +20,7 @@
|
|||||||
:card="card"
|
:card="card"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<CallToAction
|
<CallToAction v-if="$page.markdownPage.cta" :cta="$page.markdownPage.cta" />
|
||||||
v-if="$page.markdownPage.cta"
|
|
||||||
:cta="$page.markdownPage.cta"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<logoShowcase
|
<logoShowcase
|
||||||
v-if="$page.markdownPage.logos.length > 0"
|
v-if="$page.markdownPage.logos.length > 0"
|
||||||
@@ -81,6 +78,7 @@
|
|||||||
logos{
|
logos{
|
||||||
id
|
id
|
||||||
image
|
image
|
||||||
|
url
|
||||||
}
|
}
|
||||||
inTheNews {
|
inTheNews {
|
||||||
id
|
id
|
||||||
|
|||||||
@@ -23,11 +23,12 @@
|
|||||||
:header="$page.markdownPage.header"
|
:header="$page.markdownPage.header"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<g-image
|
<g-image class="m-auto my-4"
|
||||||
v-if="$page.markdownPage.solution_image"
|
v-if="$page.markdownPage.solution_image"
|
||||||
:src="$page.markdownPage.solution_image.src"
|
:src="$page.markdownPage.solution_image.src"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
<NewCard
|
<NewCard
|
||||||
v-for="card in $page.markdownPage.cards"
|
v-for="card in $page.markdownPage.cards"
|
||||||
:key="card.id"
|
:key="card.id"
|
||||||
@@ -49,7 +50,8 @@
|
|||||||
<Comparison
|
<Comparison
|
||||||
v-if="
|
v-if="
|
||||||
$page.markdownPage.comparisonSecs &&
|
$page.markdownPage.comparisonSecs &&
|
||||||
$page.markdownPage.comparisonSecs.length > 0"
|
$page.markdownPage.comparisonSecs.length > 0
|
||||||
|
"
|
||||||
:main="$page.markdownPage.comparisonMain"
|
:main="$page.markdownPage.comparisonMain"
|
||||||
:sections="$page.markdownPage.comparisonSecs"
|
:sections="$page.markdownPage.comparisonSecs"
|
||||||
/>
|
/>
|
||||||
@@ -157,7 +159,7 @@
|
|||||||
id
|
id
|
||||||
title
|
title
|
||||||
subtitle
|
subtitle
|
||||||
image
|
# image
|
||||||
}
|
}
|
||||||
productData{
|
productData{
|
||||||
id
|
id
|
||||||
@@ -307,7 +309,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// console.log(this.$page.markdownPage.plans);
|
console.log(this.$page.markdownPage);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ query ($private: Int){
|
|||||||
header_title
|
header_title
|
||||||
header_excerpt
|
header_excerpt
|
||||||
path
|
path
|
||||||
title
|
# title
|
||||||
excerpt
|
excerpt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user