About.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import React from 'react';
  2. class About extends React.Component {
  3. render() {
  4. const appIconPath = `file://${window.dirname}/icons/${
  5. window.mistMode
  6. }/icon2x.png`;
  7. const appName = window.mistMode === 'mist' ? 'Mist' : 'Ethereum Wallet';
  8. return (
  9. <div className="row popup-windows about">
  10. <div className="col col-4 ">
  11. <img
  12. className={`left-overlay ${window.mistMode}`}
  13. src={appIconPath}
  14. style={{
  15. position: 'relative',
  16. top: '-40px',
  17. left: '-132%',
  18. width: '255%'
  19. }}
  20. />
  21. </div>
  22. <div className="col col-8 ">
  23. <h1>{appName}</h1>
  24. <p>
  25. Version {window.mist.version}
  26. <br />
  27. License {window.mist.license}
  28. <br />
  29. GitHub{' '}
  30. <a href="https://github.com/ethereum/mist" target="_blank">
  31. github.com/ethereum/mist
  32. </a>
  33. </p>
  34. <small>Copyright 2018 Ethereum Foundation</small>
  35. </div>
  36. </div>
  37. );
  38. }
  39. }
  40. export default About;