Skip to content

Commit

Permalink
Bump Clerk with fixed index.md and relative URLs working
Browse files Browse the repository at this point in the history
in static app
  • Loading branch information
zampino committed Jul 26, 2023
1 parent 161ccde commit cd3d4af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{:paths ["dev" "notebooks" "resources"]
:deps {io.github.nextjournal/clerk {:mvn/version "0.14.919"}
:deps {io.github.nextjournal/clerk {:git/sha "fc6df7186bfea2571fff2dd790d0ad63f8d6295f"}
io.github.nextjournal/clerk-slideshow {:git/sha "f9fb86430ebf533bfc9d5cec5bf0a94ed07146f3"}

;; keep 1.10 until `kixi/stats` and `sicmutils` fix warnings
Expand Down
15 changes: 7 additions & 8 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,34 @@
(map
(fn [{:keys [path preview title description]}]
[:a.rounded-lg.shadow-lg.border.border-gray-300.relative.flex.flex-col.hover:border-indigo-600.group.mb-8.md:mb-0
{:href (clerk/doc-url path)
:style {:height 300}}
{:href (clerk/doc-url path) :title path :style {:height 300}}
[:div.flex-auto.overflow-hidden.rounded-t-md.flex.items-center.px-3.py-4
[:img {:src preview :width "100%" :style {:object-fit "contain"}}]]
[:div.sans-serif.border-t.border-gray-300.px-4.py-2.group-hover:border-indigo-600
[:div.font-bold.block.group-hover:text-indigo-600 title]
[:div.text-xs.text-gray-500.group-hover:text-indigo-600.leading-normal description]]])
[{:title "Introduction"
:preview "https://cdn.nextjournal.com/data/Qmb7qfVDvgcfeEQrfcPwD1DFipw8TuyW8Rno33NAJSYDjr?filename=introduction.png&content-type=image/png"
:path "notebooks/introduction.clj"
:path "notebooks/introduction"
:description "A first look at Clerk, including many small usage examples."}
{:title "Data Science"
:preview "https://cdn.nextjournal.com/data/QmcznoqioDQUKbH777pacrT4LDTwqmP1nmw7bfQ7uXrZQh?filename=CleanShot%202021-11-30%20at%[email protected]&content-type=image/png"
:path "notebooks/data_science.clj"
:path "notebooks/data_science"
:description "An exploration of open data using Clerk."}
{:title "Semantic Queries"
:preview "https://cdn.nextjournal.com/data/QmYH2gBYSifEgNJDjGUjVAAaHWt5c4WD6Ko7Be7Be5f4hy?filename=CleanShot%202021-11-30%20at%[email protected]&content-type=image/png"
:path "notebooks/semantic.clj"
:path "notebooks/semantic"
:description "A starter kit for interactively exploring WikiData's vast semantic database."}
{:title "Images"
:preview "https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/The_Sower.jpg/1510px-The_Sower.jpg"
:path "notebooks/images.clj"
:path "notebooks/images"
:description "Some examples about dealing with images."}
{:title "The double pendulum"
:preview "https://cdn.nextjournal.com/data/Qmdhk9WEogAvH9cgehnpq3REkATa91JiWgYNUtoSW74Q9A?filename=CleanShot%202021-11-30%20at%[email protected]&content-type=image/png"
:path "notebooks/sicmutils.clj"
:path "notebooks/sicmutils"
:description "Simulate and visualize physical systems from the REPL."}
{:title "Rule 30"
:preview "https://cdn.nextjournal.com/data/QmQCrqkdYtKfNm9CGbXhzY4cy6qG8xhpWaCRPF5m6biLgV?filename=CleanShot%202021-11-30%20at%[email protected]&content-type=image/png"
:path "notebooks/rule_30.clj"
:path "notebooks/rule_30"
:description "Cellular automata meet moldable viewers. 👾"}])))
```

0 comments on commit cd3d4af

Please sign in to comment.