From 24457e29ba39147af47dfe8fade9619abf9e7dfa Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 7 Sep 2023 14:12:48 +0000 Subject: [PATCH] Update Author Section --- blog/src/components/post/PostFooter.tsx | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/blog/src/components/post/PostFooter.tsx b/blog/src/components/post/PostFooter.tsx index 349a672..293ccbe 100644 --- a/blog/src/components/post/PostFooter.tsx +++ b/blog/src/components/post/PostFooter.tsx @@ -12,21 +12,7 @@ import { BigTag } from '../tags/BigTag'; export const PostFooter = ({ post }: { post: BlogPostMetadata }) => { return (
- {/* add a horizontal line to indicate start of footer */} -
-
1 ? 'sm:grid-cols-2' : '' - )} - > - {post.authors.map((author) => ( - - ))} -
- {/* insert share buttons for twitter, linkedin and facebook */} -
{post.tags.map((tag) => ( @@ -69,6 +55,16 @@ export const PostFooter = ({ post }: { post: BlogPostMetadata }) => {
+
1 ? 'sm:grid-cols-2' : '' + )} + > + {post.authors.map((author) => ( + + ))} +
); };