diff --git a/src/app/about-antalya-restaurant/AboutContent.tsx b/src/app/about-antalya-restaurant/AboutContent.tsx index 08f3828..fae59af 100644 --- a/src/app/about-antalya-restaurant/AboutContent.tsx +++ b/src/app/about-antalya-restaurant/AboutContent.tsx @@ -346,7 +346,8 @@ export default function AboutContent({ initialReviews }: { initialReviews?: Revi alt={name} className={styles.authorImage} style={{ width: '100%', height: '100%', objectFit: 'cover' }} - onError={(e) => ((e.target as HTMLImageElement).src = '/images/placeholder.png')} + referrerPolicy="no-referrer" + onError={(e) => ((e.target as HTMLImageElement).src = 'data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23ccc%22%3E%3Cpath d=%22M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z%22/%3E%3C/svg%3E')} /> ) : (
diff --git a/src/components/Testimonials/Testimonials.tsx b/src/components/Testimonials/Testimonials.tsx index bc91b5c..d89f42d 100644 --- a/src/components/Testimonials/Testimonials.tsx +++ b/src/components/Testimonials/Testimonials.tsx @@ -198,7 +198,8 @@ export default function Testimonials({ initialReviews }: { initialReviews?: Revi alt={name} className={styles.authorImage} style={{ width: '100%', height: '100%', objectFit: 'cover' }} - onError={(e) => ((e.target as HTMLImageElement).src = '/images/placeholder.png')} + referrerPolicy="no-referrer" + onError={(e) => ((e.target as HTMLImageElement).src = 'data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23ccc%22%3E%3Cpath d=%22M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z%22/%3E%3C/svg%3E')} /> ) : (