mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +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);
|
WhitelabelStore.unlisten(this.onChange);
|
||||||
},
|
},
|
||||||
getLogo(){
|
getLogo(){
|
||||||
let logoPath = null;
|
let logoPath = this.state.whitelabel.logo;
|
||||||
if (this.state.whitelabel && this.state.whitelabel.logo) {
|
setFavicon(logoPath);
|
||||||
if (this.state.whitelabel.name === 'IkonoTV') {
|
if (this.state.whitelabel.subdomain !== 'www'){
|
||||||
logoPath = 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/favicon.ico';
|
return <img className="img-brand" src={logoPath}/>;
|
||||||
}
|
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
return (
|
else {
|
||||||
<span>
|
return (
|
||||||
|
<span>
|
||||||
<span>ascribe </span>
|
<span>ascribe </span>
|
||||||
<span className="glyph-ascribe-spool-chunked ascribe-color"></span>
|
<span className="glyph-ascribe-spool-chunked ascribe-color"></span>
|
||||||
</span>);
|
</span>);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getPoweredBy(){
|
getPoweredBy(){
|
||||||
|
Loading…
Reference in New Issue
Block a user