Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2207: Onboarding - Success Screen #638

Merged
merged 6 commits into from Dec 3, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Copy jsx over from WelcomeView

  • Loading branch information
benstrumeyer committed Dec 2, 2020
commit b0347c8cedc34e6c8cee1874a86636a87786dfcc
@@ -0,0 +1,30 @@
/**
* Browser Success View
*
* Ghostery Browser Extension
* https://www.ghostery.com/
*
* Copyright 2019 Ghostery, Inc. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0
*/

import React from 'react';

/**
* A Functional React component for rendering the Browser Success View
* @return {JSX} JSX for rendering the Browser Success View of the Hub app
* @memberof HubComponents
*/
const BrowserSuccessView = () => (
<div className="BrowserSuccessView__container">
<div className="BrowserSuccessView__title">{t('hub_browser_welcome')}</div>
<div className="BrowserSuccessView__subtitle">{t('hub_browser_begin')}</div>
<img className="BrowserSuccessView__rocketShip" src="/app/images/hub/welcome/rocketShip.png" />
<button className="BrowserSuccessView__ctaButton" type="button">{t('hub_browser_lets_do_this')}</button>
</div>
);

export default BrowserSuccessView;
ProTip! Use n and p to navigate between commits in a pull request.