adding the article suggestion at the end of the blog post
This commit is contained in:
@@ -10,7 +10,7 @@ type props = {
|
||||
slug: string;
|
||||
title: string;
|
||||
description: string;
|
||||
cover: string;
|
||||
cover?: string;
|
||||
}[];
|
||||
};
|
||||
|
||||
@@ -65,11 +65,13 @@ export function OtherProjects({ locale, projects }: props) {
|
||||
>
|
||||
{/* Image */}
|
||||
<div className="w-full h-[240px] rounded-xl overflow-hidden bg-brand-brown/5 mb-5">
|
||||
<img
|
||||
src={project.cover}
|
||||
alt={project.title}
|
||||
className="w-full h-full object-cover transition-all duration-700 group-hover:scale-[1.04] group-hover:brightness-105"
|
||||
/>
|
||||
{project.cover && (
|
||||
<img
|
||||
src={project.cover}
|
||||
alt={project.title}
|
||||
className="w-full h-full object-cover transition-all duration-700 group-hover:scale-[1.04] group-hover:brightness-105"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Text */}
|
||||
|
||||
Reference in New Issue
Block a user