Update custom cta

This commit is contained in:
samaradel
2021-08-01 11:01:57 +02:00
parent 917ea3cd6e
commit 0fc4a83f10
7 changed files with 48 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ solution_image: ./threefold_people.png
header: join_us header: join_us
jobsMain: positions jobsMain: positions
jobs: [plan1, plan2, plan3, plan4, plan5, plan6] jobs: [plan1, plan2, plan3, plan4, plan5, plan6]
customCTA: customCTA customCTA: careers
--- ---
<!-- signup: carreers_signup --> <!-- signup: carreers_signup -->

View File

@@ -1,5 +1,5 @@
--- ---
id: customCTA id: careers
link: /community link: /community
title: Join our Community title: Join our Community
img: ./threefold_people.png img: ./threefold_people.png

View File

@@ -7,5 +7,5 @@ solution_image: ./community.png
header: join_community header: join_community
logosMain: logosMain logosMain: logosMain
logos: [tele_1, tele_4, tele_3, tele_2] logos: [tele_1, tele_4, tele_3, tele_2]
customCTA_2: customCTA_2 customCTA: community
--- ---

View File

@@ -1,5 +1,5 @@
--- ---
id: customCTA_2 id: community
link: /careers link: /careers
title: Join our Team title: Join our Team
img: ./threefold_people.png img: ./threefold_people.png

View File

Before

Width:  |  Height:  |  Size: 13 MiB

After

Width:  |  Height:  |  Size: 13 MiB

View File

@@ -43,7 +43,12 @@
</section> </section>
</div> </div>
<div class="container-fluid mx-auto pt-24"> <div class="container-fluid mx-auto pt-24">
<CustomCTA link="/" title="Join our community" /> <CustomCTA
v-for="edge in $page.allCustomCta.edges"
:key="edge.node.id"
:title="edge.node.title"
:link="edge.node.link"
/>
</div> </div>
</Layout> </Layout>
</template> </template>
@@ -57,6 +62,15 @@
button button
link link
} }
allCustomCta {
edges {
node {
id
title
link
}
}
}
} }
</page-query> </page-query>

View File

@@ -49,14 +49,13 @@
:sections="$page.markdownPage.comparisonSecs" :sections="$page.markdownPage.comparisonSecs"
/> />
</div> </div>
<g-image <g-image
v-if=" v-if="
$page.markdownPage.id !== 'careers' && $page.markdownPage.id !== 'careers' && $page.markdownPage.solution_image
$page.markdownPage.solution_image "
" class="mx-auto mt-10"
class="mx-auto mt-10" :src="$page.markdownPage.solution_image.src"
:src="$page.markdownPage.solution_image.src" />
/>
<div class="container sm:pxi-0 mx-auto overflow-x-hidden py-5"> <div class="container sm:pxi-0 mx-auto overflow-x-hidden py-5">
<CallToAction <CallToAction
:id="$page.markdownPage.id" :id="$page.markdownPage.id"
@@ -171,6 +170,17 @@
:signup="$page.markdownPage.signup" :signup="$page.markdownPage.signup"
/> />
</div> </div>
<div
class="container-fluid mx-auto"
v-for="edge in $page.allCustomCta.edges"
:key="edge.node.id"
>
<CustomCTA
v-if="edge.node.id == $page.markdownPage.id"
:title="edge.node.title"
:link="edge.node.link"
/>
</div>
</Layout> </Layout>
</template> </template>
@@ -379,6 +389,15 @@
link2 link2
} }
} }
allCustomCta {
edges {
node {
id
title
link
}
}
}
} }
</page-query> </page-query>
@@ -404,6 +423,7 @@ import BrandPanel from "~/components/marketing/sections/cta-sections/BrandPanel.
import AppListItem from "~/components/AppListItem.vue"; import AppListItem from "~/components/AppListItem.vue";
import Partenerships from "~/components/marketing/sections/team-sections/grid_with_large_round_images.vue"; import Partenerships from "~/components/marketing/sections/team-sections/grid_with_large_round_images.vue";
import CenteredAccordion from "~/components/marketing/sections/faq-sections/CenteredAccordion.vue"; import CenteredAccordion from "~/components/marketing/sections/faq-sections/CenteredAccordion.vue";
import CustomCTA from "~/components/custom/sections/CustomCTA.vue";
export default { export default {
components: { components: {
@@ -427,6 +447,7 @@ export default {
AppListItem, AppListItem,
Partenerships, Partenerships,
CenteredAccordion, CenteredAccordion,
CustomCTA,
}, },
computed: { computed: {
getImg() { getImg() {