mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added static design for recommendation stats
refs https://github.com/TryGhost/Product/issues/3864
This commit is contained in:
parent
64388072ee
commit
3995713551
2 changed files with 18 additions and 0 deletions
|
@ -34,6 +34,15 @@ const IncomingRecommendationItem: React.FC<{mention: Mention}> = ({mention}) =>
|
|||
</div>
|
||||
</div>
|
||||
</TableCell>
|
||||
<TableCell className='hidden md:!visible md:!table-cell' onClick={showDetails}>
|
||||
<div className={`flex grow flex-col`}>
|
||||
{/* If it's 0 */}
|
||||
{/* <span className="text-grey-500">-</span> */}
|
||||
{/* If it's more than 0 */}
|
||||
<span>12</span>
|
||||
<span className='whitespace-nowrap text-xs text-grey-700'>Subscribers gained</span>
|
||||
</div>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -56,6 +56,15 @@ const RecommendationItem: React.FC<{recommendation: Recommendation}> = ({recomme
|
|||
</div>
|
||||
</div>
|
||||
</TableCell>
|
||||
<TableCell className='hidden md:!visible md:!table-cell' onClick={showDetails}>
|
||||
<div className={`flex grow flex-col`}>
|
||||
{/* If it's 0 */}
|
||||
{/* <span className="text-grey-500">-</span> */}
|
||||
{/* If it's more than 0 */}
|
||||
<span>12</span>
|
||||
<span className='whitespace-nowrap text-xs text-grey-700'>Subscribers from you</span>
|
||||
</div>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue