From 8a74e4ddeacb923d68719c490254b62656b4ea79 Mon Sep 17 00:00:00 2001 From: Adnaan Badr Date: Thu, 18 Jun 2026 15:56:09 +0000 Subject: [PATCH] Rewrite landing hero closing copy into a "so what + what's coming" hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hero's closing caption only stated negatives ("no separate frontend, no build step, no generated code") and never told the reader the payoff or teased the spine that follows, so the "real, not a toy" claim went unearned. Replace it with a two-beat block in relatable terminology (SPA, REST API, frontend framework, progressive enhancement, real-time): first the payoff the literal 20-line greet app already delivers (live in-place updates, no reload, no JavaScript written), then the real-app features that are "a small diff on this exact code" — validation, loading, progressive enhancement, cross-tab sync, multi-user, uploads — which are exactly what the rest of the page builds. Progressive enhancement stays in the "diff away" bucket since the storeless hero greet doesn't persist across a no-JS POST. Co-Authored-By: Claude Opus 4.8 (1M context) --- content/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/index.md b/content/index.md index cd35b64..b32fde3 100644 --- a/content/index.md +++ b/content/index.md @@ -57,7 +57,8 @@ func main() { http.ListenAndServe(":8080", app.Handle(&App{}, lvt.AsState(&State{Name: "there"}))) } -

That's the whole app — ~20 lines of Go and standard HTML. No separate frontend, no build step, no generated code.

+

That's the whole app — ~20 lines of Go and standard HTML. No SPA framework, no REST API, no build step.

+

It reads like a classic server-rendered form, but it behaves like a modern app: the page updates live, with no full reload and no JavaScript you had to write. From here, everything you'd reach for a frontend framework to do — form validation, loading states, progressive enhancement, real-time sync across tabs, multiplayer/collaborative views, file uploads — is a small diff on this exact code. The rest of this page builds them, one step at a time.