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

Commit e20a7e3

Browse files
committed
refactor(our-work): translation and color variables
1 parent b04f6cc commit e20a7e3

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

src/assets/i18n/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ export const translations = {
462462
button: 'View Project',
463463
},
464464
worked_with: "Who We've Worked With",
465+
more_projects: 'More Projects',
465466
},
466467

467468
cta: {

src/pages/app-our-work-single/app-our-work-single.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
h1 {
44-
color: #ffffff;
44+
color: $white;
4545
font-family: 'Muli';
4646
font-size: 48px;
4747
font-weight: 600;
@@ -61,7 +61,7 @@
6161
}
6262

6363
p {
64-
color: #ffffff;
64+
color: $white;
6565
font-family: 'Muli';
6666
font-size: 18px;
6767
font-weight: 400;
@@ -132,7 +132,7 @@
132132
}
133133
}
134134
h2 {
135-
color: #333333;
135+
color: $gray-dark;
136136
font-family: 'Muli';
137137
font-size: 42px;
138138
font-weight: 600;
@@ -152,7 +152,7 @@
152152

153153
p {
154154
margin-top: 30px;
155-
color: #292a2d;
155+
color: $gray-dark;
156156
font-family: 'Muli';
157157
font-size: 18px;
158158
font-weight: 400;
@@ -202,7 +202,7 @@
202202
margin-top: 80px;
203203

204204
.key-features-text {
205-
background-color: #292a2d;
205+
background-color: $gray-dark;
206206
padding-bottom: 36px;
207207
padding-top: 60px;
208208

@@ -282,7 +282,7 @@
282282
}
283283

284284
h2 {
285-
color: #292a2d;
285+
color: $gray-dark;
286286
font-family: 'Muli';
287287
font-size: 52px;
288288
font-weight: 600;
@@ -341,7 +341,7 @@
341341
}
342342

343343
button {
344-
background-color: #292a2d;
344+
background-color: $gray-dark;
345345
border-radius: 16px;
346346
box-shadow: 0 2px 4px 0 rgba(128, 128, 128, 0.5);
347347
width: 188px;
@@ -358,7 +358,7 @@
358358

359359
.more-project-single {
360360
p {
361-
color: #292a2d;
361+
color: $gray-dark;
362362
font-family: 'Muli';
363363
font-size: 28px;
364364
font-weight: 600;

src/pages/app-our-work-single/app-our-work-single.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ export class AppOurWorkSingle {
286286
</section>
287287
<section class="more-projects container">
288288
<h2 class="aside-lines">
289-
<span>More Projects</span>
289+
<span>
290+
<app-translate keyword="ourWork.more_projects" />
291+
</span>
290292
</h2>
291293
<div class="more-projects-items">{this.getOtherProjects()}</div>
292294
</section>

src/styles/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ $yellow: #d8aa0c !default;
2222
$green: #28a745 !default; // TODO
2323
$primary: $orange !default;
2424
$info: $blue !default;
25+
$white: #ffffff;
2526

2627
// Options
2728
$enable-gradients: true !default;

0 commit comments

Comments
 (0)