Skip to content

Commit dee7e75

Browse files
author
--global
committed
Update BlogCard component styling and font family
1 parent 9957347 commit dee7e75

File tree

2 files changed

+72
-64
lines changed

2 files changed

+72
-64
lines changed

package-lock.json

Lines changed: 67 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/components/BlogCard.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ export default function BlogCard({
2121
});
2222

2323
return (
24-
<div className="bg-white rounded-2xl shadow-[2px_5px_15px_rgba(0,0,0,0.1)] dark:bg-zinc-800 lg:hover:-translate-y-1 lg:transition-all overflow-hidden">
24+
<div
25+
className="bg-white rounded-2xl shadow-[2px_5px_15px_rgba(0,0,0,0.1)] dark:bg-zinc-800 lg:hover:-translate-y-1 lg:transition-all overflow-hidden"
26+
style={{ fontFamily: "Inter" }}
27+
>
2528
<Image
2629
className="rounded-t-2xl object-cover w-full h-56 sm:h-64"
2730
src={coverImage.src}
@@ -41,7 +44,7 @@ export default function BlogCard({
4144
/>
4245
<div className="text-sm text-gray-700 dark:text-gray-300">
4346
<p className="font-semibold">{author.name}</p>
44-
<p className="text-xs font-light text-gray-600 dark:text-gray-400">
47+
<p className="text-xs font-normal text-gray-600 dark:text-gray-400">
4548
{formattedDate}
4649
</p>
4750
</div>

0 commit comments

Comments
 (0)