106457de4b
Use the Google Fonts API to fetch a handwritten font, which gives the app a modicum of personality. There are more "best practices" ways to do this, such as: - Download the font once, and include it in the bundle - Extend the Tailwind configure to recognize the font - Ditch the inline <style> block But I don't need the performance benefits that the first bullet provides. And the second two bullets are more relevant for a larger application with more than one font. So I think in this case, the easiest solution is best. Also: - Use `container` and `mx-auto` to constrain content for wide screens |
||
---|---|---|
.. | ||
src | ||
.envrc | ||
.gitignore | ||
elm.json | ||
index.css | ||
index.html | ||
README.md | ||
shell.nix |
Elm
Elm has one of the best developer experiences that I'm aware of. The error messages are helpful and the entire experience is optimized to improve the ease of writing web applications.
Developing
If you're interested in contributing, the following will create an environment in which you can develop:
$ nix-shell
$ npx tailwindcss build index.css -o output.css
$ elm-live -- src/Main.elm --output=Main.min.js
You can now view your web client at http://localhost:8000
!