Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
paths:
- ".github/workflows/pages.yml"
- "docs/brand/assets/raster/icons/thunderclaw-openclaw-plugin-icon-256.png"
- "docs/brand/assets/raster/thunderclaw-character-transparent-1024.webp"
- "package-lock.json"
- "package.json"
Expand Down
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,6 @@ Every compose change follows the same deliberate flow:
The current Thunderbird content remains authoritative throughout. Results are
validated in the background and at the Thunderbird editing boundary, and stale results fail closed.

## See it in action

Preview a writing improvement before choosing whether to apply it to the draft:

<p align="center">
<img src="site/assets/screenshots/compose-preview.png" width="900" alt="ThunderClaw showing an improved email in a preview beside a Thunderbird compose window">
</p>

Reading tools keep generated results separate from the original message and
make them easy to dismiss or reverse.

<table>
<tr>
<td width="50%" align="center"><strong>Summarize a message</strong></td>
<td width="50%" align="center"><strong>Translate in place</strong></td>
</tr>
<tr>
<td width="50%"><img src="site/assets/screenshots/message-summary.png" alt="ThunderClaw displaying a summary above the original Thunderbird message"></td>
<td width="50%"><img src="site/assets/screenshots/message-translation.png" alt="ThunderClaw displaying a French translation with a control to restore the original message"></td>
</tr>
</table>

## What it can do

| In the composer | In a received message |
Expand Down
4 changes: 0 additions & 4 deletions scripts/build-pages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ await Promise.all([
path.join(repositoryRoot, "packages", "thunderbird-extension", "src", "icons", "thunderclaw-128.png"),
path.join(assetsDirectory, "thunderclaw-128.png"),
),
cp(
path.join(repositoryRoot, "docs", "brand", "assets", "raster", "icons", "thunderclaw-openclaw-plugin-icon-256.png"),
path.join(assetsDirectory, "thunderclaw-openclaw-plugin-icon-256.png"),
),
]);

const faviconSizes = [16, 32, 48];
Expand Down
Binary file removed site/assets/screenshots/compose-preview.png
Binary file not shown.
Binary file removed site/assets/screenshots/message-summary.png
Binary file not shown.
Binary file removed site/assets/screenshots/message-translation.png
Binary file not shown.
204 changes: 135 additions & 69 deletions site/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ThunderClaw",
"short_name": "ThunderClaw",
"description": "OpenClaw-powered writing and reading assistance for Thunderbird.",
"description": "AI writing and reading assistance for Thunderbird, using your chosen provider or local model.",
"start_url": "./",
"scope": "./",
"display": "standalone",
Expand Down
272 changes: 225 additions & 47 deletions site/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ a {
.hero-copy {
position: relative;
z-index: 2;
min-width: 0;
}

.eyebrow {
Expand Down Expand Up @@ -243,6 +244,7 @@ h1 {
position: relative;
place-items: center;
align-self: stretch;
min-width: 0;
min-height: 34rem;
}

Expand Down Expand Up @@ -358,23 +360,7 @@ h1 {
margin-top: 0.9rem;
}

.step-copy pre {
max-width: 100%;
margin: 1rem 0;
padding: 0.9rem 1rem;
overflow: hidden;
border: 1px solid rgb(24 49 83 / 12%);
border-radius: 0.65rem;
background: var(--navy);
color: var(--cream);
font-size: clamp(0.72rem, 1.4vw, 0.82rem);
line-height: 1.5;
white-space: pre-wrap;
overflow-wrap: anywhere;
}

.step-copy code,
.install-note code {
code {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

Expand All @@ -398,7 +384,7 @@ h1 {
text-decoration: none;
}

.pairing-link {
.setup-link {
margin-top: 1rem;
}

Expand Down Expand Up @@ -472,49 +458,235 @@ h1 {
text-wrap: pretty;
}

.feature-shot {
min-width: 0;
.reading-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(1.5rem, 4vw, 4rem);
margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.providers,
.control,
.questions {
padding: clamp(4.5rem, 8vw, 8rem) clamp(1.4rem, 5vw, 5rem);
border-top: 1px solid var(--line);
}

.providers {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
align-items: center;
gap: clamp(2rem, 6vw, 6rem);
}

.providers .section-kicker,
.control .section-kicker,
.questions .section-kicker {
color: #087f73;
}

.providers h2,
.control h2,
.questions h2 {
margin: 0;
font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
font-size: clamp(2.8rem, 4.5vw, 4.8rem);
letter-spacing: -0.055em;
line-height: 1.04;
text-wrap: balance;
}

.shot-frame {
overflow: hidden;
border: 1px solid rgb(255 251 235 / 20%);
border-radius: clamp(0.8rem, 1.6vw, 1.3rem);
background: #f4f5f7;
box-shadow: 0 1.5rem 4rem rgb(5 15 28 / 28%);
.providers-copy > p:last-child,
.provider-options > p,
.control-grid p {
margin: 1.25rem 0 0;
color: var(--navy-soft);
font-size: 0.95rem;
line-height: 1.7;
}

.provider-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
margin: 0;
padding: 0;
list-style: none;
}

.provider-list li {
display: grid;
place-items: center;
min-height: 4rem;
padding: 0.8rem;
border: 1px solid var(--line);
border-radius: 0.8rem;
background: rgb(255 255 255 / 40%);
font-size: 1rem;
font-weight: 800;
text-align: center;
}

.shot-frame-dark {
background: #202126;
.provider-options > p {
font-size: 0.82rem;
}

.provider-options a {
text-underline-offset: 0.2em;
}

.writing-example {
display: grid;
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
align-items: center;
gap: clamp(2rem, 6vw, 5rem);
padding: clamp(1.5rem, 4vw, 3rem);
border: 1px solid rgb(255 251 235 / 20%);
border-radius: 1.3rem;
background: rgb(255 251 235 / 4%);
}

.shot-frame img {
.example-label {
display: block;
width: 100%;
height: auto;
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 0.07em;
line-height: 1.5;
text-transform: uppercase;
}

.example-intro > .example-label,
.reading-example > .example-label {
color: #64d9cb;
}

.example-intro h3,
.reading-example h3 {
margin: 1rem 0;
font-size: clamp(1.5rem, 2.5vw, 2.25rem);
letter-spacing: -0.035em;
line-height: 1.15;
text-wrap: balance;
}

.example-intro p,
.reading-example > p {
margin: 0;
color: #c4d3df;
font-size: 0.95rem;
line-height: 1.7;
}

.example-source,
.example-result,
.message-example {
padding: clamp(1.2rem, 3vw, 2rem);
border-radius: 0.8rem;
background: var(--cream);
color: var(--navy);
}

.example-source {
border: 1px solid rgb(255 251 235 / 20%);
background: transparent;
color: #c4d3df;
}

.example-result {
margin-top: 0.8rem;
border-left: 4px solid var(--teal);
}

.example-source p,
.example-result p,
.message-example p {
margin: 0.8rem 0 0;
font-size: 1.05rem;
line-height: 1.65;
}

.example-caption {
margin: 1rem 0 0;
color: #c4d3df;
font-size: 0.8rem;
text-align: center;
}

.message-example {
margin-top: 1.5rem;
}

.message-example ul {
margin: 0.8rem 0 0;
padding-left: 1.2rem;
line-height: 1.8;
}

.translated-example {
padding-top: 0.8rem;
border-top: 1px solid var(--line);
color: #087f73;
font-weight: 650;
}

.feature-shot figcaption {
margin-top: 1.25rem;
color: #b7cad8;
.build-note {
margin: 0 0 1.5rem;
padding: 1rem 1.25rem;
border: 1px solid var(--line);
border-radius: 0.8rem;
color: var(--navy-soft);
font-size: 0.9rem;
line-height: 1.55;
line-height: 1.65;
}

.feature-shot figcaption span {
display: block;
margin-bottom: 0.25rem;
color: var(--cream);
font-size: 1rem;
font-weight: 850;
.build-note a {
text-underline-offset: 0.2em;
}

.reading-grid {
.control {
background: var(--cream-deep);
}

.control-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(1.5rem, 4vw, 4rem);
margin-top: clamp(3.5rem, 7vw, 6.5rem);
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2rem;
margin: 3rem 0 2rem;
}

.control-grid h3 {
margin: 0;
font-size: 1.15rem;
letter-spacing: -0.025em;
}

.control-grid p {
margin-top: 0.7rem;
}

.question-list {
margin-top: 2.5rem;
border-top: 1px solid var(--line);
}

.question-list details {
padding: 1.4rem 0;
border-bottom: 1px solid var(--line);
}

.question-list summary {
cursor: pointer;
font-size: 1.05rem;
font-weight: 750;
line-height: 1.5;
}

.question-list p {
max-width: 54rem;
margin: 1rem 0 0;
color: var(--navy-soft);
font-size: 0.95rem;
line-height: 1.75;
}

footer {
Expand Down Expand Up @@ -544,7 +716,7 @@ footer a {

@media (max-width: 900px) {
.hero {
grid-template-columns: 1fr;
grid-template-columns: minmax(0, 1fr);
padding-top: 3rem;
}

Expand All @@ -565,7 +737,13 @@ footer a {
width: min(83vw, 39rem);
}

.showcase-heading {
.showcase-heading,
.providers,
.writing-example {
grid-template-columns: 1fr;
}

.control-grid {
grid-template-columns: 1fr;
}

Expand Down
Loading