Fix Interface Variable Names

This commit is contained in:
aftabrehan
2024-02-03 20:13:09 +05:00
parent 214ee9dd21
commit 759026d203
11 changed files with 25 additions and 22 deletions

View File

@@ -1,14 +1,14 @@
import Link from 'next/link'
import Image from 'next/image'
interface cardProps {
interface CardProps {
link: string
imageUrl: string
title: string
description: string
}
export const Card = ({ link, imageUrl, title, description }: cardProps) => (
export const Card = ({ link, imageUrl, title, description }: CardProps) => (
<Link
href={link}
className="w-full sm:max-w-[300px] h-[156px] xs:h-[168px] sm:h-[200px] flex flex-col justify-start items-start gap-3 sm:gap-4 p-4 sm:p-6 rounded-xl dark:hover:bg-zinc-600/5 border border-gray-200 dark:border-opacity-15 dark:hover:border-opacity-30 hover:shadow-card outline-none transition-all duration-300"