update bottom

This commit is contained in:
2021-02-11 19:20:15 +02:00
parent f3de847daa
commit 821fe8a252
7 changed files with 53 additions and 16 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -3,6 +3,11 @@ id: home_cta
title: Join the Movement! title: Join the Movement!
button: Support us by purchasing Tokens button: Support us by purchasing Tokens
link: '' #Add button link here link: '' #Add button link here
button2: Spread Our Message
link2: '' #Add button link here
button3: Joine Our Community
link3: '' #Add button link here
image: ./bottom_cta.png
--- ---
Be part of a better tomorrow, today. Be part of a better tomorrow, today.

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

View File

@@ -1,6 +1,9 @@
<template> <template>
<section class="py-12 px-4 text-center"> <section class="pb-20 px-4 bg-cover text-center" :style="img">
<div class="w-full max-w-2xl mx-auto"> <br>
<br>
<br>
<div class="w-full max-w-7xl mx-auto">
<h2 class="text-4xl leading-tight font-semibold font-heading"> <h2 class="text-4xl leading-tight font-semibold font-heading">
{{ cta.title }} {{ cta.title }}
</h2> </h2>
@@ -8,18 +11,41 @@
v-html="cta.content" v-html="cta.content"
class="mt-6 mb-8 text-gray-700 leading-relaxed" class="mt-6 mb-8 text-gray-700 leading-relaxed"
></div> ></div>
<g-link <g-link
v-if="cta.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" 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"
:to="cta.link" v-if="cta.button"
:to="cta.link1"
>{{ cta.button }}</g-link >{{ cta.button }}</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"
v-if="cta.button2"
:to="cta.link2"
>{{ cta.button2 }}</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"
v-if="cta.button3"
:to="cta.link3"
>{{ cta.button3 }}</g-link
>
</div> </div>
</section> </section>
</template> </template>
<script> <script>
export default { export default {
computed: {
img: function () {
if (this.cta.image.src)
return "background-image:url(" + this.cta.image.src + ")";
return this.cta.image;
},
},
props: ["cta"], props: ["cta"],
}; };
</script> </script>

View File

@@ -55,15 +55,8 @@
:logos="$page.markdownPage.logos" :logos="$page.markdownPage.logos"
/> />
<g-image
v-if="$page.markdownPage.solution_image2"
:src="$page.markdownPage.solution_image2.src"
/>
<CallToAction
v-if="$page.markdownPage.cta"
:cta="$page.markdownPage.cta"
/>
<!-- <InTheNews <!-- <InTheNews
v-if="$page.markdownPage.inTheNews" v-if="$page.markdownPage.inTheNews"
@@ -75,6 +68,14 @@
:signup="$page.markdownPage.signup" :signup="$page.markdownPage.signup"
/> --> /> -->
</div> </div>
<g-image
v-if="$page.markdownPage.solution_image2"
:src="$page.markdownPage.solution_image2.src"
/>
<CallToAction
v-if="$page.markdownPage.cta"
:cta="$page.markdownPage.cta"
/>
</Layout> </Layout>
</template> </template>
@@ -126,7 +127,12 @@
title title
content content
button button
button2
button3
link link
link2
link3
image
} }
comparisonMain{ comparisonMain{
id id