Files
website/README.md
T
chrnx f274a7cbe7 docs(site): point at the real GitHub org, and admit what the edge can't do
Green Tea ships under the Expressive-Tea org — the framework it grew out
of lives there, and the founder story the launch post tells is easier to
follow when both are in the same house. The green-tea-dev placeholder was
never going to exist.

RunsEverywhere claimed the same src/ runs everywhere, full stop. It
doesn't: the edge has no filesystem, so file-backed views and static
serving don't go. A landing page that oversells gets found out on day
one, and this project's whole pitch is that it tells you the truth.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 09:36:57 -05:00

80 lines
2.5 KiB
Markdown

# Green Tea. — marketing site
The public marketing site for [Green Tea](https://green-tea.dev), a zen, opinionated, type-safe graph-pipeline HTTP
framework. Built with [Astro](https://astro.build) — the landing page, blog, and brand shell live here. The
framework's technical docs live in a separate repository and are only linked from this site, not rebuilt here.
## Stack
- [Astro](https://astro.build) (static output)
- [MDX](https://docs.astro.build/en/guides/integrations-guide/mdx/) for blog content
- [@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/) for `sitemap-index.xml`
- Plain CSS (custom properties for the brand palette), no CSS framework
- No CMS, no client-side JS framework, no analytics
## Requirements
- Node.js >= 22.12.0
## Getting started
```bash
npm install
npm run dev
```
The dev server runs at `http://localhost:4321`.
## Build
```bash
npm run build
```
Static output is written to `dist/`. Preview it locally with:
```bash
npm run preview
```
## Project structure
```
src/
components/ — Header, Footer, GraphMotif, and landing sections
content/blog/ — MDX blog posts (content collection)
layouts/ — Base.astro (shell, SEO/OG), Post.astro (blog post layout)
pages/ — index, blog/, 404, rss.xml
public/ — static assets (favicon, og.png, robots.txt)
```
## Deployment (manual — Cloudflare Pages)
There is no deploy CI configured for this repo. Deploys are triggered manually from the Cloudflare Pages
dashboard:
1. Create a new Pages project and connect this repository.
2. **Framework preset:** Astro
3. **Build command:** `npm run build`
4. **Build output directory:** `dist`
5. Deploy, then attach the custom domain `green-tea.dev` under the project's Custom Domains settings.
Re-run the same "Create deployment" flow from the dashboard for subsequent releases — pushes do not trigger an
automatic build.
## Links that don't resolve yet
Green Tea lives under the **Expressive-Tea** GitHub org — the same org as the framework it grew out of. The site
already points there (`https://github.com/Expressive-Tea/green-tea`, in Header, Footer, Hero, and HonestBeta), but
those targets are not public yet. Before launch, confirm each one actually resolves:
- The GitHub repo is public under that org.
- `@green-tea/core` is published to npm under that name.
- `https://docs.green-tea.dev` is live and serving the docs site.
Every one of these is a visible 404 on the landing page until it's true.
## License
MIT