Merge branch 'development' of github.com:threefoldtech/www_partners_v2 into development
This commit is contained in:
23
src/components/Header.vue
Normal file
23
src/components/Header.vue
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<template>
|
||||||
|
<section class="py-12 px-4">
|
||||||
|
<div class="flex flex-wrap items-center text-center lg:text-left -mx-2">
|
||||||
|
<div class="lg:w-1/2 px-2 lg:pr-10 mt-10 lg:mt-0 order-1 lg:order-none">
|
||||||
|
<h2 class="text-4xl mb-6 leading-tight font-semibold font-heading">{{ header.title }}</h2>
|
||||||
|
<p class="mb-8 text-gray-700 leading-relaxed">{{ header.content }}</p>
|
||||||
|
<!-- <div>
|
||||||
|
<a class="inline-block py-4 px-8 mr-6 leading-none text-white bg-indigo-600 hover:bg-indigo-700 font-semibold rounded shadow" href="#">Sign up</a>
|
||||||
|
<a class="text-indigo-600 hover:underline" href="#">Learn more</a>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
<div class="lg:w-1/2 px-2"><img :src="header.img" :alt="header.altImg"></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: ["header"],
|
||||||
|
};
|
||||||
|
</script>
|
||||||
@@ -2,22 +2,26 @@
|
|||||||
<Layout :hideHeader="true" :disableScroll="true">
|
<Layout :hideHeader="true" :disableScroll="true">
|
||||||
<div class="container sm:pxi-0 mx-auto overflow-hidden">
|
<div class="container sm:pxi-0 mx-auto overflow-hidden">
|
||||||
<!-- <VacationCard img="" imgAlt="" eyebrow="" title="" pricing="" url="" /> -->
|
<!-- <VacationCard img="" imgAlt="" eyebrow="" title="" pricing="" url="" /> -->
|
||||||
|
<Header
|
||||||
<div class="py-10 flex flex-col">
|
v-for="header in headers"
|
||||||
|
:key="header.title"
|
||||||
|
:header="header"
|
||||||
|
/>
|
||||||
|
<!-- <div class="py-10 flex flex-col">
|
||||||
<section class="py-10">
|
<section class="py-10">
|
||||||
<div class="flex flex-wrap items-center -mx-8">
|
<div class="flex flex-wrap items-center -mx-8">
|
||||||
<div class="md:ml-auto md:w-1/2 md:pl-20 px-10">
|
<div class="md:ml-auto md:w-1/2 md:pl-20 px-10">
|
||||||
<h2 class="text-4xl font-bold font-tf-secondary">
|
<h2 class="text-4xl font-bold font-tf-secondary">
|
||||||
Welcome to the growing ecosystem of ThreeFold
|
Welcome to the growing ecosystem of ThreeFold
|
||||||
</h2>
|
</h2>
|
||||||
<!-- <p class="text-gray-600 leading-relaxed">Welcome to the growing ecosystem of ThreeFold</p> -->
|
<p class="text-gray-600 leading-relaxed">Welcome to the growing ecosystem of ThreeFold</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="md:ml-auto md:w-1/2 pl-8">
|
<div class="md:ml-auto md:w-1/2 pl-8">
|
||||||
<img class="object-cover" src="img/equality.png" alt="imgAlt" />
|
<img class="object-cover" src="img/equality.png" alt="imgAlt" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<!-- <section class="py-5 m-5 px-0 shadow-xl border border-gray-300">
|
<!-- <section class="py-5 m-5 px-0 shadow-xl border border-gray-300">
|
||||||
<div class="flex flex-wrap items-center -mx-8">
|
<div class="flex flex-wrap items-center -mx-8">
|
||||||
@@ -70,6 +74,8 @@
|
|||||||
|
|
||||||
<!-- <vue-markdown> </vue-markdown> -->
|
<!-- <vue-markdown> </vue-markdown> -->
|
||||||
<NewCard v-for="card in cards" :key="card.title" :card="card" />
|
<NewCard v-for="card in cards" :key="card.title" :card="card" />
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
</template>
|
</template>
|
||||||
@@ -77,6 +83,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import VueMarkdown from "vue-markdown";
|
import VueMarkdown from "vue-markdown";
|
||||||
import NewCard from "~/components/NewCard.vue";
|
import NewCard from "~/components/NewCard.vue";
|
||||||
|
import Header from "~/components/Header.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
metaInfo: {
|
metaInfo: {
|
||||||
@@ -110,6 +117,14 @@ export default {
|
|||||||
link: "/blog",
|
link: "/blog",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
headers: [
|
||||||
|
{
|
||||||
|
title: "THANK YOU THREEFOLD MEMBERS",
|
||||||
|
img: "img/equality.png",
|
||||||
|
altImg :"home",
|
||||||
|
content:"Welcome to the growing ecosystem of ThreeFold.",
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -122,10 +137,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
VueMarkdown,
|
VueMarkdown,
|
||||||
NewCard,
|
NewCard,
|
||||||
|
Header,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user