Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit e03f828

Browse files
authored
Merge pull request #334 from openforge/fix/team-landing-cta
fix(app-team-landing): add separate CTA for app-team-landing
2 parents f684ce7 + a02cc04 commit e03f828

File tree

5 files changed

+60
-11
lines changed

5 files changed

+60
-11
lines changed

src/assets/i18n/en.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,17 @@ export const translations = {
8383
},
8484
},
8585
},
86+
landing: {
87+
container: {
88+
title1: 'What',
89+
title2: 'Does',
90+
skills: 'Skills'
91+
},
92+
cta: {
93+
title: 'Meet The Team',
94+
button: `Let's Go`
95+
}
96+
}
8697
},
8798

8899
contact: {

src/components/app-cta/app-cta.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,4 @@
5656
margin: 2rem 0;
5757
}
5858
}
59-
60-
.btn {
61-
margin-top: 4rem;
62-
@include media-breakpoint-down(sm) {
63-
margin-top: 2rem;
64-
}
65-
}
6659
}

src/components/app-cta/app-cta.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class AppCta {
4141
</h2>
4242

4343
<stencil-route-link url="/contact">
44-
<button class="btn btn-primary">
44+
<button class="btn btn-primary mt-md-4 mt-sm-2">
4545
<app-translate key="cta.link" />
4646
</button>
4747
</stencil-route-link>

src/pages/app-team-landing/app-team-landing.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// section - team-landing
22
section.team-landing {
3+
font-family: 'Muli', sans-serif;
34
// hero
45
.hero {
56
background-position: top center;
@@ -142,4 +143,27 @@ section.team-landing {
142143
color: $white;
143144
font-size: 12px;
144145
}
146+
147+
.cta {
148+
background: linear-gradient(-160deg, #f99a2a 0%, #f9902a 100%);
149+
height: 114px;
150+
151+
@include media-breakpoint-down(sm) {
152+
height: 140px;
153+
}
154+
155+
.cta-container {
156+
height: inherit;
157+
line-height: 2.5rem;
158+
}
159+
160+
h3 {
161+
font-size: 1.5rem;
162+
margin: 0 4rem;
163+
@include media-breakpoint-down(sm) {
164+
margin-left: 0;
165+
margin-right: 2rem;
166+
}
167+
}
168+
}
145169
}

src/pages/app-team-landing/app-team-landing.tsx

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,15 +472,36 @@ export class AppTeamLanding {
472472
/>
473473
<div class="text-img-container-text">
474474
<h2>
475-
What {this.data[this.match.params.member].firstname} Does
475+
<app-translate key="about.landing.container.title1" />
476+
&nbsp;{this.data[this.match.params.member].firstname}&nbsp;
477+
<app-translate key="about.landing.container.title2" />
476478
</h2>
477479
<p>{this.data[this.match.params.member].bodyText}</p>
478-
<h4>Skills</h4>
480+
<h4>
481+
<app-translate key="about.landing.container.skills" />
482+
</h4>
479483
{this.chips}
480484
</div>
481485
</section>
482486
</div>,
483-
<app-cta />,
487+
488+
<aside class="cta text-white">
489+
<div class="cta-container d-flex flex-row justify-content-center">
490+
<h3 class="align-self-center">
491+
<app-translate key="about.landing.cta.title" />
492+
</h3>
493+
494+
<stencil-route-link url="/about" class="align-self-center">
495+
<button class="btn btn-primary">
496+
<app-translate key="about.landing.cta.button" />
497+
</button>
498+
</stencil-route-link>
499+
</div>
500+
</aside>,
501+
502+
503+
504+
484505
<app-footer />,
485506
]
486507
: null}

0 commit comments

Comments
 (0)