diff --git a/src/components/sections/Hero.astro b/src/components/sections/Hero.astro index b272480..6e9f67e 100644 --- a/src/components/sections/Hero.astro +++ b/src/components/sections/Hero.astro @@ -36,7 +36,7 @@ export function greeting(text = 'hello'): Plugin { Add your plugin Browse plugins

-

Node · Deno · Bun · workerd

+

Needs @green-tea/core@26.9.0-beta.2 or newer. Each card shows which runtimes that plugin supports.

@@ -87,6 +87,11 @@ export function greeting(text = 'hello'): Plugin { letter-spacing: 0.03em; } + .hero__micro code { + font-family: var(--font-mono); + color: var(--ink); + } + .hero__code { margin: 0; background: var(--panel); diff --git a/src/components/sections/WhatIsAPlugin.astro b/src/components/sections/WhatIsAPlugin.astro index 8038bd4..146ed89 100644 --- a/src/components/sections/WhatIsAPlugin.astro +++ b/src/components/sections/WhatIsAPlugin.astro @@ -1,7 +1,8 @@ --- // Every claim here is checked against core: the shape and the three-method API are // `Plugin`/`PluginApi` in src/plugin.ts, and `mountPlugin` hands over nothing else, which is why a -// plugin cannot reorder or remove what an app already has. +// plugin cannot reorder or remove the app's steps. That guarantee covers registration only: a +// plugin's step still sees the live request context (see the comment in mountPlugin). const points = [ { title: 'One object', @@ -9,11 +10,11 @@ const points = [ }, { title: 'Core as types only', - body: 'Plugins import @green-tea/core with import type. Installing one never pulls in a second copy of core, so there is no version to line up.', + body: 'Plugins import @green-tea/core with import type and keep it out of dependencies, and review checks for it. So installing one does not pull in a second copy of core.', }, { title: 'The graph picks the order', - body: 'Say what your plugin needs and what it provides, and green-tea decides where it runs. A plugin can add to an app, but it cannot reorder or remove anything that is already there.', + body: 'Say what your plugin needs and what it provides, and green-tea decides where it runs. A plugin can only add nodes to the graph. It has no way to reorder or remove the app’s own steps.', }, ]; --- diff --git a/src/components/sections/WhyHere.astro b/src/components/sections/WhyHere.astro index 22c5c11..5c402b7 100644 --- a/src/components/sections/WhyHere.astro +++ b/src/components/sections/WhyHere.astro @@ -5,7 +5,7 @@ const reasons = [ { title: 'Runtimes read, not typed', body: 'Each card shows where your plugin runs, taken from what the package declares.' }, { title: "It doesn't go stale", - body: 'Your entry has no version in it. Every build asks the registry, so a new release shows up at the next cut without another pull request.', + body: 'Your entry has no version in it. Each rebuild of the listing asks the registry again, so your card picks up a new release without you touching the entry.', }, { title: 'Read by a person', body: 'Someone who works on green-tea reads each entry before it is listed.' }, ];