From 718abea089c4cccca4aa86a6d3567afb4af7fcdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Fri, 13 Feb 2026 14:25:47 +0800 Subject: [PATCH] fix: resolve lint errors in testimonial and insight cards --- src/components/ui/insight-card.tsx | 6 ++++-- src/components/ui/testimonial-card.tsx | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/ui/insight-card.tsx b/src/components/ui/insight-card.tsx index 38aedec..26db453 100644 --- a/src/components/ui/insight-card.tsx +++ b/src/components/ui/insight-card.tsx @@ -1,5 +1,6 @@ 'use client'; +import Image from 'next/image'; import { Calendar, Clock, ArrowRight } from 'lucide-react'; import { Badge } from '@/components/ui/badge'; @@ -34,10 +35,11 @@ export function InsightCard({ > {imageUrl && (
- {title}
diff --git a/src/components/ui/testimonial-card.tsx b/src/components/ui/testimonial-card.tsx index 23eda42..17cb00f 100644 --- a/src/components/ui/testimonial-card.tsx +++ b/src/components/ui/testimonial-card.tsx @@ -1,5 +1,6 @@ 'use client'; +import Image from 'next/image'; import { Quote } from 'lucide-react'; export interface TestimonialCardProps { @@ -39,14 +40,16 @@ export function TestimonialCard({ )}
- "{quote}" + “{quote}”
{avatarUrl && ( - {author} )}