Skip to content

Commit

Permalink
Revise implementation to insert testimonial image
Browse files Browse the repository at this point in the history
  • Loading branch information
HelNershingThapa authored and tsmock committed May 15, 2023
1 parent 5948e34 commit 3af2c03
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions frontend/src/components/homepage/testimonials.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
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() {
Expand All @@ -10,7 +11,7 @@ export function Testimonials() {
bio: messages.ifrcBio,
citation: messages.ifrcCitation,
cssCode: 'ifrc',
image: '.../../images/ifrc.png',
image: IfrcImage,
},
];

Expand All @@ -29,11 +30,7 @@ export function Testimonials() {
<div className="testimony relative" key={person.name}>
{/* <div key={n} className={`blue-dark testimonial-${person.cssCode} relative`} /> */}
<div className="testimonial-image-parent">
<img
className="testimonial-image"
src={require('../../assets/img/testimonials/ifrc.jpg').default}
alt={person.name}
/>
<img className="testimonial-image" src={person.image} alt={person.name} />
</div>
<div className="citation-ctr">
<p className="bg-red white pv2 pl3 pr1 citation ma0 relative">
Expand Down

0 comments on commit 3af2c03

Please sign in to comment.