https://github.com/macielti/clojure-graalvm-talk
https://github.com/macielti/clojure-graalvm-talk
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/macielti/clojure-graalvm-talk
- Owner: macielti
- Created: 2024-11-27T02:39:50.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-13T11:00:55.000Z (6 months ago)
- Last Synced: 2025-02-01T11:25:19.709Z (4 months ago)
- Language: Clojure
- Size: 982 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Minimalist slides for Scittle ClojureScript.
# quickstart
- Clone this repository
- Edit [`slides.cljs`](./slides.cljs) and add your slides.
- Open [`index.html`](./index.html) in your browser.To get a live-reloading dev experience you can [Start a `josh` server](#dev).
# slides
Each slide is a `:section` tag like this:
```clojure
(defn slides [state]
[:<>
[:main[:section
[:h1 "Hello"]
[:h2 "Your first slide."]][:section
[:h1 "Slide Two"]
[:img {:src "https://w.wiki/CAvg"}]
[:h3 "It's the moon."]]; ...
```# navigation
Slide navigation keys:
- Next: RightArrow, DownArrow, PageDown, Spacebar, Enter
- Prev: LeftArrow, UpArrow, PageUp
- First: Home, Escape, Q
- Last: EndOr tap/click the right/left side of the screen to go foward/backward.
# features
- Easy to deploy static HTML.
- Use hiccup Reagent forms to design slides.
- Tiny hackable codebase.# dev
Start a live-reloading dev server:
```
echo {} > package.json
npm i cljs-josh
npx josh
```(Or just `josh` if you have done `npm i -g cljs-josh` to install it globally).
# about
Built at Barcamp London 2024 for [this talk](https://chr15m.github.io/barcamp-whats-the-point-of-lisp/).