-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Clerk with fixed index.md and relative URLs working
in static app
- Loading branch information
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. 👾"}]))) | ||
``` |