 ;; Admin App
 ;;------------------------------------------------------------------------------
 
-(def page-titles
-  "Mapping of page-ids to titles."
-  {"swiss-round-1" "Swiss Round 1"
-   "swiss-round-2" "Swiss Round 2"
-   "swiss-round-3" "Swiss Round 3"
-   "swiss-round-4" "Swiss Round 4"
-   "swiss-round-5" "Swiss Round 5"
-   "bracket-play" "Bracket Play"
-   "all-games" "All Games"})
-
 (rum/defc AdminApp < rum/static
   [{:keys [active-page
            edit-game-modal-game

          [:div.spacer-b3729])
        (when is-swiss-round?
          [:div.col-beeb5
            [:h2.title-eef62 (str title " Results")]
            (SwissResultsTable results)])
        (when is-bracket-play?
          [:div "TODO: bracket display goes here"])]]))


      (SwissResultsTable simulated-results)]))

;; TODO: calculate this from the games data instead of hard-coding
(def last-swiss-round-num 5)

(rum/defc SwissPanel < rum/static
  [teams all-games swiss-round simulated-scoreA simulated-scoreB]
