1- import { GoDotFill } from 'react-icons/go'
21import { MdAccessTime } from 'react-icons/md'
32import { CardItemWithActions } from 'src/components/Elements'
43import { useUserPreferences } from 'src/stores/preferences'
54import { ArticleFeedItemData , BaseItemPropsType } from 'src/types'
65import { format } from 'timeago.js'
76import { FeedItemHeader } from '../FeedItemHeader'
7+ import { FeedItemSource } from '../FeedItemSource'
88
99export const ArticleFeedItem = ( props : BaseItemPropsType < ArticleFeedItemData > ) => {
1010 const { item, index, analyticsTag, className } = props
@@ -22,15 +22,15 @@ export const ArticleFeedItem = (props: BaseItemPropsType<ArticleFeedItemData>) =
2222 < FeedItemHeader { ...item } />
2323 { listingMode === 'compact' && (
2424 < div className = "rowDetails" >
25- < span className = "rowItem capitalize" >
26- < GoDotFill className = "rowItemIcon" /> { item . source }
25+ < span className = "rowItem capitalize verticalAligned " >
26+ < FeedItemSource source = { item . source } />
2727 </ span >
2828 </ div >
2929 ) }
3030 { listingMode === 'normal' && (
3131 < div className = "rowDetails" >
32- < span className = "rowItem capitalize" >
33- < GoDotFill className = "rowItemIcon" /> { item . source }
32+ < span className = "rowItem capitalize verticalAligned " >
33+ < FeedItemSource source = { item . source } />
3434 </ span >
3535 < span className = "rowItem" title = { new Date ( item . date ) . toUTCString ( ) } >
3636 < MdAccessTime className = "rowItemIcon" /> { format ( new Date ( item . date ) ) }
0 commit comments