             [faceboard.views.boards.people.gizmos.social :refer [social-gizmo-descriptor]]
             [faceboard.helpers.social :refer [parse-social social-info]]
             [faceboard.helpers.person :as person]
-            [faceboard.helpers.utils :refer [non-sanitized-div css-transform]]
+            [faceboard.helpers.utils :refer [non-sanitized-div]]
             [faceboard.logging :refer [log log-err log-warn log-info]]
             [cuerdas.core :as str]))
 

    (let [{:keys [person editing? gizmo]} data
          need-placeholder? (not (has-contact? person))
          phone (if need-placeholder? person/phone-placeholder (person/phone person))
          email (if need-placeholder? person/email-placeholder (person/email person))]
      (dom/div {:class (str "extended-info-section contact clearfix" (if need-placeholder? " has-placeholder"))}
        (if editing?
          (om/build gizmo-component {:descriptor contact-gizmo-descriptor
                                     :state      gizmo
                                     :content    {:person person}}))
        (dom/div {:class "info-title"} "contact")
        (dom/div {:class "info-body"}
          (when email
            (dom/div {:class "email"}
              (dom/a {:href (str "mailto:" email)} email)))
          (when phone
            (dom/div {:class "phone"}
              (dom/span {} "phone: ")
              (dom/span {:class "number"} phone))))))))


(defn has-socials? [person]
  (not (zero? (count (person/socials person)))))

(defn has-icon? [social]
  (if (str/contains? social "|") 0 1))

(defn sort-social-icons-first [socials]
  (sort #(compare (has-icon? %) (has-icon? %2)) socials))

(defcomponent social-section-item-component [data _ _]
  (render [_]
