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

Commit be37808

Browse files
fix(app-team-landing): add in new cta with localization
1 parent d064ebc commit be37808

File tree

2 files changed

+48
-3
lines changed

2 files changed

+48
-3
lines changed

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)