diff --git a/static/app-strings.json b/static/app-strings.json index 9e5e45318..fa4c6acfe 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1172,6 +1172,7 @@ "Try out the app!": "Try out the app!", "Download the app to track files you've viewed and downloaded.": "Download the app to track files you've viewed and downloaded.", "Create a new channel": "Create a new channel", + "Go Live": "Go Live", "Thumbnail source": "Thumbnail source", "Cover source": "Cover source", "Your changes will be live in a few minutes": "Your changes will be live in a few minutes", diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index b02f7a8e1..cd3276ec2 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -422,6 +422,10 @@ function HeaderMenuButtons(props: HeaderMenuButtonProps) { {__('New Channel')} + history.push(`/$/${PAGES.GO_LIVE}`)}> + + {__('Go Live')} + )} diff --git a/ui/constants/pages.js b/ui/constants/pages.js index 3a55e58a3..e0a0c2c4a 100644 --- a/ui/constants/pages.js +++ b/ui/constants/pages.js @@ -48,3 +48,4 @@ exports.BUY = 'buy'; exports.CHANNEL_NEW = 'channel/new'; exports.NOTIFICATIONS = 'notifications'; exports.YOUTUBE_SYNC = 'youtube'; +exports.GO_LIVE = 'livestream';