Files
website/src/pages/index.astro
T
chrnx 7238819520
CI / build (pull_request) Successful in 12s
content: sell foundation ownership, not the absence of middleware
The homepage led with 'your API is a graph, not a middleware chain' — the
origin problem stated as the whole product philosophy. Middleware ordering is
what green-tea started from, not what it is for, and a visitor who has never
felt that specific pain reads it as a framework defined by what it lacks.

Reframes the page around what the framework takes off the application: it
derives execution from declared dependencies, validates the wiring before
traffic, runs only the slice a route asks for, and then shows its work. Two
sections are new because nothing on the page carried the argument — an
ownership list that ends at 'business rules: you', and the two route slices
that make dependency-driven execution concrete rather than abstract.

The dependency count moves from hero to evidence, with the nuance it was
missing: reflect-metadata is the only runtime dependency, ws and busboy are
optional peers. Beta honesty gains the API-stability caveat.

Follows .specs/reports/green_tea_website_copy_strategy_zen.md, whose
guardrails were re-checked against the built page — no zero-dependency claim,
no compile-time overclaim, mesh still alpha, edge limits still stated.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-18 09:29:53 -05:00

63 lines
2.1 KiB
Plaintext

---
import Base from '../layouts/Base.astro';
import Hero from '../components/sections/Hero.astro';
import WhoDoesTheWork from '../components/sections/WhoDoesTheWork.astro';
import GraphNotChain from '../components/sections/GraphNotChain.astro';
import FollowsDemand from '../components/sections/FollowsDemand.astro';
import HowItCompares from '../components/sections/HowItCompares.astro';
import RunsEverywhere from '../components/sections/RunsEverywhere.astro';
import RealTime from '../components/sections/RealTime.astro';
import Batteries from '../components/sections/Batteries.astro';
import SeeIt from '../components/sections/SeeIt.astro';
import Faq from '../components/sections/Faq.astro';
import HonestBeta from '../components/sections/HonestBeta.astro';
const title = 'Green Tea — Dependency-driven TypeScript backend framework';
const description =
'Build TypeScript backends with less infrastructure in your head. Declare what your code needs and Green Tea derives, validates and executes the graph across Node, Deno, Bun and the edge.';
const canonicalURL = new URL('/', Astro.site).toString();
const repositoryURL = 'https://github.com/Expressive-Tea/green-tea';
const structuredData = {
'@context': 'https://schema.org',
'@graph': [
{
'@type': 'WebSite',
'@id': `${canonicalURL}#website`,
url: canonicalURL,
name: 'Green Tea',
description,
},
{
'@type': 'SoftwareApplication',
'@id': `${canonicalURL}#software`,
name: 'Green Tea',
description,
applicationCategory: 'DeveloperApplication',
operatingSystem: 'Cross-platform',
url: canonicalURL,
sameAs: repositoryURL,
license: `${repositoryURL}/blob/main/LICENSE`,
offers: {
'@type': 'Offer',
price: '0',
priceCurrency: 'USD',
},
},
],
};
---
<Base title={title} description={description} structuredData={structuredData}>
<Hero />
<WhoDoesTheWork />
<GraphNotChain />
<FollowsDemand />
<SeeIt />
<RealTime />
<Batteries />
<RunsEverywhere />
<HowItCompares />
<Faq />
<HonestBeta />
</Base>