refactor: update outdated layout format

This commit is contained in:
sirin 2024-10-09 05:39:52 +07:00
parent 86103baa7f
commit bcc9617010

View File

@ -35,14 +35,14 @@ export function ProjectCard(props: ProjectCardProps) {
<Image <Image
src={props.imageUri} src={props.imageUri}
alt="Card image" alt="Card image"
layout="fill" fill
className="rounded-t-xl bg-background dark:bg-background h-full" className="rounded-t-xl bg-background dark:bg-background h-full"
/> />
) : ( ) : (
<Image <Image
src="/money.png" src="/money.png"
alt="Card image" alt="Card image"
layout="fill" fill
className="rounded-t-xl bg-background dark:bg-background h-full" className="rounded-t-xl bg-background dark:bg-background h-full"
/> />
)} )}