Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Add link to the footer version info
Browse files Browse the repository at this point in the history
  • Loading branch information
tdemin committed Sep 24, 2019
1 parent 14b0bf8 commit db67c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/const.ts
Expand Up @@ -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";
5 changes: 3 additions & 2 deletions src/views/mainView.tsx
Expand Up @@ -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";
Expand Down Expand Up @@ -110,9 +111,9 @@ class MainView extends React.Component<Props, State> {
</div>
<div className="app_footer">
<div className="level">
<span className="level-item text">
<a className="level-item text link" href={appHomePage}>
{strings.app_versionString}
</span>
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit db67c16

Please sign in to comment.