       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 =

          buttonId: buttonId

      if showVotes
        div className: 'contest-art-entry__result',
          div className: 'contest-art-entry__result-ranking',
            div className: 'contest-art-entry__result-place',
              if top3
                i className: "fas fa-fw fa-trophy contest-art-entry__trophy--#{place}"
              span {}, "##{place}"
            if @props.entry.results.user_id
              a
                className: 'contest-art-entry__entrant js-usercard',
                'data-user-id': @props.entry.results.user_id,
                href: laroute.route('users.show', user: @props.entry.results.user_id),
                  @props.entry.results.username
            else
              span className: 'contest-art-entry__entrant', @props.entry.results.actual_name
          div className: 'contest-art-entry__result-pane',
            span className: 'contest-art-entry__result-votes',
              osu.transChoice 'contest.vote.count', @props.entry.results.votes
            if not isNaN(votePercentage)
              span className: 'contest-art-entry__result-votes contest-art-entry__result-votes--percentage',
                " (#{osu.formatNumber(votePercentage)}%)"

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
