mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
parent
73aa6bc22e
commit
fe90778816
3 changed files with 3 additions and 4 deletions
|
@ -105,7 +105,7 @@ const Recommendations: React.FC<{ keywords: string[] }> = ({keywords}) => {
|
||||||
];
|
];
|
||||||
|
|
||||||
const groupDescription = (
|
const groupDescription = (
|
||||||
<>Recommend any publication you think your audience will find valuable, and find out when others are recommending you.</>
|
<>Recommend any publication that your audience will find valuable, and find out when others are recommending you.</>
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add a new recommendation
|
// Add a new recommendation
|
||||||
|
|
|
@ -78,7 +78,7 @@ const IncomingRecommendationItem: React.FC<{incomingRecommendation: IncomingReco
|
||||||
<span className='-mb-px inline-block min-w-[60px] whitespace-nowrap text-left text-sm lowercase text-grey-700'>{freeMembersLabel}</span>
|
<span className='-mb-px inline-block min-w-[60px] whitespace-nowrap text-left text-sm lowercase text-grey-700'>{freeMembersLabel}</span>
|
||||||
</div>)}
|
</div>)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
{incomingRecommendation.recommending_back && <TableCell className='w-[1%] whitespace-nowrap group-hover/table-row:visible md:invisible'><div className='mt-1 whitespace-nowrap text-right text-sm text-grey-700'>Recommending back</div></TableCell>}
|
{incomingRecommendation.recommending_back && <TableCell className='w-[1%] whitespace-nowrap group-hover/table-row:visible md:invisible'><div className='mt-1 whitespace-nowrap text-right text-sm text-grey-700'>Recommending</div></TableCell>}
|
||||||
</TableRow>
|
</TableRow>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -90,7 +90,7 @@ const IncomingRecommendationList: React.FC<IncomingRecommendationListProps> = ({
|
||||||
</Table>;
|
</Table>;
|
||||||
} else {
|
} else {
|
||||||
return <NoValueLabel>
|
return <NoValueLabel>
|
||||||
<span className='max-w-[40ch] text-center'>No one’s recommended you yet. Once they do, you’ll find them here along with how many memberships each has driven.</span>
|
<span className='max-w-[40ch] text-center'>No one’s recommended you yet. Once they do, you’ll find them here along with how many memberships they’ve driven.</span>
|
||||||
</NoValueLabel>;
|
</NoValueLabel>;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -97,7 +97,6 @@ const RecommendationList: React.FC<RecommendationListProps> = ({recommendations,
|
||||||
</Table>;
|
</Table>;
|
||||||
} else {
|
} else {
|
||||||
return <NoValueLabel>
|
return <NoValueLabel>
|
||||||
<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={() => {
|
<Button color='grey' label='Add first recommendation' size='sm' onClick={() => {
|
||||||
openAddNewRecommendationModal();
|
openAddNewRecommendationModal();
|
||||||
}}></Button>
|
}}></Button>
|
||||||
|
|
Loading…
Add table
Reference in a new issue