mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-04 13:19:48 +03:00
takeout
This commit is contained in:
parent
d8298d0f18
commit
0d1ab95aa3
@ -57,8 +57,8 @@ module.exports = query {
|
|||||||
render: ->
|
render: ->
|
||||||
className = (@props.meta.layout?.replace /,/g," ") || ""
|
className = (@props.meta.layout?.replace /,/g," ") || ""
|
||||||
body = [reactify @props.body]
|
body = [reactify @props.body]
|
||||||
if document.location.hostname is 'urbit.org'
|
# if document.location.hostname is 'urbit.org'
|
||||||
body.unshift (Spam {}, "")
|
# body.unshift (Spam {}, "")
|
||||||
if @props.meta.logo?
|
if @props.meta.logo?
|
||||||
body.unshift (Logo color:@props.meta.logo)
|
body.unshift (Logo color:@props.meta.logo)
|
||||||
if @props.meta.next?
|
if @props.meta.next?
|
||||||
|
@ -519,9 +519,6 @@ module.exports = query({
|
|||||||
var body, className, ref1;
|
var body, className, ref1;
|
||||||
className = ((ref1 = this.props.meta.layout) != null ? ref1.replace(/,/g, " ") : void 0) || "";
|
className = ((ref1 = this.props.meta.layout) != null ? ref1.replace(/,/g, " ") : void 0) || "";
|
||||||
body = [reactify(this.props.body)];
|
body = [reactify(this.props.body)];
|
||||||
if (document.location.hostname === 'urbit.org') {
|
|
||||||
body.unshift(Spam({}, ""));
|
|
||||||
}
|
|
||||||
if (this.props.meta.logo != null) {
|
if (this.props.meta.logo != null) {
|
||||||
body.unshift(Logo({
|
body.unshift(Logo({
|
||||||
color: this.props.meta.logo
|
color: this.props.meta.logo
|
||||||
|
Loading…
Reference in New Issue
Block a user