Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 7e25974

Browse files
committed
Release 0.5.0; Add About link
1 parent c943272 commit 7e25974

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ PREACT_APP_GOOGLE_API_KEY=
55
PREACT_APP_GOOGLE_CAL_ID=
66
PREACT_APP_BUILD_ID=
77
PREACT_APP_PHOTOS_ROTATION_INTERVAL_MS=30000
8+
PREACT_APP_ABOUT_URL=https://github.com/beshur/TableStatusWeb/

Roadmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
+ Weather (openweathermap integration)
77
+ Agenda for the day (google cal integration)
88
+ Notes
9-
+ Photos (?)
9+
+ Photos
1010
- Blog (WP integration)
1111
- Wishlist (hotelka integration)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "tablestatus",
4-
"version": "0.4.0",
4+
"version": "0.5.0",
55
"license": "MIT",
66
"scripts": {
77
"start": "per-env",

src/components/about.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function About() {
2+
return (<div><a href={process.env.PREACT_APP_ABOUT_URL}>О проекте/About</a></div>)
3+
}

src/components/app.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import Header from './header';
77
import Home from '../routes/home';
88

99
import BuildId from './build_id';
10+
import About from './about';
1011

1112
export default class App extends Component {
1213

@@ -49,7 +50,10 @@ export default class App extends Component {
4950
<Home path="/" googleApiLoaded={googleApiLoaded} />
5051
</Router>
5152

52-
<BuildId />
53+
<div style="display: flex; text-align: center; justify-content: center;">
54+
<BuildId />
55+
<About />
56+
</div>
5357
</div>
5458
);
5559
}

src/components/build_id.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default function BuildId() {
2-
return (<div data-build-id={process.env.PREACT_APP_BUILD_ID}>🏗 {process.env.PREACT_APP_BUILD_ID}</div>)
2+
return (<div data-build-id={process.env.PREACT_APP_BUILD_ID} style="margin-right: 15px; line-height: 14px;">🏗 {process.env.PREACT_APP_BUILD_ID}</div>)
33
}

0 commit comments

Comments
 (0)