 (ns pc.views.blog.common
   (:require [cheshire.core :as json]
+            [clojure.string :as str]
             [pc.views.common :refer (cdn-path)])
   (:import [java.util UUID]))
 

          var nodes = document.getElementsByClassName(classMap[key]);
          for (var i = 0; i < nodes.length; i++) {
            var node = nodes[i];
            node[node.getAttribute('data-attr')] = fields[key];
          }
        }
      }

       [:a.dribbble-name profile-link
        [:strong (dribbble-attrs class-map "name" "innerText")]]]
      [:div.dribbble-link
       [:a.dribbble-site (dribbble-attrs class-map ["links" "web"] "href")
        ; [:span "unfold.co"]
        [:span (dribbble-attrs class-map ["links" "web"] "innerText")]]]]
     (demo-with-blank-canvas (cdn-path "/blog/private-docs-early-access/grant-access.gif") "Grant someone access with their email address.")]))
