mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 21:31:01 +00:00
Add link to repo
This commit is contained in:
@@ -24,6 +24,26 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.Chains-fork-me {
|
||||
display: block;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
.Chains-fork-me .Icon {
|
||||
font-size: 24px;
|
||||
margin: 0;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
background: #fff;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 24px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.Chains-node-count {
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 0.3em;
|
||||
|
||||
@@ -4,6 +4,7 @@ import { Icon } from './Icon';
|
||||
import { Types, Maybe } from '@dotstats/common';
|
||||
|
||||
import chainIcon from '../icons/link.svg';
|
||||
import githubIcon from '../icons/mark-github.svg';
|
||||
import './Chains.css';
|
||||
|
||||
interface ChainData {
|
||||
@@ -27,6 +28,9 @@ export class Chains extends React.Component<Chains.Props, {}> {
|
||||
{
|
||||
this.chains.map((chain) => this.renderChain(chain))
|
||||
}
|
||||
<a className="Chains-fork-me" href="https://github.com/polkadot-js/dotstats" target="blank">
|
||||
<Icon src={githubIcon} alt="Fork Me!" />
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user