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.ednproject dependencies and aliases defining figwheel buildsdev.cljs.edndevelopment build configurationlive.cljs.ednlive build configuration (GitHub pages deployment by default)figwheel-main.edngeneral figwheel configuration
Clojure code
src/project/landing-page.cljcompose components to render the websitesrc/project/components.cljfunctions that define component and associated helper functionssrc/project/data.cljdata structure passed in part or whole to each component, via thelanding-page.
project.datanamespace 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.