diff --git a/src/components/TopicDetail/TopicDetail.tsx b/src/components/TopicDetail/TopicDetail.tsx index 8ea7bdd21..dd48af0c2 100644 --- a/src/components/TopicDetail/TopicDetail.tsx +++ b/src/components/TopicDetail/TopicDetail.tsx @@ -560,68 +560,42 @@ export function TopicDetail(props: TopicDetailProps) { )} )} - {/* Contribution */} - {canSubmitContribution && - !hasEnoughLinks && - contributionUrl && - hasContent && ( -
-

- Help us add learning resources -

-

- This popup should be a brief introductory paragraph for - the topic and a few links to good articles, videos, or any - other self-vetted learning resources. Please consider - submitting a PR to improve this content. -

- - - Help us Improve this Content - -
- )} - {resourceId === 'devops' && activeTab === 'content' && ( -
- - Partner - Get the latest {resourceTitleFromId(resourceId)} news from our - sister site{' '} - - TheNewStack.io - - + {canSubmitContribution && + contributionUrl && + activeTab === 'content' && + hasContent && ( +
+ + + Help us Improve this Content + - { - window.fireEvent({ - category: 'PartnerClick', - action: 'TNS Redirect', - label: 'Roadmap Topic / TNS Link', - }); - }} - > - Partner - Visit{' '} - - TheNewStack.io - {' '} - for {resourceTitleFromId(resourceId)} news - -
- )} + { + window.fireEvent({ + category: 'PartnerClick', + action: 'TNS Redirect', + label: 'Roadmap Topic / TNS Link', + }); + }} + > + Partner + Visit{' '} + + TheNewStack.io + {' '} + for {resourceTitleFromId(resourceId)} news + +
+ )} )}