This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
discourse/app/assets/javascripts/discourse/components/home_logo_component.js
2013-11-19 21:28:05 +01:00

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()
});