From db67c16709edce51868c85bdb0c71fbab57adb04 Mon Sep 17 00:00:00 2001 From: Timur Demin Date: Tue, 24 Sep 2019 15:12:09 +0500 Subject: [PATCH] Add link to the footer version info --- src/const.ts | 1 + src/views/mainView.tsx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/const.ts b/src/const.ts index bb2a6a0..9d6cb82 100644 --- a/src/const.ts +++ b/src/const.ts @@ -4,3 +4,4 @@ export const appVersion: string = "0.0.1"; export const appFullName: string = "Amber Web"; export const appName: string = "amber_web"; export const appAuthor: string = "Timur Demin"; +export const appHomePage: string = "https://git.tdem.in/tdemin/amber_web"; diff --git a/src/views/mainView.tsx b/src/views/mainView.tsx index 5ca8c1c..a8a64b6 100644 --- a/src/views/mainView.tsx +++ b/src/views/mainView.tsx @@ -5,6 +5,7 @@ import { RouteComponentProps } from "react-router-dom"; import TaskList from "./components/taskList"; +import { appHomePage } from "../const"; import { logout } from "../actions/auth"; import { refetchTasks, deleteTask } from "../actions/tasks"; import { AnyAction } from "../typings/actions"; @@ -110,9 +111,9 @@ class MainView extends React.Component {
- + {strings.app_versionString} - +