From d5eeec2a0b87917c334b693704a837566a1136f0 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Thu, 17 Dec 2020 21:34:34 +0200 Subject: [PATCH] refactor: add app version to about --- .dockerignore | 1 + packages/concordia-app/.env.development.example | 1 - packages/concordia-app/src/views/About/index.jsx | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 9735aca..46f9cac 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,6 +13,7 @@ docker/ packages/*/node_modules packages/*/dist packages/*/coverage +packages/*/*.env* # TO-NEVER-DO: exclude the build folder of the contracts package, it's needed for building the application image. packages/concordia-app/build diff --git a/packages/concordia-app/.env.development.example b/packages/concordia-app/.env.development.example index eeeb884..4565811 100644 --- a/packages/concordia-app/.env.development.example +++ b/packages/concordia-app/.env.development.example @@ -7,6 +7,5 @@ HOST=localhost PORT=7000 # 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_PORT=9090 diff --git a/packages/concordia-app/src/views/About/index.jsx b/packages/concordia-app/src/views/About/index.jsx index fcd02ba..12ed27f 100644 --- a/packages/concordia-app/src/views/About/index.jsx +++ b/packages/concordia-app/src/views/About/index.jsx @@ -24,6 +24,12 @@ const About = () => { return ( +
+ {/* TODO: add logo */} + LOGO +
+ {`v${process.env.REACT_APP_VERSION}`} +