0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Updated empty state layout

refs https://github.com/TryGhost/Product/issues/3942
This commit is contained in:
Djordje Vlaisavljevic 2023-09-22 11:46:58 +01:00
parent 73e9702cf7
commit 22029bfd1b

View file

@ -87,10 +87,11 @@ const RecommendationList: React.FC<RecommendationListProps> = ({recommendations,
</Table>;
} else {
return <NoValueLabel>
<span className='mb-4 max-w-[40ch] text-center'>Get started by sharing any publication you think your audience will find valuable. Need inspiration? <Link href="https://ghost.org/explore" target='_blank'>Explore thousands of sites</Link>.</span>
<span className='mb-2 max-w-[40ch] text-center'>Get started by sharing any publication you think your audience will find valuable.</span>
<Button color='grey' label='Add first recommendation' size='sm' onClick={() => {
openAddNewRecommendationModal();
}}></Button>
<span className='mt-2 max-w-[40ch] text-center text-xs'>Need inspiration? <Link href="https://ghost.org/explore" target='_blank'>Explore thousands of sites</Link></span>
</NoValueLabel>;
}
};