Added static design for recommendation stats

refs https://github.com/TryGhost/Product/issues/3864
This commit is contained in:
Djordje Vlaisavljevic 2023-09-12 14:38:51 +01:00
parent 64388072ee
commit 3995713551
2 changed files with 18 additions and 0 deletions

View File

@ -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>
);
};

View File

@ -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>
);
};