(ns rid3.basics-util
  (:require
   [rid3.version :as version]
   [clojure.string :as string]))


(defn link-source [n]
  [:div {:style {:margin-bottom "16px"}}
   [:a {:href
        (str "/"
             version/version-number
             "/src/basics/rid3/"
             (string/replace n "-" "_")
             ".cljs")}
    "source"]])

(ns rid3.basics-util
  (:require
   [rid3.version :as version]
   [clojure.string :as string]))


(defn link-source [n]
  [:div {:style {:margin-bottom "16px"}}
   [:a {:href
        (str "/"
             version/version-number
             "/src/basics/rid3/"
             (string/replace n "-" "_")
             ".cljs")}
    "source"]])
