diff --git a/docker-compose.dev-sx-host.yml b/docker-compose.dev-sx-host.yml index 5f01c24a..185751d7 100644 --- a/docker-compose.dev-sx-host.yml +++ b/docker-compose.dev-sx-host.yml @@ -27,6 +27,10 @@ services: # SX source (hot-reload on container restart) - ./spec:/app/spec:ro - ./lib:/app/lib:ro + - ./web:/app/web:ro + # blog app SX — reused for the editor's style component (transitional; + # retire when the editor + its styles are host-owned / asset-managed) + - ./blog:/app/blog:ro # OCaml server binary — this worktree's build (has the SX_HTTP_HOST bind fix) - ./hosts/ocaml/_build/default/bin/sx_server.exe:/app/bin/sx_server:ro # Durable persist store (the SX op-log/kv on disk) — survives restarts. diff --git a/lib/host/blog.sx b/lib/host/blog.sx index f880db78..e0ecf755 100644 --- a/lib/host/blog.sx +++ b/lib/host/blog.sx @@ -111,7 +111,10 @@ (dream-html (str "New post" - "" + ;; FontAwesome for the editor's +/slash-menu icons. + "" + ;; The sx-editor's own styles (.sx-*), rendered from its component via 5.1. + (render-page (quote (~editor/sx-editor-styles))) "" diff --git a/lib/host/conformance.sh b/lib/host/conformance.sh index c5ab4f1b..90578404 100755 --- a/lib/host/conformance.sh +++ b/lib/host/conformance.sh @@ -63,6 +63,8 @@ MODULES=( "lib/persist/durable.sx" "spec/render.sx" "web/adapter-html.sx" + "blog/sx/layouts.sx" + "blog/sx/editor.sx" "lib/dream/types.sx" "lib/dream/json.sx" "lib/dream/auth.sx" diff --git a/lib/host/serve.sh b/lib/host/serve.sh index 0d7d8680..3191725f 100755 --- a/lib/host/serve.sh +++ b/lib/host/serve.sh @@ -68,6 +68,8 @@ MODULES=( "lib/persist/durable.sx" "spec/render.sx" "web/adapter-html.sx" + "blog/sx/layouts.sx" + "blog/sx/editor.sx" "lib/dream/types.sx" "lib/dream/json.sx" "lib/dream/auth.sx"