Hero, the honest section, the FAQ and the runtimes caveat now say release candidate and API frozen, per .specs/2026-10-30-rc1-copy.md. "1.0" becomes "stable": CalVer has no 1.0. The performance answer uses the RC.1 benchmark numbers, and the runtimes caveat notes that native TLS is Node-only. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
159 lines
3.9 KiB
Plaintext
159 lines
3.9 KiB
Plaintext
---
|
|
import logoUrl from '../../assets/logo.svg?url';
|
|
import Icon from '../Icon.astro';
|
|
import GraphMotif from '../GraphMotif.astro';
|
|
---
|
|
|
|
<section class="hero">
|
|
<div class="wrap hero__grid">
|
|
<div class="hero__content">
|
|
<div class="hero__lockup" aria-hidden="true">
|
|
<img class="hero__logo" src={logoUrl} alt="" width="36" height="36" />
|
|
<span class="hero__wordmark">Green Tea<span class="hero__dot">.</span></span>
|
|
</div>
|
|
|
|
<h1>Declare intent. Derive execution. Build your product.</h1>
|
|
|
|
<p class="hero__subhead">
|
|
A zen, opinionated, type-safe TypeScript framework that turns what your code needs into a validated
|
|
execution graph. Green Tea derives the order, runs only the dependencies each route actually requires,
|
|
and shows you exactly what it built.
|
|
</p>
|
|
|
|
<p class="hero__promise">You focus on business logic. Green Tea maintains the foundation.</p>
|
|
|
|
<div class="btn-row hero__ctas">
|
|
<a class="btn btn--primary" href="https://green-tea.expressive-tea.io/docs" target="_blank" rel="noopener noreferrer">
|
|
Get started
|
|
</a>
|
|
<a class="btn btn--ghost btn--mark" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
|
|
<Icon name="github" size={20} />
|
|
</a>
|
|
<a class="btn btn--ghost btn--mark" href="https://www.npmjs.com/package/@green-tea/core" target="_blank" rel="noopener noreferrer" aria-label="npm">
|
|
<Icon name="npm" size={20} />
|
|
</a>
|
|
<a class="btn btn--ghost btn--mark" href="https://jsr.io/@green-tea/core" target="_blank" rel="noopener noreferrer" aria-label="JSR">
|
|
<Icon name="jsr" size={20} />
|
|
</a>
|
|
</div>
|
|
|
|
<p class="hero__micro">Release candidate · API frozen · Node · Deno · Bun · Edge</p>
|
|
</div>
|
|
|
|
<GraphMotif class="hero__motif" width={460} height={400} opacity={0.55} />
|
|
</div>
|
|
</section>
|
|
|
|
<style>
|
|
.hero {
|
|
padding-block: clamp(3.5rem, 10vw, 7rem) clamp(2.5rem, 6vw, 4rem);
|
|
}
|
|
|
|
.hero__grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
|
|
align-items: center;
|
|
gap: clamp(2rem, 6vw, 4rem);
|
|
}
|
|
|
|
.hero__content {
|
|
min-width: 0;
|
|
max-width: 46ch;
|
|
}
|
|
|
|
.hero__lockup {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero__logo {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.hero__wordmark {
|
|
font-family: var(--font-heading);
|
|
font-weight: 700;
|
|
font-size: 1.05rem;
|
|
letter-spacing: 0.02em;
|
|
color: var(--matcha);
|
|
}
|
|
|
|
.hero__dot {
|
|
color: var(--violet);
|
|
}
|
|
|
|
.hero h1 {
|
|
margin-bottom: 0.6em;
|
|
}
|
|
|
|
.hero__subhead {
|
|
color: var(--dim);
|
|
font-size: 1.1rem;
|
|
line-height: 1.7;
|
|
margin-bottom: 1.1rem;
|
|
}
|
|
|
|
.hero__promise {
|
|
margin: 0 0 2rem;
|
|
font-family: var(--font-heading);
|
|
font-size: 1.02rem;
|
|
line-height: 1.6;
|
|
color: var(--ink);
|
|
}
|
|
|
|
/* Square rather than pill: with the text gone the ghost button's horizontal padding left a
|
|
wide box around a small mark. Equal padding keeps the three the same size whatever the
|
|
glyph's width. */
|
|
.btn--mark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.65rem;
|
|
aspect-ratio: 1;
|
|
}
|
|
|
|
.hero__ctas {
|
|
margin-bottom: 1.4rem;
|
|
}
|
|
|
|
.hero__micro {
|
|
margin: 0;
|
|
color: var(--dim);
|
|
font-size: 0.85rem;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
:global(.hero__motif) {
|
|
justify-self: center;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
height: auto;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.hero__grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.hero__content {
|
|
max-width: none;
|
|
}
|
|
|
|
:global(.hero__motif) {
|
|
max-width: 280px;
|
|
margin: 0 auto;
|
|
opacity: 0.35;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
:global(.hero__motif) {
|
|
max-width: 220px;
|
|
}
|
|
}
|
|
</style>
|