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