Post/blog-index dates formatted pubDate in the local timezone, so a UTC-midnight date like 2026-07-10 rendered as July 9 anywhere west of UTC. Format with timeZone: 'UTC' to match the stored date. Also normalizes the npm package to @green-tea/core everywhere (Header and Footer still pointed at @expressive-tea/core) and settles on a single GitHub placeholder (https://github.com/green-tea-dev/green-tea) across Header, Footer, Hero, and HonestBeta — documented in the README as unconfirmed until launch. Docs CTAs in Hero and HonestBeta now open in a new tab with rel="noopener noreferrer", matching Header/Footer. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Green Tea. — marketing site
The public marketing site for Green Tea, a zen, opinionated, type-safe graph-pipeline HTTP framework. Built with Astro — 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 (static output)
- MDX for blog content
- @astrojs/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
npm install
npm run dev
The dev server runs at http://localhost:4321.
Build
npm run build
Static output is written to dist/. Preview it locally with:
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:
- Create a new Pages project and connect this repository.
- Framework preset: Astro
- Build command:
npm run build - Build output directory:
dist - Deploy, then attach the custom domain
green-tea.devunder 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.
Placeholder links
The repository (https://github.com/green-tea-dev/green-tea) and npm package (@green-tea/core) referenced
throughout the site (Header, Footer, Hero, blog) are placeholders — the GitHub org/repo and the npm package are
not public yet. Before launch:
- Confirm the real GitHub org/repo and update every reference in
src/if it differs fromhttps://github.com/green-tea-dev/green-tea. - Confirm
@green-tea/coreis the published npm package name and update links if it changes. - Confirm
https://docs.green-tea.devresolves once the docs site is live.
License
MIT