Practicalli Landing Pageλ︎
Build simple websites and landing pages using ClojureScript and figwheel-main.
Using the projectλ︎
Run the REPL
Run tests (stopping on first failing test)
Template designλ︎
Configuration files
deps.edn
project dependencies and aliases defining figwheel buildsdev.cljs.edn
development build configurationlive.cljs.edn
live build configuration (GitHub pages deployment by default)figwheel-main.edn
general figwheel configuration
Clojure code
src/project/landing-page.clj
compose components to render the websitesrc/project/components.clj
functions that define component and associated helper functionssrc/project/data.clj
data structure passed in part or whole to each component, via thelanding-page
.
project.data
namespace defines an example data structure as a static value (def). Use an atom to contain the data structure if the data should be updated by components in the project.