From 1c57d20950e0a95a14d643bc2088157590407961 Mon Sep 17 00:00:00 2001 From: Hel Nershing Thapa Date: Wed, 4 Jan 2023 10:56:45 +0545 Subject: [PATCH] Revise implementation to insert testimonial image --- frontend/src/components/homepage/testimonials.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/homepage/testimonials.js b/frontend/src/components/homepage/testimonials.js index 121c603519..571f0c5b39 100644 --- a/frontend/src/components/homepage/testimonials.js +++ b/frontend/src/components/homepage/testimonials.js @@ -2,6 +2,7 @@ import React from 'react'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; +import IfrcImage from '../../assets/img/testimonials/ifrc.jpg'; // import {RightIcon, LeftIcon} from '../../svgIcons'; export function Testimonials() { @@ -11,7 +12,7 @@ export function Testimonials() { bio: messages.ifrcBio, citation: messages.ifrcCitation, cssCode: 'ifrc', - image: '.../../images/ifrc.png', + image: IfrcImage, }, ]; @@ -30,11 +31,7 @@ export function Testimonials() {
{/*
*/}
- {person.name} + {person.name}