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>
This commit is contained in:
6 files changed
+24
-10
No files matched your search
@@ -4,8 +4,8 @@ import logoUrl from '../assets/logo.svg?url';
|
||||
const navLinks = [
|
||||
{ label: 'Docs', href: 'https://docs.green-tea.dev', external: true },
|
||||
{ label: 'Blog', href: '/blog', external: false },
|
||||
{ label: 'GitHub', href: 'https://github.com/expressive-tea/green-tea', external: true },
|
||||
{ label: 'npm', href: 'https://www.npmjs.com/package/@expressive-tea/core', external: true },
|
||||
{ label: 'GitHub', href: 'https://github.com/green-tea-dev/green-tea', external: true },
|
||||
{ label: 'npm', href: 'https://www.npmjs.com/package/@green-tea/core', external: true },
|
||||
];
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user