From f74f4fbc229d9bc765b71a82afe3217d62037441 Mon Sep 17 00:00:00 2001 From: liamcardenas Date: Fri, 16 Mar 2018 12:04:22 -0700 Subject: [PATCH] Updated copy of subscriptions modal --- .../modal/modalFirstSubscription/index.js | 2 ++ .../modal/modalFirstSubscription/view.jsx | 28 +++++++++++++++---- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/src/renderer/modal/modalFirstSubscription/index.js b/src/renderer/modal/modalFirstSubscription/index.js index 6ae41be50..f507403d9 100644 --- a/src/renderer/modal/modalFirstSubscription/index.js +++ b/src/renderer/modal/modalFirstSubscription/index.js @@ -1,10 +1,12 @@ import React from 'react'; import { connect } from 'react-redux'; import { doCloseModal } from 'redux/actions/app'; +import { doNavigate } from 'redux/actions/navigation'; import ModalFirstSubscription from './view'; const perform = dispatch => () => ({ closeModal: () => dispatch(doCloseModal()), + navigate: path => dispatch(doNavigate(path)), }); export default connect(null, perform)(ModalFirstSubscription); diff --git a/src/renderer/modal/modalFirstSubscription/view.jsx b/src/renderer/modal/modalFirstSubscription/view.jsx index f489e6277..546819fbc 100644 --- a/src/renderer/modal/modalFirstSubscription/view.jsx +++ b/src/renderer/modal/modalFirstSubscription/view.jsx @@ -1,17 +1,35 @@ import React from 'react'; import { Modal } from 'modal/modal'; -import Link from 'component/link/index'; +import Link from 'component/link'; const ModalFirstSubscription = props => { - const { closeModal } = props; + const { closeModal, navigate } = props; return ( - +
-

{__('Your first subscription!')}

+

{__('Subscriptions 101')}

+

{__('You just subscribed to your first channel. Awesome!')}

+

{__('A few quick things to know:')}

+

+ {__('1) You can use the')}{' '} + { + navigate('/subscriptions'); + closeModal(); + }} + />{' '} + {__('to view content across all of your subscribed channels.')} +

{__( - 'When you subscribe to a channel, you will automatically download, and be notified of, all of its new content.' + '2) This app will automatically download new free content from channels you are subscribed to.' + )} +

+

+ {__( + '3) If we have your email address, we may send you notifications and rewards related to new content.' )}