fix: add giift version
This commit is contained in:
@@ -45,6 +45,7 @@ import NumberFormat from 'react-number-format';
|
||||
import faker from 'faker';
|
||||
import { Route as RouteDOM } from 'react-router-dom'
|
||||
import WalletComponent from "./WalletComponent";
|
||||
import {APP_TYPE} from "../../config/app";
|
||||
|
||||
faker.locale = 'id_ID';
|
||||
@inject("appstate")
|
||||
@@ -320,7 +321,12 @@ export default class App extends React.Component {
|
||||
|
||||
const {userData} = this.appstate;
|
||||
// const applicationIcon = (this.settingStore.isIconEmpty) ? "/assets/images/bankbtn.png" : this.http.appendImagePath(this.settingStore.setting.icon);
|
||||
const applicationIcon = "/assets/images/bankbtn.png";
|
||||
let applicationIcon = "http://giift.asacreative.com/giift_logo_wide.4d15de72.png";
|
||||
let applicationName = 'Giift';
|
||||
if(APP_TYPE === 'btn') {
|
||||
applicationIcon = "http://btn-redemption-2.bangun-kreatif.com/dr6u0fppdi4xy.cloudfront.net/FilesDirectory/Albilad/ImgIconImage/logo-btn.png";
|
||||
applicationName = "BTN";
|
||||
}
|
||||
|
||||
let onNotifRowClick = (record) => {
|
||||
// if(record.notification.type == 'order_seller' && _.get(record,'notification.additional_data.user_order_store_id',false) != false){
|
||||
@@ -337,7 +343,7 @@ export default class App extends React.Component {
|
||||
<div className="app-container">
|
||||
<Helmet>
|
||||
<meta charSet="utf-8"/>
|
||||
<title>BTN</title>
|
||||
<title>{applicationName}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<link rel="icon" type="image/png" href={applicationIcon} sizes="96x96"/>
|
||||
</Helmet>
|
||||
@@ -366,8 +372,16 @@ export default class App extends React.Component {
|
||||
{/* <ToolbarTitle className="show-on-small marketplace-toolbarTitle" style={{color: '#424770'}}
|
||||
text={"Store Admin"}/> */}
|
||||
|
||||
<img style={{width: 150, height: 50}}
|
||||
src={'http://btn-redemption-2.bangun-kreatif.com/dr6u0fppdi4xy.cloudfront.net/FilesDirectory/Albilad/ImgIconImage/logo-btn.png'}/>
|
||||
<Link onClick={this
|
||||
.changeRoute
|
||||
.bind(this, '/app/dashboard')} to={LINKS.DASHBOARD}>
|
||||
<img
|
||||
style={{
|
||||
width: 150,
|
||||
height: 50
|
||||
}}
|
||||
src={applicationIcon}/>
|
||||
</Link>
|
||||
|
||||
<ToolbarSeparator className="hide-on-small-only" style={{marginLeft: 30, marginRight: 30}}/>
|
||||
{/*<IconButton className="hide-on-small-only" style={{marginRight: 10}}*/}
|
||||
@@ -391,7 +405,7 @@ export default class App extends React.Component {
|
||||
.bind(this, '/app/dashboard')} to={LINKS.DASHBOARD}><MenuItem
|
||||
// leftIcon={<img src="/assets/images/icon/chart.png"/>}
|
||||
className={(this.state.selectedMenu === '/app/dashboard') ? "menuAkunItem active" : 'menuAkunItem'}><span
|
||||
className="menuAkun">Dashboard</span></MenuItem></Link>
|
||||
className="menuAkun">Home</span></MenuItem></Link>
|
||||
|
||||
<Link onClick={this
|
||||
.changeRoute
|
||||
|
||||
Reference in New Issue
Block a user