Jack Clancy 26619e28cc Enforce HTTPS / Prevent Reverse Tabnabbing (#773)
* working version of test custom rule config

* setting no imports to false so tests will pass

* adding anchor blank noopener rule, rule currently off to allow tests to pass

* removing copied code from tslint-microsoft-contrib

* adding tslint-microsoft-contrib to dev deps

* extending tslint for external http rule

* locking tslint-microsoft-contrib version and turning on target blank noopener rule

* final fixes for pull #663

* add noopener noreferrer as needed

* fixing false positives for a tags without href

* really fix linting errors

* fix imports

* remove accidently(?) added LedgerNano duplicate file
2018-01-09 23:17:52 -06:00

44 lines
1.4 KiB
TypeScript

import React from 'react';
import translate from 'translations';
import TabSection from 'containers/TabSection';
import { knowledgeBaseURL } from 'config/data';
const Help = () => (
<TabSection>
<section className="container" style={{ minHeight: '50%' }}>
<div className="tab-content">
<article className="tab-pane help active">
<h1>{translate('NAV_Help')}</h1>
<article className="collapse-container">
<div>
<ul>
<li>
<h3>
<a
href="https://www.reddit.com/r/ethereum/comments/47nkoi/psa_check_your_ethaddressorg_wallets_and_any/d0eo45o"
target="_blank"
rel="noopener noreferrer"
>
<span className="text-danger">{translate('HELP_Warning')}</span>
</a>
</h3>
</li>
<li>
<h3>
This page is deprecated. Please check out our more up-to-date and searchable{' '}
<a href={knowledgeBaseURL} target="_blank" rel="noopener noreferrer">
Knowledge Base.{' '}
</a>
</h3>
</li>
</ul>
</div>
</article>
</article>
</div>
</section>
</TabSection>
);
export default Help;