Skip to content

Commit

Permalink
feat(settings): add links to docs (#437)
Browse files Browse the repository at this point in the history
* feat(sprites): add file sprite

* feat(settings): add link to jamdocs.org

* feat: add link to jamdocs.org in onboarding

* Revert "feat(sprites): add file sprite"

This reverts commit 09ddf2e.
  • Loading branch information
dergigi committed Aug 1, 2022
1 parent ca3cc20 commit 01515d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/Onboarding.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ export default function Onboarding() {
>
Help us improve the project on GitHub.
</a>
<a href="https://jamdocs.org" target="_blank" rel="noopener noreferrer" className="link-secondary">
read the documentation
</a>
</Trans>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/components/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ export default function Settings({ stopWallet }) {

<div className={styles['section-title']}>{t('settings.section_title_community')}</div>
<div className={styles['settings-links']}>
<a href="https://jamdocs.org" target="_blank" rel="noopener noreferrer" className="link-dark">
<div className="d-flex align-items-center">
<Sprite symbol="file" width="24" height="24" className="me-2 p-1" />
{t('settings.documentation')}
</div>
</a>
<a
href="https://github.com/joinmarket-webui/jam"
target="_blank"
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"splashscreen_description_line1": "Your wallet, your coins.",
"splashscreen_description_line2": "100% open-source & open-design.",
"splashscreen_warning_title": "Warning",
"splashscreen_warning_text": "While JoinMarket is tried and tested, Jam is anything but. It is beta software, so please use it with caution. You can <1>help to improve the project on GitHub</1>.",
"splashscreen_warning_text": "While JoinMarket is tried and tested, Jam is anything but. It is beta software, so please <2>read the documentation</2> and use it with caution. You can <1>help to improve the project on GitHub</1>.",
"screen_1_title": "Welcome to Jam for JoinMarket!",
"screen_1_description": "Jam is an interface for JoinMarket, a privacy-focused software solution that aims to improve the confidentiality and privacy of your bitcoin transactions. Its main focus is to facilitate the creation of collaborative transactions through a peer-to-peer marketplace.",
"screen_2_title": "Collaborative Transactions",
Expand Down Expand Up @@ -160,6 +160,7 @@
"button_create_wallet": "Create new wallet",
"error_loading_seed_failed": "Could not retrieve seed phrase.",
"seed_modal_info_text": "Please write down your seed phrase and password! Without this information you will not be able to access and recover your wallet!",
"documentation": "Documentation",
"github": "GitHub",
"matrix": "Matrix",
"telegram": "Telegram",
Expand Down

0 comments on commit 01515d7

Please sign in to comment.