       place = @props.displayIndex + 1
       top3 = place <= 3
 
-    linkClasses = 'contest-art-entry__thumbnail'
-    linkClasses += ' contest-art-entry--selected' if isSelected
+    linkClasses = "#{bn}__thumbnail"
+    linkClasses += " #{bn}--selected" if isSelected
     linkClasses += ' js-gallery' if @props.contest.type == 'art'
 
     entryLink =

          rel: 'nofollow noreferrer'
          target: '_blank'

    divClasses = 'contest-art-entry'
    divClasses += " contest-art-entry--#{thumbnailShape}" if thumbnailShape

    if showVotes
      divClasses += ' contest-art-entry--result'
      if top3
        divClasses += " contest-art-entry--placed contest-art-entry--placed-#{place}"
      else
        divClasses += ' contest-art-entry--smaller'

    div
      style:
        backgroundImage: osu.urlPresence(@props.entry.thumbnail)
      className: divClasses
      entryLink

      div

import { Voter } from './voter'
import * as React from 'react'
import { div, span, a, i } from 'react-dom-factories'
import { classWithModifiers } from 'utils/css'

el = React.createElement

export class ArtEntry extends React.Component
  render: ->
    bn = 'contest-art-entry'
    isSelected = _.includes @props.selected, @props.entry.id

    return null if @props.hideIfNotVoted && !isSelected
