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-2205: Onboarding - Welcome & Get Started #637

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

Add cta button

  • Loading branch information
benstrumeyer committed Nov 30, 2020
commit e5fefb786f0fcf364c04c0e5290a6a33b7e4238f
@@ -1740,6 +1740,9 @@
"hub_browser_begin": {
"message": "Let's begin by choosing your privacy settings. This will be quick, we promise!"
},
"hub_browser_lets_do_this": {
"message": "Let's do this"
},
"enable_when_paused": {
"message": "To use this function, Resume Ghostery."
},
@@ -23,6 +23,7 @@ const BrowserWelcomeView = () => (
<div className="BrowserWelcomeView__title">{t('hub_browser_welcome')}</div>
<div className="BrowserWelcomeView__subtitle">{t('hub_browser_begin')}</div>
<img className="BrowserWelcomeView__rocketShip" src="/app/images/hub/welcome/rocketShip.png" />
<div className="BrowserWelcomeView__ctaButton">{t('hub_browser_lets_do_this')}</div>
</div>
);

@@ -25,3 +25,31 @@
height: 330px;
width: 545px;
}

.BrowserWelcomeView__ctaButton {
margin: 48px auto 0 auto;
height: 44px;
width: 162px;
padding: 7.7px 14px;
line-height: 22px;
background: linear-gradient(
45deg,
#ff7e74 50%,
#00aef0
);
background-size: 200% 100%;
background-position: 100% 50%;
transition: 0.25s all;
border: none;
&:hover {
background-position: 0% 50%;
transition: 0.25s all;
}
color: #FFF;
font-size: 14.1px;
font-weight: 700;
border-radius: 3.5px;
text-align: center;
line-height: 2.05;
cursor: pointer;
}
ProTip! Use n and p to navigate between commits in a pull request.