From 392e211181f04b4d0b1ee5334761f2c4af15eec6 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Thu, 23 Oct 2025 19:54:17 +0700 Subject: [PATCH] refactor(FE-Storyless): replace img with Image component for optimized loading --- src/components/Card.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Card.tsx b/src/components/Card.tsx index ba573dfb..82f90ef5 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -6,6 +6,7 @@ import { } from 'react'; import { cn } from '@/lib/helper'; +import Image from 'next/image'; export interface CardProps extends Omit, 'className'> { title?: string; @@ -108,7 +109,7 @@ const Card = ({ return (
- {imageAlt {image && (
-