Fixed community links opening in a new tab, newsletter widget appearing in mdx view.
This commit is contained in:
committed by
fabioberger
parent
00ab5f0afb
commit
4a39eb7931
@@ -16,7 +16,7 @@ export interface ICommunityLinkProps {
|
||||
}
|
||||
|
||||
export const CommunityLink: React.FC<ICommunityLinkProps> = props => (
|
||||
<CommunityLinkWrapper to={props.url}>
|
||||
<CommunityLinkWrapper to={props.url} shouldOpenInNewTab={true}>
|
||||
<CommunityIcon color={colors.brandLight} name={props.icon} margin={[0, 0, 24, 0]} />
|
||||
<Heading size="small" marginBottom="8px">
|
||||
{props.heading}
|
||||
|
||||
@@ -3,9 +3,10 @@ import styled from 'styled-components';
|
||||
|
||||
import { CommunityLink, ICommunityLinkProps } from 'ts/components/docs/community_link';
|
||||
import { GetStartedLink, IGetStartedLinkProps } from 'ts/components/docs/get_started_link';
|
||||
import { Separator } from 'ts/components/docs/separator';
|
||||
import { IShortcutLinkProps, ShortcutLink } from 'ts/components/docs/shortcut_link';
|
||||
import { IStepLinkConfig } from 'ts/components/docs/step_link';
|
||||
|
||||
import { Separator } from 'ts/components/docs/separator';
|
||||
import { StepLinks } from 'ts/components/docs/step_links';
|
||||
import { Heading } from 'ts/components/text';
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ import { Columns } from 'ts/components/docs/layout/columns';
|
||||
import { ContentWrapper } from 'ts/components/docs/layout/content_wrapper';
|
||||
import { DocsPageLayout } from 'ts/components/docs/layout/docs_page_layout';
|
||||
|
||||
import { NewsletterWidget } from 'ts/components/docs/newsletter_widget';
|
||||
import { Separator } from 'ts/components/docs/separator';
|
||||
import { IContents, TableOfContents } from 'ts/components/docs/sidebar/table_of_contents';
|
||||
|
||||
@@ -74,6 +75,7 @@ export const DocsView: React.FC<IDocsViewProps> = props => {
|
||||
// @ts-ignore */}
|
||||
<Component />
|
||||
</MDXProvider>
|
||||
<NewsletterWidget />
|
||||
<HelpCallout />
|
||||
<HelpfulCta page={page} />
|
||||
</ContentWrapper>
|
||||
|
||||
Reference in New Issue
Block a user