Skip to content

Commit

Permalink
Merge pull request #27 from eurunuela/enh/version
Browse files Browse the repository at this point in the history
Add app version
  • Loading branch information
eurunuela authored Oct 20, 2021
2 parents fdf0109 + c759c25 commit 7d042f1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
INLINE_RUNTIME_CHUNK=false
GENERATE_SOURCEMAP=false
SKIP_PREFLIGHT_CHECK=true
REACT_APP_VERSION=1.0.3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rica",
"version": "1.0.2",
"version": "1.0.3",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
Expand Down
3 changes: 3 additions & 0 deletions src/PopUps/AboutPopUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class AboutPopup extends Component {
className="close"
></button>
</div>
<div className="version-container">
<span>v{process.env.REACT_APP_VERSION}</span>
</div>
</div>
</div>
);
Expand Down
8 changes: 8 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,14 @@ input[type="file"] {
color: white;
}

.version-container {
color: var(--c4);
right: 0;
position: absolute;
display: block;
margin-right: 15px;
}

/* Toggle switch */

.toggle-container {
Expand Down

0 comments on commit 7d042f1

Please sign in to comment.