2022-10-03 16:54:26 +00:00
|
|
|
# pub.solar homepage
|
|
|
|
|
|
|
|
This is the repository containing the code for https://pub.solar.
|
|
|
|
|
2022-10-20 14:17:19 +00:00
|
|
|
It is built using [lume](https://lume.land/) with JSX. To get started, make sure
|
|
|
|
you're loading all dependencies via `direnv`:
|
2022-10-03 16:54:26 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
$ direnv allow
|
|
|
|
```
|
|
|
|
|
2022-10-20 14:17:19 +00:00
|
|
|
This will use nix shell to create an environment that has deno and lume
|
|
|
|
available.
|
2022-10-03 16:54:26 +00:00
|
|
|
|
|
|
|
To get a live development server, run
|
|
|
|
|
|
|
|
```
|
|
|
|
$ deno task serve
|
|
|
|
```
|
|
|
|
|
2022-10-20 14:17:19 +00:00
|
|
|
Unfortunately, hot module reloading is currently broken for JSX modules, so
|
|
|
|
you'll need to restart this process regularly during development.
|
2022-10-03 16:54:26 +00:00
|
|
|
|
|
|
|
## Updating Open Sans
|
|
|
|
|
2022-10-20 14:17:19 +00:00
|
|
|
To update the font files and CSS, run `google-font-downloader $FONT_CSS_URL`.
|
2022-10-20 16:21:34 +00:00
|
|
|
As "documentation" `flake.nix` shows the internals, and
|
2022-10-20 14:17:19 +00:00
|
|
|
`_includes/styles/typography.css` has a comment at the top that shows which
|
|
|
|
command was used to generate it.
|