Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Testimonials.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Quote_ic from './imgs/quote.png';

const Testimonials = React.forwardRef((props, ref) => {
const [currentIndex, setCurrentIndex] = useState(0);
const totalItems = 2; // Number of testimonial items
const totalItems = 1; // Number of testimonial items

const carouselRef = useRef(null);

Expand Down Expand Up @@ -50,7 +50,7 @@ const Testimonials = React.forwardRef((props, ref) => {
I highly recommend him for anyone in need of top-quality web development services.
</p>
</div>
<div className="testimony-wrapper">
{/* <div className="testimony-wrapper">
<img src={Javier} alt="sample profile" className="img-profile"></img>
<div className="user-name">
<span className="highlight">Shane Francis Javier</span>
Expand All @@ -63,12 +63,12 @@ const Testimonials = React.forwardRef((props, ref) => {
<p className="testimony-p">
Etan was very cute and I like him.
</p>
</div>
</div> */}
</div>

{/* TODO: Change this if there are multiple Testimony */}
<button className="carousel-control prev" onClick={handlePrev}>‹</button>
<button className="carousel-control next" onClick={handleNext}>›</button>
{/* <button className="carousel-control prev" onClick={handlePrev}>‹</button>
<button className="carousel-control next" onClick={handleNext}>›</button> */}
</div>
</section>
);
Expand Down