chrnx 7f8980b958 fix: post date off-by-one and inconsistent placeholder links
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>
2026-07-10 19:21:26 -05:00

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:

  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.

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 from https://github.com/green-tea-dev/green-tea.
  • Confirm @green-tea/core is the published npm package name and update links if it changes.
  • Confirm https://docs.green-tea.dev resolves once the docs site is live.

License

MIT

S
Description
Green Tea — marketing site (green-tea.expressive-tea.io)
Readme
1.6 MiB
0 Stars 3 Watchers 0 Forks
Languages
Astro 46.3%
MDX 34.4%
JavaScript 13%
CSS 3.4%
PHP 2.5%
Other 0.4%