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

Commit 4f7e879

Browse files
style(app-team-landing): updates to tablet sizes
1 parent dc50cf0 commit 4f7e879

File tree

3 files changed

+53
-15
lines changed

3 files changed

+53
-15
lines changed

src/assets/i18n/en.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ export const translations = {
9292
},
9393
landing: {
9494
container: {
95-
title: 'About',
95+
title1: 'What',
96+
title2: 'Does',
9697
skills: 'Skills',
9798
},
9899
cta: {

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

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,50 @@ section.team-landing {
33
font-family: 'Muli', sans-serif;
44

55
.hero {
6+
@include media-breakpoint-down(md) {
7+
height: 350px;
8+
}
69
@include media-breakpoint-down(sm) {
710
background-position: left top;
811
}
9-
background-position: top center;
12+
background-position: center;
13+
background-repeat: no-repeat;
1014
background-size: cover;
11-
height: 534px;
12-
margin: 75px 0 0;
15+
height: 550px;
16+
margin: 71px 0 0;
17+
1318
.container,
1419
.row {
1520
height: 100%;
1621
}
1722

1823
h2 {
19-
@include media-breakpoint-down(lg) {
20-
font-size: 2rem;
24+
@include media-breakpoint-down(md) {
25+
font-size: 1.75rem;
2126
font-weight: 600;
22-
letter-spacing: 1.6px;
23-
line-height: 38px;
27+
line-height: 34px;
28+
text-align: left;
2429
}
25-
2630
@include media-breakpoint-down(sm) {
2731
font-size: 1.75rem;
2832
text-align: center;
2933
}
3034
color: $white;
31-
font-size: 4rem;
35+
font-size: 3rem;
36+
font-weight: 600;
37+
letter-spacing: 1.6px;
38+
line-height: 58px;
3239
margin-bottom: 1rem;
3340
text-align: left;
3441
}
3542

3643
h4 {
44+
@include media-breakpoint-down(md) {
45+
font-size: 1rem;
46+
font-weight: 700;
47+
letter-spacing: 1.02px;
48+
line-height: 19px;
49+
}
3750
@include media-breakpoint-down(sm) {
3851
text-align: center;
3952
}
@@ -47,7 +60,13 @@ section.team-landing {
4760
@include media-breakpoint-down(lg) {
4861
font-size: 1rem;
4962
}
50-
63+
@include media-breakpoint-down(md) {
64+
font-size: 0.81rem;
65+
font-weight: 400;
66+
letter-spacing: 0.6px;
67+
line-height: 17px;
68+
width: 434px;
69+
}
5170
@include media-breakpoint-down(sm) {
5271
text-align: center;
5372
}
@@ -60,6 +79,10 @@ section.team-landing {
6079
}
6180

6281
.bio {
82+
@include media-breakpoint-down(md) {
83+
column-gap: 2rem;
84+
padding: 3rem;
85+
}
6386
@include media-breakpoint-down(sm) {
6487
grid-template-columns: none;
6588
padding: 2rem;
@@ -84,22 +107,35 @@ section.team-landing {
84107
margin-left: 35px;
85108

86109
h2 {
110+
@include media-breakpoint-down(md) {
111+
font-size: 1.5rem;
112+
letter-spacing: 1.54px;
113+
line-height: 29px;
114+
}
87115
color: #333333;
88-
89116
font-size: 2.625rem;
90117
font-weight: 600;
91118
letter-spacing: 2.1px;
92119
line-height: 47px;
93120
text-align: left;
94121
}
95122
h4 {
123+
@include media-breakpoint-down(md) {
124+
font-size: 1rem;
125+
letter-spacing: 1.02px;
126+
line-height: 19px;
127+
}
96128
color: #333333;
97129
font-size: 1.75rem;
98130
font-weight: 600;
99131
line-height: 34px;
100132
text-align: left;
101133
}
102134
p {
135+
@include media-breakpoint-down(md) {
136+
font-size: 0.81rem;
137+
line-height: 28px;
138+
}
103139
color: #4a494a;
104140
font-weight: 400;
105141
line-height: 32px;

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export class AppTeamLanding {
327327
<header
328328
class="hero"
329329
style={{
330-
'background-image': `linear-gradient(90deg, #000000 25%, rgba(255, 255, 255, 0) 100%), url(${backgroundPhoto})`,
330+
'background-image': `linear-gradient(90deg, #000000 20%, rgba(255, 255, 255, 0) 70%), url(${backgroundPhoto})`,
331331
}}
332332
>
333333
<div class="container">
@@ -348,8 +348,9 @@ export class AppTeamLanding {
348348
/>
349349
<div class="text">
350350
<h2>
351-
<app-translate keyword="about.landing.container.title" />
352-
&nbsp;{this.data[this.match.params.member].firstname}
351+
<app-translate keyword="about.landing.container.title1" />
352+
&nbsp;{this.data[this.match.params.member].firstname}&nbsp;
353+
<app-translate keyword="about.landing.container.title2" />
353354
</h2>
354355
<p>{this.data[this.match.params.member].bodyText}</p>
355356
<h4>

0 commit comments

Comments
 (0)