2018-01-22 12:24:05 +00:00
|
|
|
import React from 'react';
|
2018-02-08 17:30:30 +00:00
|
|
|
import { NameInput, NameResolve } from './components';
|
2018-01-22 12:24:05 +00:00
|
|
|
import TabSection from 'containers/TabSection';
|
2018-02-07 04:28:28 +00:00
|
|
|
import { donationAddressMap } from 'config';
|
2018-02-08 17:30:30 +00:00
|
|
|
import './index.scss';
|
2018-03-22 03:50:25 +00:00
|
|
|
import translate from 'translations';
|
2017-09-04 00:04:27 +00:00
|
|
|
|
2018-02-08 17:30:30 +00:00
|
|
|
export default class ENSClass extends React.Component<{}> {
|
2018-01-22 12:24:05 +00:00
|
|
|
public render() {
|
|
|
|
return (
|
|
|
|
<TabSection isUnavailableOffline={true}>
|
2018-02-08 17:30:30 +00:00
|
|
|
<div className="Tab-content">
|
|
|
|
<section className="Tab-content-pane">
|
|
|
|
<div className="ENS">
|
|
|
|
<h1 className="ENS-title">Ethereum Name Service</h1>
|
|
|
|
<p className="ENS-description">
|
2018-03-22 03:50:25 +00:00
|
|
|
{translate('ENS_DESCRIPTION', {
|
|
|
|
$ens_docs: 'https://ens.readthedocs.io/en/latest/introduction.html',
|
|
|
|
$example_donation_addr: donationAddressMap.ETH.substr(0, 8)
|
|
|
|
})}
|
2018-02-08 17:30:30 +00:00
|
|
|
</p>
|
|
|
|
<NameInput />
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<NameResolve />
|
|
|
|
</div>
|
2018-01-22 12:24:05 +00:00
|
|
|
</TabSection>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|