From fe7c43de6b7e7b4710872df0d82269b44539558f Mon Sep 17 00:00:00 2001 From: Piyush Kumar Date: Wed, 12 Jun 2024 20:17:12 +0530 Subject: [PATCH] fixed img issue --- components/Navbar.tsx | 2 +- components/ui/Card.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 120b659..34704da 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -36,7 +36,7 @@ export default function Navbar() { viewBox="0 0 16 16" > diff --git a/components/ui/Card.tsx b/components/ui/Card.tsx index b8b177c..0bc5bfe 100644 --- a/components/ui/Card.tsx +++ b/components/ui/Card.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import Image from 'next/image' interface CardProps { title: string; @@ -9,7 +10,7 @@ interface CardProps { const Card: React.FC = ({ title, description, imageUrl }) => { return (
- {title} + {title}
{title}

{description}