NixLabConnectionconnecting
CommitsCommit
web/dreamstop.openfp.net · commit

Open the front page with the intro

SmSmartypants, 2026-12-06 20:13a08e816170

parents: 27457ddc94

Open the front page with the intro

8 files changed

Diff

 dreamstop-openfp-net-web/ChangeLog.md     | 4 ++++
 dreamstop-openfp-net-web/README.md        | 2 +-
 dreamstop-openfp-net-web/src/Site/Page.hs | 4 ++--
 dreamstop-openfp-net-web/src/Site/View.hs | 1 -
 dreamstop.css                             | 2 +-
 nix/site.nix                              | 6 +++---
 og.svg                                    | 2 +-
 prose/front.vx                            | 1 -
 8 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/dreamstop-openfp-net-web/ChangeLog.md b/dreamstop-openfp-net-web/ChangeLog.md
index 6af2225..c393a01 100644
--- a/dreamstop-openfp-net-web/ChangeLog.md
+++ b/dreamstop-openfp-net-web/ChangeLog.md
@@ -1,5 +1,9 @@
 # ChangeLog
  
+## Unreleased
+ 
+- The front page now opens with the sentence "dreamstop is a language for disambiguating text.", with no tagline above it, and its title, description and preview card now say "a language for disambiguating text".
+ 
 ## 0.2.2.0 — 2026-12-06
  
 - The manual is now a PDF only, at `/manual/dreamstop.pdf`, and the front page's links to the manual now open it.
diff --git a/dreamstop-openfp-net-web/README.md b/dreamstop-openfp-net-web/README.md
index ffb3f89..be17a5b 100644
--- a/dreamstop-openfp-net-web/README.md
+++ b/dreamstop-openfp-net-web/README.md
@@ -1,7 +1,7 @@
 # dreamstop-openfp-net-web
  
 The dreamstop.openfp.net website: the front page of dreamstop, a language
-for continuous disambiguation. The page says what dreamstop is, shows the
+for disambiguating text. The page says what dreamstop is, shows the
 three verdicts a sentence can get (clear, ambiguous and nonsense) with an
 example of each, and teaches minimal pairs with one pair from a real
 ChangeLog. It links the dreamstop user manual, a PDF served at `/manual/dreamstop.pdf`.
diff --git a/dreamstop-openfp-net-web/src/Site/Page.hs b/dreamstop-openfp-net-web/src/Site/Page.hs
index 6878c6a..6b3f76e 100644
--- a/dreamstop-openfp-net-web/src/Site/Page.hs
+++ b/dreamstop-openfp-net-web/src/Site/Page.hs
@@ -51,10 +51,10 @@ name = "dreamstop"
 --
 -- @since 0.1.0.0
 tagline :: MisoString
-tagline = "a language for continuous disambiguation"
+tagline = "a language for disambiguating text"
  
 -- | The description in the head and on the card.
 --
 -- @since 0.1.0.0
 description :: MisoString
-description = "dreamstop is a language for continuous disambiguation. A program marks up every clause with codepoints, and authors rewrite any sentence that is not clear."
+description = "dreamstop is a language for disambiguating text. A program marks up every clause with codepoints, and authors rewrite any sentence that is not clear."
diff --git a/dreamstop-openfp-net-web/src/Site/View.hs b/dreamstop-openfp-net-web/src/Site/View.hs
index 848b6e9..72bf714 100644
--- a/dreamstop-openfp-net-web/src/Site/View.hs
+++ b/dreamstop-openfp-net-web/src/Site/View.hs
@@ -74,7 +74,6 @@ view _ =
         [ div_
             [classList ["container"]]
             [ h1_ [classList ["display"], fontDisplay] [gradientText [text name]]
-            , p_ [classList ["lead"]] ["dreamstop is a language for continuous disambiguation."]
             , p_
                 []
                 [ "dreamstop is a language for disambiguating text. \
diff --git a/dreamstop.css b/dreamstop.css
index 3987b77..ac4715b 100644
--- a/dreamstop.css
+++ b/dreamstop.css
@@ -83,7 +83,7 @@ h1.display {
   font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.05; text-transform: uppercase;
   color: var(--title); margin: 1rem 0 0; max-width: 18ch;
 }
-.lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--ink); margin: 1.6rem 0 0; }
+.hero h1 + p { margin: 1.6rem 0 0; }
 .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 0; }
  
 /* Sections. */
diff --git a/nix/site.nix b/nix/site.nix
index 6bc8d18..596dc17 100644
--- a/nix/site.nix
+++ b/nix/site.nix
@@ -172,8 +172,8 @@ local:
           '';
  
       name = "dreamstop";
-      title = "dreamstop — a language for continuous disambiguation";
-      description = "dreamstop is a language for continuous disambiguation. A program marks up every clause with codepoints, and authors rewrite any sentence that is not clear.";
+      title = "dreamstop — a language for disambiguating text";
+      description = "dreamstop is a language for disambiguating text. A program marks up every clause with codepoints, and authors rewrite any sentence that is not clear.";
       card = "https://dreamstop.openfp.net/og.png";
       forge = "https://nixlab.openfp.net";
       meta =
@@ -224,7 +224,7 @@ local:
  
       cardCopy = pkgs.runCommand "dreamstop.openfp.net-card-copy" { } ''
         tagline=$(tr '\n' ' ' < ${../og.svg} | grep -oE '<text id="tagline".*' | sed -E 's#</text>.*##; s#<[^>]*># #g' | tr -s ' ' | sed -E 's/^ //; s/ $//')
-        [ "$tagline" = "a language for continuous disambiguation" ] || { echo "card: the card must say the tagline, not '$tagline'" >&2; exit 1; }
+        [ "$tagline" = "a language for disambiguating text" ] || { echo "card: the card must say the tagline, not '$tagline'" >&2; exit 1; }
         grep -qF '<image href="dreamstop.svg"' ${../og.svg} || { echo "card: the card must show the page's dreamstop.svg" >&2; exit 1; }
         touch $out
       '';
diff --git a/og.svg b/og.svg
index 8187531..a558302 100644
--- a/og.svg
+++ b/og.svg
@@ -9,6 +9,6 @@
   <rect x="0" y="0" width="1200" height="10" fill="#18181b"/>
   <image href="dreamstop.svg" xlink:href="dreamstop.svg" x="80" y="203" width="220" height="220"/>
   <text x="350" y="230" font-family="Montserrat" font-weight="900" font-size="64" letter-spacing="2" fill="#09090b">DREAMSTOP</text>
-  <text id="tagline" font-family="Open Sans" font-weight="400" font-size="44" fill="#3f3f46"><tspan x="350" y="320">a language for continuous</tspan><tspan x="350" y="376">disambiguation</tspan></text>
+  <text id="tagline" font-family="Open Sans" font-weight="400" font-size="44" fill="#3f3f46"><tspan x="350" y="320">a language for</tspan><tspan x="350" y="376">disambiguating text</tspan></text>
   <text x="350" y="500" font-family="Open Sans" font-weight="600" font-size="30" fill="#52525b">dreamstop.openfp.net</text>
 </svg>
diff --git a/prose/front.vx b/prose/front.vx
index 043642f..00fb5e5 100644
--- a/prose/front.vx
+++ b/prose/front.vx
@@ -5,7 +5,6 @@
 -- shown as examples, with their readings and glosses, are not prose and are
 -- not listed. No check reads this file yet: review judges each reading.
 do
-  sentence "[ASR·HAB] {disambiguation: BSC}" "dreamstop is a language for continuous disambiguation."
   sentence "[ASR·HAB]" "dreamstop is a language for disambiguating text."
   sentence "[ASR·HAB] [ASR·HAB]/comp1" "It checks that a piece of writing very likely means only one thing."
   sentence "[ASR·HAB] [ASR·HAB]/rel1 [ASR·HAB]/comp2 [ASR·HAB]/comp2 [ASR·HAB]/comp2 [ASR·HAB]/comp2" "A program marks up every clause with three-letter codepoints that identify its grammatical meaning: whether it states something or tells you to do something, whether it is done or still happening, whether it is required or only allowed."