 (ns geoforms.db
+  (:require-macros [reagent.ratom :refer [reaction]])
   (:require [clojure.string :as str]
             [matchbox.core :as m]
             [matchbox.atom :as ma]


(def ideas (mr/sync-r ideas-ref (comp ->id-vec sort)))

(def categories (mr/sync-list categories-ref))

(def districts (mr/sync-list districts-ref))

(def supported-ideas (atom #{}))


   :80-84
   :85+])

(def category-translations
  (atom {:en ["Greening"
              "Mobility"
              "Infrastructure"
              "Shops"
              "Activities"
              "Habitation"
              "Other"]
         :fr ["Verdissement"
              "Mobilité"
              "Infrastructure"
              "Commerces"
              "Activités"
              "Habitations"
              "Autre"]}))

;; atoms

