diff --git a/.dir-locals.el b/.dir-locals.el
index 21bb118..88f3960 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,5 +1,5 @@
((clojurescript-mode .
- ((cider-clojure-cli-aliases . "-M:dev")
+ ((cider-clojure-cli-aliases . ":dev")
(cider-preferred-build-tool . clojure-cli)
(cider-default-cljs-repl . custom)
(cider-custom-cljs-repl-init-form . "(do (user/cljs-repl))")
diff --git a/deps.edn b/deps.edn
index 1743025..deba251 100644
--- a/deps.edn
+++ b/deps.edn
@@ -35,9 +35,12 @@
datascript/datascript {:mvn/version "1.5.1"}}
:paths ["src" "resources"]
:aliases {:build {:extra-deps {thheller/shadow-cljs {:mvn/version "2.23.3"}
- #_#_binaryage/devtools {:mvn/version "1.0.7"}}
- :main-opts ["-m" "shadow.cljs.devtools.cli"]}
+ #_#_binaryage/devtools {:mvn/version "1.0.7"}}
+ :main-opts ["-m" "shadow.cljs.devtools.cli"]}
+ :dev {:extra-paths ["dev"]
+ :extra-deps {thheller/shadow-cljs {:mvn/version "2.23.3"}
+ ;;binaryage/devtools {:mvn/version "1.0.7"}
+ no.cjohansen/portfolio {:mvn/version "2023.07.15"}}}
}
- :dev {:extra-deps {thheller/shadow-cljs {:mvn/version "2.23.3"}
- ;binaryage/devtools {:mvn/version "1.0.7"}
- no.cjohansen/portfolio {:mvn/version "2023.07.15"}}}}
+
+ }
diff --git a/readme.org b/readme.org
index f667fdb..4dca45b 100644
--- a/readme.org
+++ b/readme.org
@@ -1,17 +1,22 @@
+#+TITLE: Getting started
+
+
+* Install dependencies and start app
+#+BEGIN_SRC sh
+npm install
+#+END_SRC
+
+#+BEGIN_SRC sh
+clojure -Mbuild watch app
+#+END_SRC
+
+
Future Content
- Dynamic html with macro for frontend generation on build.
- Complete frontend backend example wth ring retit reagent
-#+BEGIN_SRC sh
-npm install
-#+END_SRC
-
-#+BEGIN_SRC sh
-clojure -Mbuild-dev watch app
-#+END_SRC
-
https://stacksorted.com
diff --git a/resources/public/documents/about.org b/resources/public/documents/about.org
index 9fea39d..15cac90 100644
--- a/resources/public/documents/about.org
+++ b/resources/public/documents/about.org
@@ -6,3 +6,6 @@
This site has various example's guides and snippets showing how to use Clojure and ClojureScript, they are mainly based on my journey learning coming from JavaScript and python having no previous experience with java or the JVM.
Some of the struggles have been around Terminology & inter-op with the host languages along side re orientating my brain to think more functionally.
+
+
+https://youtu.be/LKtk3HCgTa8
diff --git a/resources/public/documents/hiccup-dsl-demo.org b/resources/public/documents/hiccup-dsl-demo.org
index 7dff56f..f349fe5 100644
--- a/resources/public/documents/hiccup-dsl-demo.org
+++ b/resources/public/documents/hiccup-dsl-demo.org
@@ -97,19 +97,17 @@ We use map and into to convert the stats value
(defn playing-card
[{:keys [title image stats]}]
[:article
- [:div.border-solid.border-2.border-sky-500.m-4.w-100
- [:div.dt.w-100.mt1
- [:div [:h1.f5.f4-ns.mv0 title]]
- [:img.db.w-100.h-100.br2.br--top {:src image}]
-
- #_[:div.dtc.tr [:h2.f5.mv0 "amount"]]]
- (into [:ul.ma2.pa2]
+ [:div.border-solid.border-2.border-sky-500.m-4.w-64.rounded-lg
+ [:div.dt.w-full
+ [:div.m-4 [:h1.f5.f4-ns.mv0 title]]
+ [:img.db.w-full.h-100.br2.br--top {:src image}]]
+ (into [:ul.m-4]
(mapv (fn build-stats [[stat value]]
- [:li [:div stat [:div.fr (str value)]]])
+ [:li [:div stat [:div.float-right (str value)]]])
stats))
- [:p.f6.lh-copy.measure.mt2.mid-gray ""]]])
+ [:p.f6.lh-copy.measure.mt-2.mid-gray ""]]])
-[:div
+[:div.flex.flex-wrap
[playing-card
{:title "Bee"
:image "https://loremflickr.com/300/300/bee"
diff --git a/resources/public/index.html b/resources/public/index.html
index f8367e8..4224812 100644
--- a/resources/public/index.html
+++ b/resources/public/index.html
@@ -28,11 +28,7 @@
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
-
+
-
+