From c5f85a365bc9f478de03229d362463b489f7b0d3 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Mon, 17 Dec 2018 16:01:21 -0800 Subject: Allow banner to open in new window --- packages/website/ts/@next/components/banner.tsx | 8 +++++++- packages/website/ts/@next/pages/launch_kit.tsx | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'packages/website') diff --git a/packages/website/ts/@next/components/banner.tsx b/packages/website/ts/@next/components/banner.tsx index 40ec22c3f..982e764af 100644 --- a/packages/website/ts/@next/components/banner.tsx +++ b/packages/website/ts/@next/components/banner.tsx @@ -21,6 +21,7 @@ interface CTAButton { text: string; href?: string; onClick?: () => void; + shouldOpenInNewTab?: boolean; } interface BorderProps { @@ -46,7 +47,12 @@ export const Banner: React.StatelessComponent = (props: Props) => { {mainCta && ( - )} diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 189c46892..7b15e5352 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -89,7 +89,11 @@ export class NextLaunchKit extends React.Component { @@ -108,7 +112,7 @@ export class NextLaunchKit extends React.Component { const HeroActions = () => ( - -- cgit v1.2.3