mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
real logo of ikono added , backend settings changed we get everything from whitelabel logo
This commit is contained in:
parent
d66d80e229
commit
c69767c10b
@ -64,25 +64,18 @@ let Header = React.createClass({
|
||||
WhitelabelStore.unlisten(this.onChange);
|
||||
},
|
||||
getLogo(){
|
||||
let logoPath = null;
|
||||
if (this.state.whitelabel && this.state.whitelabel.logo) {
|
||||
if (this.state.whitelabel.name === 'IkonoTV') {
|
||||
logoPath = 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/favicon.ico';
|
||||
}
|
||||
else {
|
||||
logoPath = this.state.whitelabel.logo;
|
||||
}
|
||||
let logo = <img className="img-brand" src={logoPath}/>;
|
||||
setFavicon(logoPath);
|
||||
console.log('should change browser icon');
|
||||
console.log(logoPath);
|
||||
return logo;
|
||||
let logoPath = this.state.whitelabel.logo;
|
||||
setFavicon(logoPath);
|
||||
if (this.state.whitelabel.subdomain !== 'www'){
|
||||
return <img className="img-brand" src={logoPath}/>;
|
||||
}
|
||||
return (
|
||||
<span>
|
||||
else {
|
||||
return (
|
||||
<span>
|
||||
<span>ascribe </span>
|
||||
<span className="glyph-ascribe-spool-chunked ascribe-color"></span>
|
||||
</span>);
|
||||
}
|
||||
},
|
||||
|
||||
getPoweredBy(){
|
||||
|
Loading…
Reference in New Issue
Block a user