Skip to content

Commit

Permalink
Revert "Add anniversary decoration"
Browse files Browse the repository at this point in the history
This reverts commit 9f4981a.
  • Loading branch information
logan committed Dec 13, 2016
1 parent 951e51d commit d35b78b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
18 changes: 0 additions & 18 deletions client/lib/fauxPlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import React from 'react'
import Reflux from 'reflux'
import Immutable from 'immutable'
import moment from 'moment'


export default function initPlugins(roomName) {
Expand Down Expand Up @@ -848,21 +847,4 @@ export default function initPlugins(roomName) {
})
}
}

const now = moment()
if (now.month() === 11 && (now.date() === 13 || now.date() === 14)) {
Heim.hook('page-bottom', () => {
return (
<style key="anniversary-style" dangerouslySetInnerHTML={{__html: `
.messages-content {
background-image: url(/static/anniversary.svg) !important;
background-repeat: no-repeat !important;
background-position: center bottom !important;
background-size: 100vmin !important;
background-attachment: fixed !important
}
`}} />
)
})
}
}
30 changes: 0 additions & 30 deletions client/static/anniversary.svg

This file was deleted.

0 comments on commit d35b78b

Please sign in to comment.