Add join part
This commit is contained in:
@@ -7,6 +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
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- signup: carreers_signup -->
|
<!-- signup: carreers_signup -->
|
||||||
6
content/page/careers/customCTA/cta.md
Normal file
6
content/page/careers/customCTA/cta.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
id: customCTA
|
||||||
|
link: ''
|
||||||
|
title: Join our community
|
||||||
|
img: ./threefold_people.png
|
||||||
|
---
|
||||||
BIN
content/page/careers/customCTA/threefold_people.png
Normal file
BIN
content/page/careers/customCTA/threefold_people.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 MiB |
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
id: positions
|
id: positions
|
||||||
title:
|
title: ''
|
||||||
button1:
|
button1: ''
|
||||||
button2:
|
button2: ''
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- <br/>
|
<!-- <br/>
|
||||||
|
|||||||
@@ -339,6 +339,14 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
use: '@gridsome/source-filesystem',
|
||||||
|
options: {
|
||||||
|
typeName: 'CustomCTA',
|
||||||
|
path: './content/page/**/customCTA/*.md',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
use: '@gridsome/source-filesystem',
|
use: '@gridsome/source-filesystem',
|
||||||
options: {
|
options: {
|
||||||
@@ -393,7 +401,8 @@ module.exports = {
|
|||||||
BlogsMain: "BlogsMain",
|
BlogsMain: "BlogsMain",
|
||||||
faqMain: 'FAQMain',
|
faqMain: 'FAQMain',
|
||||||
faqContent: 'FAQContent',
|
faqContent: 'FAQContent',
|
||||||
jobs: 'Jobs'
|
jobs: 'Jobs',
|
||||||
|
customCTA: 'CustomCTA'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
BIN
src/assets/images/threefold_people.png
Normal file
BIN
src/assets/images/threefold_people.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 MiB |
105
src/components/custom/sections/CustomCTA.vue
Normal file
105
src/components/custom/sections/CustomCTA.vue
Normal 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>
|
||||||
@@ -42,6 +42,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="container-fluid mx-auto pt-24">
|
||||||
|
<CustomCTA link="/" title="Join our community" />
|
||||||
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -54,11 +57,15 @@
|
|||||||
button
|
button
|
||||||
link
|
link
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</page-query>
|
</page-query>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import CustomCTA from "~/components/custom/sections/CustomCTA.vue";
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
CustomCTA,
|
||||||
|
},
|
||||||
metaInfo() {
|
metaInfo() {
|
||||||
return {
|
return {
|
||||||
title: this.$page.job.title,
|
title: this.$page.job.title,
|
||||||
|
|||||||
@@ -344,9 +344,9 @@
|
|||||||
}
|
}
|
||||||
jobsMain{
|
jobsMain{
|
||||||
id
|
id
|
||||||
title
|
# title
|
||||||
button1
|
# button1
|
||||||
button2
|
# button2
|
||||||
excerpt
|
excerpt
|
||||||
}
|
}
|
||||||
jobs{
|
jobs{
|
||||||
|
|||||||
Reference in New Issue
Block a user