23 lines
546 B
JavaScript
23 lines
546 B
JavaScript
Discourse.HomeLogoComponent = Ember.Component.extend({
|
|
classNames: ["title"],
|
|
|
|
linkUrl: function() {
|
|
return Discourse.getURL("/");
|
|
}.property(),
|
|
|
|
showSmallLogo: function() {
|
|
return !Discourse.Mobile.mobileView && this.get("minimized");
|
|
}.property("minimized"),
|
|
|
|
smallLogoUrl: function() {
|
|
return Discourse.SiteSettings.logo_small_url;
|
|
}.property(),
|
|
|
|
bigLogoUrl: function() {
|
|
return Discourse.SiteSettings.logo_url;
|
|
}.property(),
|
|
|
|
title: function() {
|
|
return Discourse.SiteSettings.title;
|
|
}.property()
|
|
});
|