File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const ArticleAuthor = ({
1616 url,
1717} : ArticleAuthorProps ) => {
1818 return (
19- < div className = "flex flex-row items-center gap-2 py-1" >
19+ < >
2020 { image && (
2121 < Image
2222 src = { image }
@@ -42,7 +42,7 @@ const ArticleAuthor = ({
4242 < div className = "text-sm uppercase text-gray-500" > { position } </ div >
4343 </ >
4444 ) }
45- </ div >
45+ </ >
4646 ) ;
4747} ;
4848
Original file line number Diff line number Diff line change @@ -40,14 +40,23 @@ const ArticleCard = ({ data }: ArticleCardProps) => {
4040 ) ;
4141} ;
4242
43+ type ArticleCardContentProps = {
44+ title : string ;
45+ body : string ;
46+ userName : string | null ;
47+ userImage : string | null ;
48+ userPosition : string | null ;
49+ publishedDate ?: string ;
50+ } ;
51+
4352const ArticleCardContent = ( {
4453 title,
4554 body,
4655 userName,
4756 userImage,
4857 userPosition,
4958 publishedDate,
50- } ) => {
59+ } : ArticleCardContentProps ) => {
5160 return (
5261 < div className = "size-full bg-white" >
5362 < div >
You can’t perform that action at this time.
0 commit comments