Add join part

This commit is contained in:
samaradel
2021-07-29 13:09:07 +00:00
parent 537dc3bee9
commit 29e1fbd1cf
9 changed files with 136 additions and 8 deletions

View File

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

View File

@@ -0,0 +1,6 @@
---
id: customCTA
link: ''
title: Join our community
img: ./threefold_people.png
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

View File

@@ -1,8 +1,8 @@
---
id: positions
title:
button1:
button2:
title: ''
button1: ''
button2: ''
---
<!-- <br/>

View File

@@ -339,6 +339,14 @@ module.exports = {
}
},
{
use: '@gridsome/source-filesystem',
options: {
typeName: 'CustomCTA',
path: './content/page/**/customCTA/*.md',
}
},
{
use: '@gridsome/source-filesystem',
options: {
@@ -393,7 +401,8 @@ module.exports = {
BlogsMain: "BlogsMain",
faqMain: 'FAQMain',
faqContent: 'FAQContent',
jobs: 'Jobs'
jobs: 'Jobs',
customCTA: 'CustomCTA'
}
}
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

View File

@@ -0,0 +1,105 @@
<template>
<g-link :to="link" class="section banner">
<div class="center">
<h2 class="h1">
<strong>{{ title }}</strong>
<font-awesome :icon="['fas', 'long-arrow-alt-right']" />
</h2>
</div>
<!-- <div
class="back"
:style="{
backgroundImage: require(`!!assets-loader!@images/threefold_people.png`),
}"
></div> -->
</g-link>
</template>
<script>
export default {
props: ["link", "title"],
};
</script>
<style scoped>
.banner {
width: 100%;
margin: 0;
padding: 120px 0;
text-align: center;
display: block;
color: #fff !important;
letter-spacing: 0.5px;
overflow: hidden;
background: #00838d;
transition: 1.5s;
}
.banner .h1 {
margin: auto;
color: #fff;
position: relative;
transition: 0.3s;
z-index: 1;
white-space: nowrap;
}
.banner .h1 svg {
font-size: 40px;
margin-left: 15px;
position: absolute;
top: 55%;
transform: translateY(-50%) scale(0.5);
opacity: 0;
transition: 0.3s;
}
.banner .back {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-position: center;
background-size: cover;
filter: grayscale(1) contrast(1.4);
opacity: 0.25;
transition: 1.5s;
}
/* .banner.banner-careers .back {
background-image: url(images/holo-team-banner.jpg)
} */
.banner:hover {
background: #4b3a92;
}
.banner:hover .h1 svg {
transform: translateY(-50%) scale(1);
opacity: 1;
}
.banner:hover .h1 {
padding-right: 40px;
}
.banner:hover .back {
/* transform: scale(1.03) */
}
@media (max-width: 640px) {
.banner .h1 {
font: 600 7vw/10vw;
}
.banner .h1 svg {
font-size: 30px;
}
}
@media (max-width: 480px) {
.banner {
padding: 80px 0;
}
}
</style>

View File

@@ -42,6 +42,9 @@
</a>
</section>
</div>
<div class="container-fluid mx-auto pt-24">
<CustomCTA link="/" title="Join our community" />
</div>
</Layout>
</template>
@@ -54,11 +57,15 @@
button
link
}
}
}
</page-query>
<script>
import CustomCTA from "~/components/custom/sections/CustomCTA.vue";
export default {
components: {
CustomCTA,
},
metaInfo() {
return {
title: this.$page.job.title,

View File

@@ -344,9 +344,9 @@
}
jobsMain{
id
title
button1
button2
# title
# button1
# button2
excerpt
}
jobs{