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

Commit 101ac79

Browse files
authored
Merge pull request #335 from openforge/fix/about-banner-mobile
fix(app-about): add mobile custom banner for team-photo section
2 parents e03f828 + 50e3bef commit 101ac79

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-9
lines changed

src/assets/i18n/en.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ export const translations = {
5656
"We believe that your success is our success. We're here to challenge your assumptions and help you discover your web or mobile applications full potential.",
5757
action: "LEARN MORE"
5858
},
59+
mission: {
60+
statement: 'Our mission is to forge a bond between people and technology through digital experiences.'
61+
},
5962
values: {
6063
title: 'Our Values',
6164
text: 'While we specialize in user experience design and application development, our true strength lies in our team values. We believe that transparency, honesty, and integrity, and a desire to help others is paramount to a happy and successful lifestyle. We love working with our partners who share similar beliefs; and hope to collaborate on impactful projects worldwide!',

src/pages/app-about/app-about.scss

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.about {
22
font-family: 'Muli', sans-serif;
3+
overflow-x: hidden;
34

45
.hero {
56
background: url('/assets/svg/about-graphic-header.svg') right top no-repeat;
@@ -39,9 +40,8 @@
3940
height: 100%;
4041
min-height: 540px;
4142

42-
@include media-breakpoint-down(xs) {
43-
background-image: none;
44-
min-height: 100px;
43+
@include media-breakpoint-down(sm) {
44+
min-height: 240px;
4545
}
4646

4747
app-img {
@@ -50,16 +50,27 @@
5050
transform: translate(-50%, -50%);
5151
width: 100%;
5252

53-
@include media-breakpoint-down(xs) {
54-
align-content: center;
55-
display: flex;
56-
position: relative;
57-
top: 0;
58-
transform: none;
53+
@include media-breakpoint-down(sm) {
54+
display: none;
5955
}
6056
}
6157
}
6258

59+
.mission-statement {
60+
background: linear-gradient(-160deg, #f99a2a 0%, #f9902a 100%);
61+
display: none;
62+
height: 100px;
63+
64+
p {
65+
line-height: 24px;
66+
margin: 0;
67+
}
68+
69+
@include media-breakpoint-down(sm) {
70+
display: block;
71+
}
72+
}
73+
6374
.values, .members {
6475
padding: 5rem 0;
6576

@@ -69,7 +80,9 @@
6980
}
7081
}
7182

83+
7284
.value-text {
7385
font-size: 24px;
7486
}
87+
7588
}

src/pages/app-about/app-about.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,15 @@ export class AppAbout {
271271
</div>
272272
</section>
273273

274+
{/* section - mission statement */ }
275+
<section id="mission-statement" class="mission-statement">
276+
<div class="mission-statement d-flex text-center">
277+
<p class="text-white align-self-center">
278+
<app-translate key="about.mission.statement" />
279+
</p>
280+
</div>
281+
</section>
282+
274283
{/* section - values */}
275284
<section id="values" class="values">
276285
<div class="container text-center">

0 commit comments

Comments
 (0)