           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
+      className: classWithModifiers bn,
+        "#{thumbnailShape}": thumbnailShape?
+        result: showVotes
+        placed: showVotes && top3
+        "placed-#{place}": showVotes && top3
+        smaller: showVotes && !top3
       entryLink
 
       div

      place = @props.displayIndex + 1
      top3 = place <= 3

    linkClasses = 'contest-art-entry__thumbnail'
    linkClasses += ' contest-art-entry--selected' if isSelected
    linkClasses += ' js-gallery' if @props.contest.type == 'art'

    entryLink =

          buttonId: buttonId

      if showVotes
        div className: "#{bn}__result",
          div className: "#{bn}__result-ranking",
            div className: "#{bn}__result-place",
              if top3
                i className: "fas fa-fw fa-trophy #{bn}__trophy--#{place}"
              span {}, "##{place}"
            if @props.entry.results.user_id
              a
                className: "#{bn}__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: "#{bn}__entrant', @props.entry.results.actual_name"
          div className: "#{bn}__result-pane",
            span className: "#{bn}__result-votes",
              osu.transChoice 'contest.vote.count', @props.entry.results.votes
            if not isNaN(votePercentage)
              span className: "#{bn}__result-votes #{bn}__result-votes--percentage",
                " (#{osu.formatNumber(votePercentage)}%)"
