Browse Source
Merge pull request #578 from LN-Zap/feature/help-link
feat(help): add help link to tutorial
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
22 additions and
1 deletions
-
app/components/Onboarding/FormContainer.js
-
app/components/Onboarding/FormContainer.scss
|
|
@ -1,3 +1,4 @@ |
|
|
|
import { shell } from 'electron' |
|
|
|
import React from 'react' |
|
|
|
import PropTypes from 'prop-types' |
|
|
|
import Isvg from 'react-inlinesvg' |
|
|
@ -16,7 +17,16 @@ const FormContainer = ({ title, description, back, next, children }) => ( |
|
|
|
<section> |
|
|
|
<Isvg src={zapLogo} /> |
|
|
|
</section> |
|
|
|
<section /> |
|
|
|
<section> |
|
|
|
<div |
|
|
|
className={styles.help} |
|
|
|
onClick={() => |
|
|
|
shell.openExternal('https://ln-zap.github.io/zap-tutorials/zap-desktop-getting-started') |
|
|
|
} |
|
|
|
> |
|
|
|
Need help? |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</header> |
|
|
|
|
|
|
|
<div className={styles.info}> |
|
|
|
|
|
@ -18,6 +18,17 @@ |
|
|
|
flex-direction: row; |
|
|
|
justify-content: space-between; |
|
|
|
padding: 20px 40px; |
|
|
|
|
|
|
|
.help { |
|
|
|
color: $white; |
|
|
|
text-decoration: underline; |
|
|
|
cursor: pointer; |
|
|
|
transition: all 0.25s; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
opacity: 0.5; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.info { |
|
|
|