Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Add beta label to Tor Private Tab title
Browse files Browse the repository at this point in the history
Fix #14541
  • Loading branch information
petemill authored and bsclifton committed Jun 26, 2018
1 parent 5de3aeb commit 0a2b0e1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions js/about/newprivatetab.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class NewPrivateTab extends React.Component {
<h2 onClick={this.onClickTorTitle.bind(this)} className={css(styles.privateSearch__title)}>
<span className={css(styles.text_sectionTitle)} data-l10n-id='privateTabTorTitle' />
<strong className={css(styles.text_sectionTitle, styles.text_sectionTitleHighlight)}>&nbsp;Tor</strong>
<span className={css(styles.text__badge, styles.text__badge_beta)}>Beta</span>
</h2>
<p className={css(styles.text)} data-l10n-id='privateTabTorText1' />
<p className={css(styles.text, styles.text_clickable)} onClick={aboutActions.createTabRequested.bind(null, {url: torFAQ, isPrivate: true, isTor})} data-l10n-id='learnMore' />
Expand Down Expand Up @@ -259,6 +260,21 @@ const styles = StyleSheet.create({
marginTop: '20px'
},

text__badge: {
alignSelf: 'center',
marginLeft: '10px',
padding: '3px 8px',
borderRadius: '12px',
textTransform: 'uppercase',
font: '600 11px Poppins',
letterSpacing: '0.5px'
},

text__badge_beta: {
background: '#0795fa',
color: 'white'
},

privateSearch: {
borderBottom: 'solid 1px rgba(255,255,255,.1)',
marginBottom: '30px'
Expand Down

0 comments on commit 0a2b0e1

Please sign in to comment.