mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
changelog: dialog for changelog
This commit is contained in:
parent
b719b3f1a2
commit
65e549a5af
12 changed files with 218 additions and 34 deletions
|
@ -1,20 +1,24 @@
|
|||
import React from 'react';
|
||||
import { CLIENT } from '$config/frontend';
|
||||
import { APP_INFO } from '$constants/app_info';
|
||||
|
||||
type Props = {
|
||||
userLogout: Function,
|
||||
openAppInfoDialog: Function,
|
||||
}
|
||||
|
||||
export const UserMenu = ({ userLogout }: Props) => (
|
||||
export const UserMenu = ({ userLogout, openAppInfoDialog }: Props) => (
|
||||
<div className="user-panel-menu">
|
||||
<div className="user-panel-title">
|
||||
ORCHID
|
||||
<br />
|
||||
MAP
|
||||
<span className="user-panel-ver">
|
||||
- { CLIENT.VER }
|
||||
- {(APP_INFO.VERSION || 1)}.{(APP_INFO.RELEASE.length || 0)}
|
||||
</span>
|
||||
</div>
|
||||
<div className="user-panel-item" onClick={openAppInfoDialog}>
|
||||
О редакторе карт
|
||||
</div>
|
||||
<a className="user-panel-item" href="https://github.com/muerwre/orchidMap" target="_blank" rel="noopener noreferrer">
|
||||
Проект на github
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue