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
parent
commit
677f279702
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      app/components/Onboarding/FormContainer.js
  2. 11
      app/components/Onboarding/FormContainer.scss

12
app/components/Onboarding/FormContainer.js

@ -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}>

11
app/components/Onboarding/FormContainer.scss

@ -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 {

Loading…
Cancel
Save