Browse Source

refactor: add app version to about

develop
Apostolos Fanakis 4 years ago
parent
commit
d5eeec2a0b
  1. 1
      .dockerignore
  2. 1
      packages/concordia-app/.env.development.example
  3. 6
      packages/concordia-app/src/views/About/index.jsx

1
.dockerignore

@ -13,6 +13,7 @@ docker/
packages/*/node_modules packages/*/node_modules
packages/*/dist packages/*/dist
packages/*/coverage packages/*/coverage
packages/*/*.env*
# TO-NEVER-DO: exclude the build folder of the contracts package, it's needed for building the application image. # TO-NEVER-DO: exclude the build folder of the contracts package, it's needed for building the application image.
packages/concordia-app/build packages/concordia-app/build

1
packages/concordia-app/.env.development.example

@ -7,6 +7,5 @@ HOST=localhost
PORT=7000 PORT=7000
# Variables needed in runtime (in browser) # Variables needed in runtime (in browser)
# Carefull, IPFS won't accept localhost as a valid hostname
REACT_APP_RENDEZVOUS_HOST=127.0.0.1 REACT_APP_RENDEZVOUS_HOST=127.0.0.1
REACT_APP_RENDEZVOUS_PORT=9090 REACT_APP_RENDEZVOUS_PORT=9090

6
packages/concordia-app/src/views/About/index.jsx

@ -24,6 +24,12 @@ const About = () => {
return ( return (
<Container id="about-container"> <Container id="about-container">
<div style={{ textAlign: 'center' }}>
{/* TODO: add logo */}
LOGO
<br />
{`v${process.env.REACT_APP_VERSION}`}
</div>
<ReactMarkdown <ReactMarkdown
source={aboutMd} source={aboutMd}
renderers={{ renderers={{

Loading…
Cancel
Save