Skip to content

Commit a080479

Browse files
author
LDFOUR\luisd
committed
WN-303,
added author images
1 parent d7af78f commit a080479

5 files changed

Lines changed: 35 additions & 3 deletions

File tree

3 MB
Loading
2.51 MB
Loading

resources/assets/js/methods/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ const icons = {
8989
},
9090
'homeExampleCase3': {
9191
x1: require('../../img/landing_page/example_case_3.png')
92+
},
93+
'quoteAuthor1': {
94+
x1: require('../../img/landing_page/xavier-castellanos.png')
95+
},
96+
'quoteAuthor2': {
97+
x1: require('../../img/landing_page/fatos-xhengo.png')
9298
}
9399
}
94100

resources/assets/js/pages/welcome.vue

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,17 @@
284284
<h2 class="mid-subt">{{ $t('landing.impact') }}</h2>
285285
<b-row>
286286
<b-col class="red-section">
287-
<i class="fas fa-user-circle impact-icon"></i>
287+
<div class="quote-author-img">
288+
<img class="head-img" :src="src('quoteAuthor1')">
289+
</div>
288290
<p class="red-sec-txt">
289291
{{ $t('landing.quote_description_1') }}
290292
</p>
291293
<p class="red-sec-txt">— {{ $t('landing.quote_author_1') }}</p>
292294
<div class="div-white"></div>
293-
<i class="fas fa-user-circle impact-icon"></i>
295+
<div class="quote-author-img quote-author-img-2">
296+
<img class="head-img" :src="src('quoteAuthor2')">
297+
</div>
294298
<p class="red-sec-txt">
295299
{{ $t('landing.quote_description_2') }}
296300
</p>
@@ -611,6 +615,28 @@ export default {
611615
padding: 4rem;
612616
}
613617
618+
.quote-author-img {
619+
width: 12rem;
620+
height: 12rem;
621+
border-radius: 50%;
622+
overflow: hidden;
623+
margin-bottom: 2rem;
624+
}
625+
626+
.quote-author-img img {
627+
width: 100%;
628+
height: 100%;
629+
object-fit: cover;
630+
object-position: center;
631+
}
632+
633+
.quote-author-img-2 img {
634+
width: 350px;
635+
height: 350px;
636+
object-fit: cover;
637+
object-position: -100px -30px;
638+
}
639+
614640
.impact-icon {
615641
background: #FB444F;
616642
color: white;

resources/lang/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468
"title": "Messages",
469469
"set_attribution": "Set society name and attribution message to publish",
470470
"whatnow": "IFRC National Society Preparedness Messages",
471-
"empty": "No messages for this National Society",
471+
"empty": "There are not messages for this National Society in this language",
472472
"steps": "Steps",
473473
"publish": "Publish",
474474
"no_publish": "Nothing to publish",

0 commit comments

Comments
 (0)