Skip to content

Commit bbb2457

Browse files
author
theunhackable
committed
fix(app): removeed AlanAiComponent causing bug issue #441
1 parent 69bae37 commit bbb2457

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/testimonial.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { useEffect, useState } from "react";
22
import Header from "./header";
3+
import Image from "next/image";
34

45
const testimonials = [
56
{
@@ -51,10 +52,12 @@ const Testimonial = ({ testimonial }) => (
5152
<p className="text-white">{testimonial.text}</p>
5253
<div className="flex items-center mt-4">
5354
<div className="flex-shrink-0">
54-
<img
55+
<Image
5556
className="w-12 h-12 rounded-full"
56-
src={testimonial.image}
57+
src={`/${testimonial.image}`}
5758
alt={testimonial.name}
59+
width={48}
60+
height={48}
5861
/>
5962
</div>
6063
<div className="ml-4">

0 commit comments

Comments
 (0)