Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Merge branch 'develop' of github.com:gnosis/dex-react into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Dec 23, 2019
2 parents 8651ab3 + 6348e8d commit 824211e
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 5 deletions.
18 changes: 17 additions & 1 deletion src/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const Wrapper = styled.footer`
.version {
font-size: 0.85em;
a {
text-decoration: none;
}
}
`

Expand All @@ -47,7 +50,20 @@ const Footer: React.FC = () => (
<Link to="/source-code">Source code</Link>
</li>
</ul>
<div className="version">dFusion PoC v{VERSION}</div>
<div className="version">
Web{' '}
<a target="_blank" rel="noopener noreferrer" href={'https://github.com/gnosis/dex-react/tree/v' + VERSION}>
v{VERSION}
</a>{' '}
- contracts{' '}
<a
target="_blank"
rel="noopener noreferrer"
href={'https://github.com/gnosis/dex-contracts/tree/v' + CONTRACT_VERSION}
>
v{CONTRACT_VERSION}
</a>
</div>
</Wrapper>
)

Expand Down
39 changes: 35 additions & 4 deletions src/pages/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,42 @@ const About: React.FC = () => (
<PageWrapper>
<h1>About dFusion</h1>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
The dFusion PoC protocol (working title) introduces a new, fully decentralized exchange mechanism for ERC20
tokens: batch-auctions with multidimensional order books (in the form of ring trades) with uniform clearing prices
in every batch. <br />
<a
target="_blank"
rel="noopener noreferrer"
href="https://docs.google.com/document/d/1GjDX1_2RsCCxtwnjBgXaV6yXJ2AXYL4-EEYv7HjptaM/edit"
>
Read more here
</a>
</p>
<p>Versions used in this web:</p>
<ul>
<li>
Web:&nbsp;
<a target="_blank" rel="noopener noreferrer" href={'https://github.com/gnosis/dex-react/tree/v' + VERSION}>
v{VERSION}
</a>{' '}
</li>
<li>
Smart Contract:&nbsp;
<a
target="_blank"
rel="noopener noreferrer"
href={'https://github.com/gnosis/dex-contracts/tree/v' + CONTRACT_VERSION}
>
v{CONTRACT_VERSION}
</a>
</li>
<li>
dex-js library:&nbsp;
<a target="_blank" rel="noopener noreferrer" href={'https://github.com/gnosis/dex-js/tree/v' + DEX_JS_VERSION}>
v{DEX_JS_VERSION}
</a>
</li>
</ul>
</PageWrapper>
)

Expand Down
2 changes: 2 additions & 0 deletions src/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
declare let VERSION: string
declare let DEX_JS_VERSION: string
declare let CONTRACT_VERSION: string

declare module '*.svg' {
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ module.exports = ({ stats = false } = {}) => ({
// define inside one plugin instance
new webpack.DefinePlugin({
VERSION: JSON.stringify(require('./package.json').version),
DEX_JS_VERSION: JSON.stringify(require('@gnosis.pm/dex-js/package.json').version),
CONTRACT_VERSION: JSON.stringify(require('@gnosis.pm/dex-contracts/package.json').version),

// MOCK: Use mock or real API implementation
'process.env.MOCK': JSON.stringify(process.env.MOCK || 'false'),
Expand Down

0 comments on commit 824211e

Please sign in to comment.