Skip to content

Commit

Permalink
Updated feedback card
Browse files Browse the repository at this point in the history
  • Loading branch information
nacheco committed Sep 9, 2022
1 parent a85d417 commit 12ae68d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions src/components/FeedBackCard.jsx → src/components/Feedback.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { quotes } from "../assets";

const FeedbackCard = ({ content, name, title, img }) => (
const Feedback = ({ content, name, title, img }) => (
<div className="flex justify-between flex-col px-10 py-12 rounded-[20px] max-w-[370px] md:mr-10 sm:mr-5 mr-0 my-5 feedback-card">
<img src={quotes} alt="double_quotes" className="w-[42.6px] h-[27.6px] object-contain" />
<img
src={quotes}
alt="double_quotes"
className="w-[42.6px] h-[27.6px] object-contain"
/>
<p className="font-poppins font-normal text-[18px] leading-[32.4px] text-white my-10">
{content}
</p>
Expand All @@ -21,5 +25,4 @@ const FeedbackCard = ({ content, name, title, img }) => (
</div>
);


export default FeedbackCard;
export default Feedback;
4 changes: 2 additions & 2 deletions src/components/Testimonials.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { feedback } from "../constants";
import styles from "../style";
import FeedbackCard from "./FeedbackCard";
import Feedback from "./Feedback";

const Testimonials = () => (
<section
Expand All @@ -22,7 +22,7 @@ const Testimonials = () => (
</div>
<div className="flex flex-wrap sm:justify-start justify-center w-full feedback-container relative z-[1]">
{feedback.map((card) => (
<FeedbackCard key={card.id} {...card} />
<Feedback key={card.id} {...card} />
))}
</div>
</section>
Expand Down

1 comment on commit 12ae68d

@vercel
Copy link

@vercel vercel bot commented on 12ae68d Sep 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bank-ui – ./

bank-ui-git-master-zeviks.vercel.app
bank-ui-zeviks.vercel.app
bank-ui-pi.vercel.app

Please sign in to comment.