Update cta image

This commit is contained in:
samaradel
2021-08-01 11:44:55 +02:00
parent 0fc4a83f10
commit 96c9288c86
5 changed files with 13 additions and 8 deletions

View File

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

View File

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

View File

@@ -6,11 +6,15 @@
<font-awesome :icon="['fas', 'long-arrow-alt-right']" /> <font-awesome :icon="['fas', 'long-arrow-alt-right']" />
</h2> </h2>
</div> </div>
<div
class="back"
:style="{ 'background-image': 'url(' + image.src + ')' }"
></div>
</g-link> </g-link>
</template> </template>
<script> <script>
export default { export default {
props: ["link", "title"], props: ["link", "title", "image"],
}; };
</script> </script>
@@ -20,6 +24,7 @@ export default {
margin: 0; margin: 0;
padding: 120px 0; padding: 120px 0;
text-align: center; text-align: center;
position: relative;
display: block; display: block;
color: #fff !important; color: #fff !important;
letter-spacing: 0.5px; letter-spacing: 0.5px;
@@ -60,10 +65,6 @@ export default {
transition: 1.5s; transition: 1.5s;
} }
/* .banner.banner-careers .back {
background-image: url(images/holo-team-banner.jpg)
} */
.banner:hover { .banner:hover {
background: #4b3a92; background: #4b3a92;
} }
@@ -78,7 +79,7 @@ export default {
} }
.banner:hover .back { .banner:hover .back {
/* transform: scale(1.03) */ transform: scale(1.03);
} }
@media (max-width: 640px) { @media (max-width: 640px) {

View File

@@ -48,6 +48,7 @@
:key="edge.node.id" :key="edge.node.id"
:title="edge.node.title" :title="edge.node.title"
:link="edge.node.link" :link="edge.node.link"
:image="edge.node.image"
/> />
</div> </div>
</Layout> </Layout>
@@ -68,6 +69,7 @@
id id
title title
link link
image
} }
} }
} }

View File

@@ -179,6 +179,7 @@
v-if="edge.node.id == $page.markdownPage.id" v-if="edge.node.id == $page.markdownPage.id"
:title="edge.node.title" :title="edge.node.title"
:link="edge.node.link" :link="edge.node.link"
:image="edge.node.image"
/> />
</div> </div>
</Layout> </Layout>
@@ -395,6 +396,7 @@
id id
title title
link link
image
} }
} }
} }