Skip to content

Commit 162df34

Browse files
committed
Improve author section styling on blogs page
1 parent 4d6345f commit 162df34

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/pages/blogs/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,9 @@ const BlogCard = ({ blog }: { blog: (typeof blogs)[number] }) => {
339339
className="card-author-handle"
340340
target="_blank"
341341
rel="noopener noreferrer"
342+
title={author.name}
342343
>
343-
{author.name}
344+
@{author.id || author.name.toLowerCase().replace(/\s+/g, "")}
344345
</Link>
345346
</React.Fragment>
346347
))}
@@ -360,4 +361,4 @@ const BlogCard = ({ blog }: { blog: (typeof blogs)[number] }) => {
360361
</div>
361362
</div>
362363
);
363-
};
364+
};

0 commit comments

Comments
 (0)