import React from 'react'; import {AccountStore} from 'nylas-exports'; import {RetinaImg} from 'nylas-component-kit'; import OnboardingActions from './onboarding-actions'; export default class WelcomePage extends React.Component { static displayName = "WelcomePage"; _onContinue = () => { // We don't have a NylasId yet and therefore can't track the "Welcome // Page Finished" event. // // If a user already has a Nylas ID and gets to this page (which // happens if they sign out of all of their accounts), then it would // properly fire. This is a rare case though and we don't want // analytics users thinking it's part of the full funnel. // // Actions.recordUserEvent('Welcome Page Finished'); OnboardingActions.moveToPage("tutorial"); } _onSelfHosting = () => { OnboardingActions.moveToPage("self-hosting-restrictions"); } _renderContent(isFirstAccount) { if (isFirstAccount) { return (
Welcome to Nylas N1
Welcome back!
Since you've been gone, we've launched Nylas Pro, which now requires a paid subscription. Create a Nylas ID to start your trial and continue using N1!