mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 03:24:54 +00:00
fix(site): remove the home page email signup, privacy section and claude code mention (#62387)
This commit is contained in:
parent
fc4793cede
commit
9cc63ddd2e
73 changed files with 24 additions and 2475 deletions
|
|
@ -25,7 +25,7 @@ To add a rule, add one line under its group. Mark a rule that is still being dec
|
|||
- Use OpenTUI Mono (`--font-mono`), Anomaly's own font, for nav, labels, titles and code, and Inter (`--font-sans`) for body and reading text. → [Fonts](/dev/components#fonts)
|
||||
- Serve only fonts we own or that are openly licensed (OpenTUI Mono, the OpenCode font, Inter), never a commercial face. `test/fonts.test.ts` enforces it.
|
||||
- Step text once, at 960px. Only page titles (`--fs-h1`) and display titles are fluid. → [Type scale](/dev/components#type-scale)
|
||||
- Set inputs with `--fs-input`, 16px on touch, so iOS doesn't zoom. → [Signup form](/dev/components#signup)
|
||||
- Set inputs with `--fs-input`, 16px on touch, so iOS doesn't zoom.
|
||||
- Give section titles `--title-size` with the `--title-stroke` faux medium; the current nav item gets the same stroke.
|
||||
- Keep reading text within `--measure` (about 70 characters a line).
|
||||
- Let hero and product leads run as two long lines, with no max-width cap. Why — the cap was tried and removed by David.
|
||||
|
|
|
|||
|
|
@ -48,20 +48,6 @@ dev.opencode.ai, `opencode-site-production` on opencode.ai), its bindings and it
|
|||
pushes to `dev` and `production` (`.github/workflows/deploy-site.yml`). Production takes no routes until
|
||||
`productionOwnsRoot` is switched on.
|
||||
|
||||
### Email sign-up
|
||||
|
||||
The home page's sign-up adds addresses to the OpenSend newsletter list (`src/lib/opensend.ts`) with
|
||||
the `OPENSEND_API_KEY` secret, a live OpenSend API key with manage permission. `cloudflare.config.ts`
|
||||
declares it, so a deploy fails until it's set on the Worker:
|
||||
|
||||
```bash
|
||||
read -s OPENSEND_API_KEY
|
||||
bunx cf workers secrets update OPENSEND_API_KEY --worker opencode-site-dev --text "$OPENSEND_API_KEY"
|
||||
```
|
||||
|
||||
In `bun run dev`, export `OPENSEND_API_KEY` to send real sign-ups; without it the form answers as if
|
||||
it worked and says nothing was sent.
|
||||
|
||||
The V2 docs at `/v2` are part of this app (`src/docs/`, see `src/docs/AGENTS.md`). `script/build.ts` prerenders
|
||||
them into the Worker's assets after `vite build`.
|
||||
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@ export default defineConfig(({ mode }) => {
|
|||
env: {
|
||||
ASSETS: bindings.assets(),
|
||||
STAGE: bindings.text(dev ? "dev" : "production"),
|
||||
// The email sign-up's OpenSend key (lib/opensend.ts). A deploy fails until it's set on the Worker.
|
||||
OPENSEND_API_KEY: bindings.secret(),
|
||||
},
|
||||
triggers:
|
||||
dev || productionOwnsRoot
|
||||
|
|
|
|||
|
|
@ -40,12 +40,10 @@ const modules = Object.fromEntries(
|
|||
}),
|
||||
),
|
||||
)
|
||||
// The site binds its assets, text values and secrets only; another kind of binding needs emulating
|
||||
// here first. A secret gets a placeholder: its calls go nowhere (see below).
|
||||
// The site binds its assets and text values only; another kind of binding needs emulating here first.
|
||||
const env = Object.fromEntries(
|
||||
Object.entries(config.env ?? {}).map(([name, binding]) => {
|
||||
if (binding.type === "text") return [name, { type: "text" as const, value: binding.value }]
|
||||
if (binding.type === "secret") return [name, { type: "text" as const, value: "check-worker-start" }]
|
||||
if (binding.type === "assets") return [name, { type: "assets" as const }]
|
||||
throw new Error(`check-worker-start: the ${binding.type} binding ${name} is not emulated`)
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@
|
|||
export const announcements = [
|
||||
// v2.2.0: "Create, install and share Desktop plugins (experimental)".
|
||||
{ text: "Create, install and share desktop plugins.", link: "See what's new in 2.2", href: "/changelog/v2.2.0" },
|
||||
// v2.2.3: "Use Claude Code in OpenCode".
|
||||
{ text: "Use your Claude Code login in OpenCode.", link: "See v2.2.3", href: "/changelog/v2.2.3" },
|
||||
// v2.2.4: "Persistent Desktop Terminals".
|
||||
{ text: "Desktop terminals now survive restarts.", link: "See v2.2.4", href: "/changelog/v2.2.4" },
|
||||
// v2.2.1: "Generate Images".
|
||||
|
|
|
|||
|
|
@ -146,14 +146,6 @@ export const copyVariants = {
|
|||
`OpenCode is MIT licensed. ${config.stats.contributors} contributors have made ${config.stats.commits}+ commits, and ${config.stats.monthlyUsers} developers use it every month.`,
|
||||
],
|
||||
},
|
||||
"home.privacy.title": { label: "Privacy title", lines: 1, options: ["Your code stays yours"] },
|
||||
"home.privacy.body": {
|
||||
label: "Privacy",
|
||||
lines: 1,
|
||||
options: [
|
||||
"OpenCode runs on your computer and keeps your sessions there. Your code goes only to the model provider you choose. If you choose a model hosted by OpenCode, its training and retention terms are listed in the docs.",
|
||||
],
|
||||
},
|
||||
"home.faq.a3": {
|
||||
label: "FAQ: extra subscriptions",
|
||||
lines: 1,
|
||||
|
|
@ -180,23 +172,6 @@ export const copyVariants = {
|
|||
"OpenCode runs on your computer and keeps your sessions there. Your code goes only to the model provider you choose. If you choose a model hosted by OpenCode, its training and retention terms are listed in the docs.",
|
||||
],
|
||||
},
|
||||
// The home email sign-up (signup.tsx); its own copy is the first option.
|
||||
"home.signup.title": {
|
||||
label: "Sign-up title",
|
||||
lines: 1,
|
||||
options: ["Stay in the loop", "Release notes", "Get the updates"],
|
||||
},
|
||||
"home.signup.body": {
|
||||
label: "Sign-up intro",
|
||||
lines: 1,
|
||||
options: [
|
||||
"Release notes and new products by email, when they ship. No spam, and you can unsubscribe at any time.",
|
||||
"One email when something ships: new releases and new products. Nothing else.",
|
||||
"Be the first to hear about new releases and products. Every email has an unsubscribe link.",
|
||||
],
|
||||
},
|
||||
// Sign-up style "sentence": the button that shows once the address is valid.
|
||||
"home.signup.button": { label: "Sign-up button", lines: 1, options: ["Get early access", "Let me know", "Join"] },
|
||||
// The home page's "New" bar (announcement.ts): each option keeps its own link.
|
||||
"home.announcement": { label: "Announcement", lines: 1, options: announcements.map(announcementCopy) },
|
||||
// "Get started" (lib/get-started.ts); the first option is the page's own copy.
|
||||
|
|
@ -220,7 +195,7 @@ export const copyVariants = {
|
|||
label: "Own subs line",
|
||||
lines: 1,
|
||||
options: [
|
||||
"Log in with ChatGPT Plus or Pro, GitHub Copilot or Claude Code. Or use an OpenCode subscription.",
|
||||
"Log in with ChatGPT Plus or Pro or GitHub Copilot. Or use an OpenCode subscription.",
|
||||
"Log in with OpenAI to use your ChatGPT Plus or Pro account, or with GitHub to use your Copilot account.",
|
||||
"Log in with ChatGPT or GitHub Copilot, add any API key, or subscribe to OpenCode Go.",
|
||||
],
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ import {
|
|||
statsModes,
|
||||
ossProofs,
|
||||
ossVariants,
|
||||
signupStyles,
|
||||
avatarAnimations,
|
||||
toolsAnimations,
|
||||
avatarLinks,
|
||||
|
|
@ -233,7 +232,6 @@ const settingControls: Record<string, Control> = {
|
|||
stats: setting("stats", "Stats", () => statsModes),
|
||||
ossProof: setting("ossProof", "Open source proof", () => ossProofs),
|
||||
ossVariant: setting("ossVariant", "Open source variant", () => ossVariants),
|
||||
signupStyle: setting("signupStyle", "Sign-up style", () => signupStyles),
|
||||
avatarAnimation: setting("avatarAnimation", "Avatar animation", () => avatarAnimations),
|
||||
avatarLink: setting("avatarLink", "Avatar links", () => avatarLinks),
|
||||
avatarStagger: setting("avatarStagger", "Avatar stagger ms", () => [20, 30, 35, 40, 50, 60, 80]),
|
||||
|
|
@ -273,7 +271,6 @@ const settingControls: Record<string, Control> = {
|
|||
whatColumns: setting("whatColumns", "Body columns", () => sectionColumns),
|
||||
toolsColumns: setting("toolsColumns", "Body columns", () => sectionColumns),
|
||||
openSourceColumns: setting("openSourceColumns", "Body columns", () => sectionColumns),
|
||||
privacyColumns: setting("privacyColumns", "Privacy width", () => sectionColumns),
|
||||
faqColumns: setting("faqColumns", "FAQ width", () => sectionColumns),
|
||||
consoleColumns: setting("consoleColumns", "Body columns", () => sectionColumns),
|
||||
whatCopyColumns: setting("whatCopyColumns", "Copy columns", () => sectionColumns),
|
||||
|
|
|
|||
|
|
@ -27,9 +27,7 @@ const selectors: Record<HomeSection, string> = {
|
|||
tools: '[data-section="tools"]',
|
||||
// Open source proof as its own section moves with the stats, right after them.
|
||||
openSource: ':is([data-section="openSource"], [data-section="openSourceProof"])',
|
||||
privacy: '[data-section="privacy"]',
|
||||
faq: '[data-section="faq"]',
|
||||
signup: '[data-section="signup"]',
|
||||
console: '[data-section="console"]',
|
||||
}
|
||||
|
||||
|
|
@ -41,9 +39,7 @@ const labels: Record<HomeSection, string> = {
|
|||
byos: "Bring your own subs",
|
||||
tools: "Bring your own tools",
|
||||
openSource: "Open source",
|
||||
privacy: "Privacy",
|
||||
faq: "FAQ",
|
||||
signup: "Email sign-up",
|
||||
console: "Console",
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ import {
|
|||
statsModes,
|
||||
ossProofs,
|
||||
ossVariants,
|
||||
signupStyles,
|
||||
avatarAnimations,
|
||||
toolsAnimations,
|
||||
avatarLinks,
|
||||
|
|
@ -77,7 +76,6 @@ const sectionColumnSettings = [
|
|||
{ key: "whatColumns", label: "What is OpenCode?", copy: "whatCopyColumns" },
|
||||
{ key: "toolsColumns", label: "Bring your own tools", copy: "toolsCopyColumns" },
|
||||
{ key: "openSourceColumns", label: "Open source", copy: "openSourceCopyColumns" },
|
||||
{ key: "privacyColumns", label: "Privacy" },
|
||||
{ key: "faqColumns", label: "FAQ" },
|
||||
{ key: "consoleColumns", label: "Console", copy: "consoleCopyColumns" },
|
||||
] as const
|
||||
|
|
@ -640,18 +638,6 @@ export default function PageSettings(props: { home?: boolean; terminal?: boolean
|
|||
value={siteSettings.ossProof}
|
||||
onChange={(value) => setSiteSetting("ossProof", value)}
|
||||
/>
|
||||
<SettingsSelect
|
||||
label="Sign-up section"
|
||||
options={toggles}
|
||||
value={siteSettings.signupSection}
|
||||
onChange={(value) => setSiteSetting("signupSection", value)}
|
||||
/>
|
||||
<SettingsSelect
|
||||
label="Sign-up style"
|
||||
options={signupStyles}
|
||||
value={siteSettings.signupStyle}
|
||||
onChange={(value) => setSiteSetting("signupStyle", value)}
|
||||
/>
|
||||
<SettingsSelect
|
||||
label="Avatar animation"
|
||||
options={avatarAnimations}
|
||||
|
|
|
|||
|
|
@ -176,8 +176,6 @@ const preloadRules: [string, string, (s: SiteSettings, el: HTMLElement, d: SiteS
|
|||
],
|
||||
['ul[data-component="tools"]', "data-settling", (s, el, d) => (s.toolTiles !== d.toolTiles ? "" : undefined)],
|
||||
['dl[data-component="stats"]', "data-settling", (s, el, d) => (s.stats !== d.stats ? "" : undefined)],
|
||||
['section[data-section="signup"]', "data-off", (s) => (s.signupSection === "off" ? "" : undefined)],
|
||||
['[data-component="signup"]', "data-settling", (s, el, d) => (s.signupStyle !== d.signupStyle ? "" : undefined)],
|
||||
[
|
||||
"section[data-console-height]",
|
||||
"data-settling",
|
||||
|
|
|
|||
|
|
@ -156,7 +156,6 @@ export function buildSearchIndex(
|
|||
home.tools.items.map((i) => i.name).join(" "),
|
||||
),
|
||||
section(names.home, "/", home.openSource.title, stripTags(home.openSource.lead)),
|
||||
section(names.home, "/", home.privacy.title, plainRich(home.privacy.body)),
|
||||
section(names.home, "/", home.faq.title, undefined, "questions"),
|
||||
section(names.home, "/", home.console.title, `${home.console.headline} ${home.console.body}`),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@
|
|||
"stats": "slot",
|
||||
"ossProof": "stats",
|
||||
"ossVariant": "current",
|
||||
"signupSection": "off",
|
||||
"signupStyle": "sentence",
|
||||
"avatarAnimation": "same as logos",
|
||||
"avatarLink": "commits",
|
||||
"avatarStagger": 30,
|
||||
|
|
@ -314,9 +312,7 @@
|
|||
"byos",
|
||||
"tools",
|
||||
"openSource",
|
||||
"privacy",
|
||||
"faq",
|
||||
"signup",
|
||||
"console"
|
||||
],
|
||||
"toolTiles": "logo",
|
||||
|
|
@ -350,7 +346,6 @@
|
|||
"whatColumns": "2 columns",
|
||||
"toolsColumns": "2 columns",
|
||||
"openSourceColumns": "2 columns",
|
||||
"privacyColumns": "2 columns",
|
||||
"faqColumns": "2 columns",
|
||||
"consoleColumns": "2 columns",
|
||||
"whatCopyColumns": "2 columns",
|
||||
|
|
|
|||
|
|
@ -173,9 +173,7 @@ export const homeSections = [
|
|||
"byos",
|
||||
"tools",
|
||||
"openSource",
|
||||
"privacy",
|
||||
"faq",
|
||||
"signup",
|
||||
"console",
|
||||
] as const
|
||||
export type HomeSection = (typeof homeSections)[number]
|
||||
|
|
@ -529,9 +527,6 @@ export const ossProofs = ["stats", "section", "off"] as const
|
|||
// The open source section as it is, or with a "fork it" block (terminal transcript and what a fork
|
||||
// lets you do) and a "Fork on GitHub" button.
|
||||
export const ossVariants = ["current", "fork"] as const
|
||||
// The home email sign-up (signup.tsx): a sentence whose address is typed in place, a standard field
|
||||
// and button, or a terminal prompt.
|
||||
export const signupStyles = ["sentence", "input", "terminal"] as const
|
||||
// "section" lays the Console out like the other home sections: title, then copy, no dots.
|
||||
export const consoleSections = ["section", "panel", "inline", "slim", "split", "corner", "off"] as const
|
||||
export const consoleHeights = ["auto", "card", "half", "compact"] as const
|
||||
|
|
@ -793,9 +788,6 @@ function createSchema() {
|
|||
stats: z.enum(statsModes).catch("slot"),
|
||||
ossProof: z.enum(ossProofs).catch("stats"),
|
||||
ossVariant: z.enum(ossVariants).catch("current"),
|
||||
// The home email sign-up is hidden for now; "on" shows it again.
|
||||
signupSection: z.enum(toggles).catch("off"),
|
||||
signupStyle: z.enum(signupStyles).catch("sentence"),
|
||||
avatarAnimation: z.enum(avatarAnimations).catch("same as logos"),
|
||||
avatarLink: z.enum(avatarLinks).catch("commits"),
|
||||
// Milliseconds between one avatar's reveal and the next, in the diagonal wash.
|
||||
|
|
@ -1049,7 +1041,6 @@ function createSchema() {
|
|||
whatColumns: z.enum(sectionColumns).catch("2 columns"),
|
||||
toolsColumns: z.enum(sectionColumns).catch("2 columns"),
|
||||
openSourceColumns: z.enum(sectionColumns).catch("2 columns"),
|
||||
privacyColumns: z.enum(sectionColumns).catch("2 columns"),
|
||||
faqColumns: z.enum(sectionColumns).catch("2 columns"),
|
||||
consoleColumns: z.enum(sectionColumns).catch("2 columns"),
|
||||
// The intro copy (lead or Console headline) beside the body columns above; the section body is
|
||||
|
|
@ -1196,7 +1187,6 @@ if (import.meta.env.DEV && !isServer) {
|
|||
heroText,
|
||||
stats,
|
||||
ossProof,
|
||||
signupStyle,
|
||||
avatarLink,
|
||||
cornerButton,
|
||||
wordmarkNodes,
|
||||
|
|
|
|||
|
|
@ -1,538 +0,0 @@
|
|||
/* Settings › Sign-up section "off" (the default): the section renders but takes no space. The
|
||||
pre-paint script sets data-off from saved Settings. Production leaves it out while "off" is the
|
||||
default (index.tsx, script/fold-settings.ts). */
|
||||
[data-page="home"][data-site] [data-section="signup"][data-off] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The home email sign-up (signup.tsx). Settings › Sign-up style switches the form; the section is
|
||||
laid out like the other home sections. */
|
||||
[data-page="home"][data-site] [data-component="signup"] {
|
||||
--error: var(--status-outage);
|
||||
margin-top: 2rem;
|
||||
|
||||
input {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
[data-slot="dev"] {
|
||||
margin: 1rem 0 0;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--fs-micro);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* An empty field's caret, blinking where the address will start, until the field has focus. */
|
||||
[data-slot="caret"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-slot="field"][data-empty]:not(:focus-within) [data-slot="caret"] {
|
||||
display: block;
|
||||
position: absolute;
|
||||
inset-inline-start: 0;
|
||||
top: 50%;
|
||||
width: 2px;
|
||||
height: 1.1em;
|
||||
translate: 0 -50%;
|
||||
background: var(--text-strong);
|
||||
animation: signup-blink 1.1s steps(1) infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-slot="field"][data-empty]:not(:focus-within) [data-slot="caret"] {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes signup-blink {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* "input": the live site's form, a field and a grey button. */
|
||||
[data-page="home"][data-site] [data-slot="input-form"] {
|
||||
max-width: var(--two-cards);
|
||||
|
||||
[data-slot="row"] {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
min-height: 2.75rem;
|
||||
}
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 2.75rem;
|
||||
padding: 0 0.875rem;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-weak);
|
||||
color: var(--text-strong);
|
||||
font-size: var(--fs-read);
|
||||
transition: border-color 150ms ease;
|
||||
|
||||
&::placeholder {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
&:hover {
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
border-color: var(--text-strong);
|
||||
}
|
||||
|
||||
&[aria-invalid] {
|
||||
border-color: var(--error);
|
||||
}
|
||||
}
|
||||
|
||||
[data-component="site-button"] {
|
||||
height: 2.75rem;
|
||||
padding: 0 1.25rem;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
|
||||
&[aria-disabled="true"] {
|
||||
cursor: progress;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="row"][data-done] {
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
color: var(--text);
|
||||
|
||||
svg {
|
||||
flex-shrink: 0;
|
||||
color: var(--status-ok);
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 500;
|
||||
color: var(--text-strong);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="again"] {
|
||||
margin-inline-start: auto;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: var(--text-strong);
|
||||
font: inherit;
|
||||
font-size: var(--fs-small);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.2em;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
&:hover {
|
||||
color: var(--link);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
color: var(--link);
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="message"] {
|
||||
min-height: 1.25rem;
|
||||
margin: 0.75rem 0 0;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 1.4;
|
||||
color: var(--text);
|
||||
|
||||
&[data-tone="error"] {
|
||||
color: var(--error);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 30rem) {
|
||||
[data-slot="row"]:not([data-done]) {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
[data-slot="row"][data-done] {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
[data-slot="again"] {
|
||||
margin-inline-start: 1.625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* "sentence": the address typed in place, in the middle of a large sentence. */
|
||||
[data-page="home"][data-site] [data-slot="sentence-form"] {
|
||||
[data-slot="sentence"] {
|
||||
margin: 0;
|
||||
max-width: calc(var(--card) * 3 + var(--gutter) * 2);
|
||||
font-size: clamp(1.5rem, 2.3vw, 2.25rem);
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--text-strong);
|
||||
text-wrap: pretty;
|
||||
cursor: text;
|
||||
|
||||
&[data-state="subscribed"],
|
||||
&[data-state="already"] {
|
||||
cursor: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* The first word ("Send", "We'll send"): its box eases between the words' widths. */
|
||||
[data-slot="swap"] {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
vertical-align: bottom;
|
||||
white-space: nowrap;
|
||||
overflow: clip;
|
||||
overflow-clip-margin: 0.25em;
|
||||
}
|
||||
|
||||
[data-slot="word"] {
|
||||
display: inline-block;
|
||||
|
||||
/* The space before the address, inside the word so its width eases with it. */
|
||||
&:not(:empty) {
|
||||
padding-inline-end: 0.25em;
|
||||
}
|
||||
|
||||
&[data-leaving] {
|
||||
position: absolute;
|
||||
inset-inline-start: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* As wide as the address (or the placeholder): the mirror sets the width, the input sits over it. */
|
||||
[data-slot="field"] {
|
||||
display: inline-grid;
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
vertical-align: bottom;
|
||||
|
||||
/* No underline: the grey placeholder and the caret say it's editable. Keyboard focus adds a ring. */
|
||||
[data-slot="sentence"]:not([data-state="subscribed"], [data-state="already"]) &[data-ring] {
|
||||
outline: 2px solid var(--link);
|
||||
outline-offset: 0.12em;
|
||||
}
|
||||
|
||||
> * {
|
||||
grid-area: 1 / 1;
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="mirror"] {
|
||||
visibility: hidden;
|
||||
padding-inline-end: 0.08em;
|
||||
white-space: pre;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
input {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
letter-spacing: inherit;
|
||||
caret-color: var(--link);
|
||||
|
||||
&::placeholder {
|
||||
color: var(--text-muted);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
[data-state="pending"] [data-slot="field"] {
|
||||
opacity: 0.5;
|
||||
transition: opacity 200ms ease;
|
||||
}
|
||||
|
||||
/* Once sent, the address is plain text in the sentence. */
|
||||
[data-state="subscribed"],
|
||||
[data-state="already"] {
|
||||
input {
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="error"] {
|
||||
display: block;
|
||||
color: var(--error);
|
||||
animation: signup-in 240ms var(--ease-out);
|
||||
}
|
||||
|
||||
[data-slot="foot"] {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.75rem 1.5rem;
|
||||
min-height: 2.25rem;
|
||||
margin-top: 1.5rem;
|
||||
font-size: var(--fs-body);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* The button holds its place while hidden, so the page doesn't move when it shows. */
|
||||
[data-component="site-button"] {
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
translate: 0 0.25rem;
|
||||
visibility: hidden;
|
||||
transition:
|
||||
opacity 180ms var(--ease-out),
|
||||
translate 180ms var(--ease-out),
|
||||
visibility 0s 180ms,
|
||||
background-color 150ms ease,
|
||||
outline-color 150ms ease;
|
||||
|
||||
&[data-visible] {
|
||||
opacity: 1;
|
||||
translate: 0;
|
||||
visibility: visible;
|
||||
transition:
|
||||
opacity 180ms var(--ease-out),
|
||||
translate 180ms var(--ease-out),
|
||||
visibility 0s,
|
||||
background-color 150ms ease,
|
||||
outline-color 150ms ease;
|
||||
}
|
||||
|
||||
&[aria-disabled="true"] {
|
||||
cursor: progress;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="again"] {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: var(--text-strong);
|
||||
font: inherit;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.2em;
|
||||
cursor: pointer;
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
&:hover {
|
||||
color: var(--link);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
color: var(--link);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-slot="error"] {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
[data-component="site-button"],
|
||||
[data-component="site-button"][data-visible] {
|
||||
translate: 0;
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes signup-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
translate: 0 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
/* "terminal": a CLI's interactive question in one of the site's terminal blocks. */
|
||||
[data-page="home"][data-site] [data-slot="terminal-form"] {
|
||||
--terminal-bg: hsl(0, 0%, 8%);
|
||||
--terminal-text: hsl(0, 0%, 86%);
|
||||
--terminal-dim: hsl(0, 0%, 56%);
|
||||
--error: hsl(0, 80%, 68%);
|
||||
|
||||
max-width: var(--two-cards);
|
||||
|
||||
[data-slot="bar"] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 2.25rem;
|
||||
padding: 0 1rem;
|
||||
border-bottom: 1px solid hsl(0, 0%, 16%);
|
||||
background: var(--terminal-bg);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--fs-micro);
|
||||
color: var(--terminal-dim);
|
||||
}
|
||||
|
||||
[data-slot="window"] {
|
||||
outline: 1px solid light-dark(transparent, var(--border));
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
[data-slot="screen"] {
|
||||
padding: 1rem;
|
||||
background: var(--terminal-bg);
|
||||
color: var(--terminal-text);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--fs-small);
|
||||
line-height: 1.7;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
[data-slot="line"] {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
column-gap: 0.75ch;
|
||||
|
||||
label {
|
||||
color: var(--terminal-text);
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="mark"] {
|
||||
color: hsl(190, 70%, 62%);
|
||||
|
||||
&[data-tone="ok"] {
|
||||
color: hsl(142, 60%, 58%);
|
||||
}
|
||||
|
||||
&[data-tone="error"] {
|
||||
color: var(--error);
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="dim"] {
|
||||
color: var(--terminal-dim);
|
||||
}
|
||||
|
||||
[data-slot="field"] {
|
||||
display: inline-grid;
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
|
||||
> * {
|
||||
grid-area: 1 / 1;
|
||||
}
|
||||
|
||||
[data-slot="caret"] {
|
||||
width: 0.6em;
|
||||
height: 1.2em;
|
||||
background: var(--terminal-text);
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="mirror"] {
|
||||
visibility: hidden;
|
||||
padding-inline-end: 1ch;
|
||||
white-space: pre;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
input {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: #fff;
|
||||
caret-color: var(--terminal-text);
|
||||
|
||||
&::placeholder {
|
||||
color: hsl(0, 0%, 40%);
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="field"][data-empty]:not(:focus-within) input::placeholder {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
[data-slot="output"] > * {
|
||||
animation: signup-in 200ms var(--ease-out);
|
||||
}
|
||||
|
||||
[data-tone="error"] {
|
||||
color: var(--error);
|
||||
}
|
||||
|
||||
[data-slot="branch"] {
|
||||
display: flex;
|
||||
gap: 1ch;
|
||||
}
|
||||
|
||||
[data-slot="hint"] {
|
||||
margin-top: 0.75rem;
|
||||
font-size: var(--fs-micro);
|
||||
color: var(--terminal-dim);
|
||||
}
|
||||
|
||||
[data-slot="key"] {
|
||||
padding: 0 0.375rem;
|
||||
border: 1px solid hsl(0, 0%, 24%);
|
||||
background: none;
|
||||
color: var(--terminal-text);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
&:hover {
|
||||
border-color: var(--terminal-dim);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
border-color: var(--terminal-dim);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline: 2px solid var(--link);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
/* No zoom on focus in iOS Safari: fields under 16px zoom the page. */
|
||||
@media (pointer: coarse) {
|
||||
input {
|
||||
font-size: var(--fs-input);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-slot="output"] > * {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,511 +0,0 @@
|
|||
import { useI18n } from "~/context/i18n"
|
||||
import type { Key } from "~/i18n"
|
||||
import "./signup.css"
|
||||
import { action, useAction } from "@solidjs/router"
|
||||
import { Resource } from "#resource"
|
||||
import { createEffect, createSignal, createUniqueId, Match, on, onCleanup, Show, Switch, untrack } from "solid-js"
|
||||
import { getRequestEvent } from "solid-js/web"
|
||||
import { subscribe, type SignupStatus } from "~/lib/opensend"
|
||||
import { designCopy } from "./design-copy"
|
||||
import { siteSettings } from "./settings"
|
||||
|
||||
/**
|
||||
* The home page's email sign-up. It adds the address to the OpenSend newsletter list
|
||||
* (lib/opensend.ts) from a server action, so the API key never reaches the browser. Settings ›
|
||||
* Sign-up style picks one of three forms; all are real forms with an email field, and without
|
||||
* JavaScript they still post to the action.
|
||||
*/
|
||||
|
||||
type Result = {
|
||||
status: SignupStatus
|
||||
// Set only in development without the OpenSend key: nothing was sent.
|
||||
dev?: boolean
|
||||
}
|
||||
|
||||
const signup = action(async (form: FormData): Promise<Result> => {
|
||||
"use server"
|
||||
const email = String(form.get("email") ?? "").trim()
|
||||
if (!validEmail(email)) return { status: "invalid" }
|
||||
const key = apiKey()
|
||||
if (!key) return import.meta.env.DEV ? { status: "subscribed", dev: true } : { status: "error" }
|
||||
// Server actions only see a same-origin referer (lib/server-action.ts): the page with the form.
|
||||
const request = getRequestEvent()!.request
|
||||
const page = new URL(request.headers.get("referer") ?? request.url)
|
||||
return { status: await subscribe({ key, email, page: page.origin + page.pathname, at: new Date() }) }
|
||||
}, "site-signup")
|
||||
|
||||
// Outside development the Resource is always linked; in plain `vite dev` it throws.
|
||||
function apiKey() {
|
||||
try {
|
||||
return Resource.OPENSEND_API_KEY.value
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
function validEmail(email: string) {
|
||||
return /^[^\s@]+@[^\s@.]+(\.[^\s@.]+)+$/.test(email)
|
||||
}
|
||||
|
||||
const messages = {
|
||||
empty: "home.signup.empty",
|
||||
invalid: "home.signup.invalid",
|
||||
error: "home.signup.error",
|
||||
subscribed: "home.signup.subscribed",
|
||||
already: "home.signup.already",
|
||||
} as const satisfies Record<string, Key>
|
||||
|
||||
// Shorter, to read on from the sentence.
|
||||
const sentenceErrors = {
|
||||
empty: "home.signup.sentenceEmpty",
|
||||
invalid: "home.signup.sentenceInvalid",
|
||||
error: "home.signup.sentenceError",
|
||||
} as const satisfies Record<string, Key>
|
||||
|
||||
type State =
|
||||
| { status: "idle" | "pending" }
|
||||
| { status: "empty" | "invalid" | "error"; email: string }
|
||||
| { status: "subscribed" | "already"; email: string; dev?: boolean }
|
||||
|
||||
const reduced = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches
|
||||
|
||||
/** The form state every style shares: the typed address, validation and the submission. */
|
||||
function createSignup() {
|
||||
const i18n = useI18n()
|
||||
const submit = useAction(signup)
|
||||
const [value, setValue] = createSignal("")
|
||||
const [state, setState] = createSignal<State>({ status: "idle" })
|
||||
const id = createUniqueId()
|
||||
let input: HTMLInputElement | undefined
|
||||
|
||||
const done = () => ["subscribed", "already"].includes(state().status)
|
||||
const problem = () => {
|
||||
const current = state()
|
||||
return current.status === "empty" || current.status === "invalid" || current.status === "error"
|
||||
? current.status
|
||||
: undefined
|
||||
}
|
||||
const message = () => {
|
||||
const current = state()
|
||||
if (current.status === "idle" || current.status === "pending") return ""
|
||||
return i18n.t(messages[current.status])
|
||||
}
|
||||
|
||||
return {
|
||||
id,
|
||||
value,
|
||||
state,
|
||||
done,
|
||||
problem,
|
||||
message,
|
||||
dev: () => {
|
||||
const current = state()
|
||||
return "dev" in current && !!current.dev
|
||||
},
|
||||
email: () => {
|
||||
const current = state()
|
||||
return "email" in current ? current.email : value().trim()
|
||||
},
|
||||
ref: (element: HTMLInputElement) => (input = element),
|
||||
focus: () => input?.focus(),
|
||||
input: (event: InputEvent & { currentTarget: HTMLInputElement }) => {
|
||||
setValue(event.currentTarget.value)
|
||||
if (problem()) setState({ status: "idle" })
|
||||
},
|
||||
submit: (event: SubmitEvent & { currentTarget: HTMLFormElement }) => {
|
||||
event.preventDefault()
|
||||
if (state().status === "pending" || done()) return
|
||||
const email = value().trim()
|
||||
if (!email) return setState({ status: "empty", email })
|
||||
if (!validEmail(email)) return setState({ status: "invalid", email })
|
||||
setState({ status: "pending" })
|
||||
const form = new FormData()
|
||||
form.set("email", email)
|
||||
submit(form).then(
|
||||
(result) => setState({ ...result, email }),
|
||||
() => setState({ status: "error", email }),
|
||||
)
|
||||
},
|
||||
reset: () => {
|
||||
setState({ status: "idle" })
|
||||
setValue("")
|
||||
// After the field is editable again.
|
||||
queueMicrotask(() => input?.focus())
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
type Signup = ReturnType<typeof createSignup>
|
||||
|
||||
export function SignupSection() {
|
||||
const i18n = useI18n()
|
||||
const title = () => designCopy("home.signup.title", i18n.t("home.signup.title"))
|
||||
const body = () => designCopy("home.signup.body", i18n.t("home.signup.body"))
|
||||
return (
|
||||
<section
|
||||
id="updates"
|
||||
data-component="block"
|
||||
data-section="signup"
|
||||
data-off={siteSettings.signupSection === "off" ? "" : undefined}
|
||||
data-design="signupStyle spacer spacerLength spacerCount spacerStartDash spacerStartGap spacerCurve ditherHeight ditherOrientation ditherDirection ditherLength ditherPixel ditherPattern ditherDensity ditherOpacity ditherCurve ditherLine"
|
||||
data-columns="2"
|
||||
>
|
||||
<h2 data-slot="label" data-design-copy="home.signup.title">
|
||||
{title()}
|
||||
</h2>
|
||||
<div data-slot="body">
|
||||
<p data-slot="lead" data-design-copy="home.signup.body">
|
||||
{body()}
|
||||
</p>
|
||||
<div data-component="signup" data-style={siteSettings.signupStyle}>
|
||||
<Switch>
|
||||
<Match when={siteSettings.signupStyle === "sentence"}>
|
||||
<SentenceForm signup={createSignup()} />
|
||||
</Match>
|
||||
<Match when={siteSettings.signupStyle === "input"}>
|
||||
<InputForm signup={createSignup()} />
|
||||
</Match>
|
||||
<Match when={siteSettings.signupStyle === "terminal"}>
|
||||
<TerminalForm signup={createSignup()} />
|
||||
</Match>
|
||||
</Switch>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
/** The live site's form in this site's style: a field and a grey button. */
|
||||
function InputForm(props: { signup: Signup }) {
|
||||
const i18n = useI18n()
|
||||
const s = props.signup
|
||||
return (
|
||||
<form data-slot="input-form" action={signup} method="post" novalidate onSubmit={s.submit}>
|
||||
<Show
|
||||
when={s.done()}
|
||||
fallback={
|
||||
<div data-slot="row">
|
||||
<label for={s.id} data-slot="sr-only">
|
||||
Email address
|
||||
</label>
|
||||
<input
|
||||
ref={s.ref}
|
||||
id={s.id}
|
||||
name="email"
|
||||
type="email"
|
||||
inputmode="email"
|
||||
autocomplete="email"
|
||||
autocapitalize="off"
|
||||
spellcheck={false}
|
||||
enterkeyhint="send"
|
||||
placeholder={i18n.t("home.signup.placeholder")}
|
||||
required
|
||||
value={s.value()}
|
||||
onInput={s.input}
|
||||
aria-invalid={s.problem() ? "true" : undefined}
|
||||
aria-describedby={`${s.id}-message`}
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
data-component="site-button"
|
||||
aria-disabled={s.state().status === "pending" ? "true" : "false"}
|
||||
>
|
||||
{s.state().status === "pending" ? i18n.t("home.signup.subscribing") : i18n.t("changelog.subscribe")}
|
||||
</button>
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<div data-slot="row" data-done>
|
||||
<Check />
|
||||
<strong>{i18n.t(s.state().status === "already" ? messages.already : messages.subscribed)}</strong>
|
||||
<button type="button" data-slot="again" onClick={s.reset}>
|
||||
{i18n.t("home.signup.again")}
|
||||
</button>
|
||||
</div>
|
||||
</Show>
|
||||
<p id={`${s.id}-message`} data-slot="message" data-tone={s.problem() ? "error" : undefined} role="status">
|
||||
<Show when={s.done()} fallback={s.message()}>
|
||||
<span data-slot="sr-only">
|
||||
{i18n.t(s.state().status === "already" ? messages.already : messages.subscribed)}{" "}
|
||||
</span>
|
||||
{i18n.t("home.signup.tellFirst", { email: s.email() })}
|
||||
</Show>
|
||||
</p>
|
||||
<DevNote signup={s} />
|
||||
</form>
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* A sentence with the address typed in place. The field is a real email input, as wide as what's
|
||||
* in it; Enter (or the button under the sentence) sends it, and the sentence rewrites itself.
|
||||
*/
|
||||
function SentenceForm(props: { signup: Signup }) {
|
||||
const i18n = useI18n()
|
||||
const s = props.signup
|
||||
// The words before the address: none while typing, then what happened.
|
||||
const verb = () => {
|
||||
const status = s.state().status
|
||||
if (status === "already") return i18n.t("home.signup.alreadyAt")
|
||||
if (status === "subscribed") return i18n.t("home.signup.onListAt")
|
||||
return ""
|
||||
}
|
||||
const ready = () => !s.done() && validEmail(s.value().trim())
|
||||
let swap: HTMLSpanElement | undefined
|
||||
// Text fields always match :focus-visible, so the ring follows where focus came from instead:
|
||||
// shown for the keyboard, not for a click or tap (the caret is enough there).
|
||||
const [ring, setRing] = createSignal(false)
|
||||
let pointer = false
|
||||
|
||||
// The opening words change with a short cross-fade while its box eases to the new width.
|
||||
createEffect(
|
||||
on(
|
||||
verb,
|
||||
(next) => {
|
||||
if (!swap) return
|
||||
const from = swap.offsetWidth
|
||||
const old = [...swap.children].filter((child): child is HTMLElement => child instanceof HTMLElement)
|
||||
const word = Object.assign(document.createElement("span"), { textContent: next })
|
||||
word.dataset.slot = "word"
|
||||
swap.append(word)
|
||||
old.forEach((element) => (element.dataset.leaving = ""))
|
||||
if (reduced()) return old.forEach((element) => element.remove())
|
||||
const to = word.offsetWidth
|
||||
const easing = "cubic-bezier(0.23, 1, 0.32, 1)"
|
||||
swap.animate([{ width: `${from}px` }, { width: `${to}px` }], { duration: 420, easing })
|
||||
old.forEach((element) =>
|
||||
element
|
||||
.animate([{ opacity: 1 }, { opacity: 0, transform: "translateY(-0.3em)", filter: "blur(3px)" }], {
|
||||
duration: 200,
|
||||
easing: "ease-out",
|
||||
fill: "forwards",
|
||||
})
|
||||
.finished.then(
|
||||
() => element.remove(),
|
||||
() => element.remove(),
|
||||
),
|
||||
)
|
||||
word.animate(
|
||||
[
|
||||
{ opacity: 0, transform: "translateY(0.3em)", filter: "blur(3px)" },
|
||||
{ opacity: 1, transform: "none", filter: "none" },
|
||||
],
|
||||
{ duration: 380, delay: 80, easing, fill: "backwards" },
|
||||
)
|
||||
},
|
||||
{ defer: true },
|
||||
),
|
||||
)
|
||||
|
||||
return (
|
||||
<form data-slot="sentence-form" action={signup} method="post" novalidate onSubmit={s.submit}>
|
||||
<p
|
||||
data-slot="sentence"
|
||||
data-state={s.state().status}
|
||||
onPointerDown={() => (pointer = true)}
|
||||
onClick={() => !s.done() && s.focus()}
|
||||
>
|
||||
{/* The words are swapped by hand (above), so the first render's text never updates. */}
|
||||
<span data-slot="swap" ref={swap}>
|
||||
<span data-slot="word">{untrack(verb)}</span>
|
||||
</span>
|
||||
<span data-slot="field" data-empty={s.value() ? undefined : ""} data-ring={ring() ? "" : undefined}>
|
||||
<span data-slot="mirror" aria-hidden="true">
|
||||
{s.value() || i18n.t("home.signup.placeholder")}
|
||||
</span>
|
||||
<input
|
||||
ref={s.ref}
|
||||
id={s.id}
|
||||
name="email"
|
||||
type="email"
|
||||
inputmode="email"
|
||||
autocomplete="email"
|
||||
autocapitalize="off"
|
||||
spellcheck={false}
|
||||
enterkeyhint="send"
|
||||
placeholder={i18n.t("home.signup.placeholder")}
|
||||
required
|
||||
readonly={s.done() || s.state().status === "pending"}
|
||||
value={s.value()}
|
||||
onInput={s.input}
|
||||
aria-label={i18n.t("home.signup.label")}
|
||||
onFocus={() => {
|
||||
setRing(!pointer)
|
||||
pointer = false
|
||||
}}
|
||||
onBlur={() => setRing(false)}
|
||||
aria-invalid={s.problem() ? "true" : undefined}
|
||||
aria-describedby={`${s.id}-message`}
|
||||
/>
|
||||
</span>
|
||||
{/* No full stop after the address, in any state; an error reads on its own line below. */}
|
||||
<Show when={s.problem()}>
|
||||
{(status) => (
|
||||
<>
|
||||
<span data-slot="error" aria-hidden="true">
|
||||
{i18n.t(sentenceErrors[status()])}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</Show>
|
||||
</p>
|
||||
<div data-slot="foot">
|
||||
<Show
|
||||
when={s.done()}
|
||||
fallback={
|
||||
// Shown once the address is valid; Enter submits either way.
|
||||
<button
|
||||
type="submit"
|
||||
data-component="site-button"
|
||||
data-visible={ready() ? "" : undefined}
|
||||
data-design-copy="home.signup.button"
|
||||
aria-hidden={ready() ? undefined : "true"}
|
||||
tabindex={ready() ? undefined : -1}
|
||||
aria-disabled={s.state().status === "pending" ? "true" : "false"}
|
||||
>
|
||||
{s.state().status === "pending"
|
||||
? i18n.t("home.signup.sending")
|
||||
: designCopy("home.signup.button", i18n.t("home.signup.button"))}
|
||||
</button>
|
||||
}
|
||||
>
|
||||
<button type="button" data-slot="again" onClick={s.reset}>
|
||||
{i18n.t("home.signup.again")}
|
||||
</button>
|
||||
</Show>
|
||||
</div>
|
||||
<p id={`${s.id}-message`} data-slot="sr-only" role="status">
|
||||
{s.message()}
|
||||
</p>
|
||||
<DevNote signup={s} />
|
||||
</form>
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* A prompt in a terminal block, like a CLI's interactive question: type the address and press
|
||||
* Enter, and the answer prints below. It asks a question rather than showing a command, so nobody
|
||||
* tries to run a command that doesn't exist.
|
||||
*/
|
||||
function TerminalForm(props: { signup: Signup }) {
|
||||
const i18n = useI18n()
|
||||
const s = props.signup
|
||||
const frames = ["◐", "◓", "◑", "◒"]
|
||||
const [frame, setFrame] = createSignal(0)
|
||||
createEffect(() => {
|
||||
if (s.state().status !== "pending" || reduced()) return
|
||||
const timer = setInterval(() => setFrame((index) => (index + 1) % frames.length), 120)
|
||||
onCleanup(() => clearInterval(timer))
|
||||
})
|
||||
|
||||
return (
|
||||
<form data-slot="terminal-form" action={signup} method="post" novalidate onSubmit={s.submit}>
|
||||
<div data-slot="window">
|
||||
<div data-slot="bar" aria-hidden="true">
|
||||
<span>early-access</span>
|
||||
<span>email</span>
|
||||
</div>
|
||||
<div data-slot="screen" onClick={() => !s.done() && s.focus()}>
|
||||
<div data-slot="line">
|
||||
<span data-slot="mark" data-tone={s.done() ? "ok" : s.problem() ? "error" : undefined} aria-hidden="true">
|
||||
{s.done() ? "✔" : s.problem() ? "▲" : "?"}
|
||||
</span>
|
||||
<label for={s.id}>{i18n.t("home.signup.label")}</label>
|
||||
<span data-slot="dim" aria-hidden="true">
|
||||
{s.done() ? "·" : "›"}
|
||||
</span>
|
||||
<span data-slot="field" data-empty={s.value() ? undefined : ""}>
|
||||
<span data-slot="mirror" aria-hidden="true">
|
||||
{s.value() || i18n.t("home.signup.placeholder")}
|
||||
</span>
|
||||
<span data-slot="caret" aria-hidden="true" />
|
||||
<input
|
||||
ref={s.ref}
|
||||
id={s.id}
|
||||
name="email"
|
||||
type="email"
|
||||
inputmode="email"
|
||||
autocomplete="email"
|
||||
autocapitalize="off"
|
||||
spellcheck={false}
|
||||
enterkeyhint="send"
|
||||
placeholder={i18n.t("home.signup.placeholder")}
|
||||
required
|
||||
readonly={s.done() || s.state().status === "pending"}
|
||||
value={s.value()}
|
||||
onInput={s.input}
|
||||
aria-invalid={s.problem() ? "true" : undefined}
|
||||
aria-describedby={`${s.id}-message`}
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
<div id={`${s.id}-message`} role="status" data-slot="output">
|
||||
<Switch>
|
||||
<Match when={s.state().status === "pending"}>
|
||||
<div data-slot="dim">
|
||||
<span aria-hidden="true">{frames[frame()]}</span> {i18n.t("home.signup.subscribing")}
|
||||
</div>
|
||||
</Match>
|
||||
<Match when={s.problem()}>
|
||||
<div data-slot="branch" data-tone="error">
|
||||
<span aria-hidden="true">└</span>
|
||||
<span>{s.message()}</span>
|
||||
</div>
|
||||
</Match>
|
||||
<Match when={s.done()}>
|
||||
<div data-slot="dim" aria-hidden="true">
|
||||
│
|
||||
</div>
|
||||
<div data-slot="branch">
|
||||
<span data-slot="dim" aria-hidden="true">
|
||||
└
|
||||
</span>
|
||||
<span>{i18n.t(s.state().status === "already" ? messages.already : messages.subscribed)}</span>
|
||||
</div>
|
||||
</Match>
|
||||
</Switch>
|
||||
</div>
|
||||
<Show
|
||||
when={s.done()}
|
||||
fallback={
|
||||
<div data-slot="hint">
|
||||
<button
|
||||
type="submit"
|
||||
data-slot="key"
|
||||
aria-label={i18n.t("changelog.subscribe")}
|
||||
aria-disabled={s.state().status === "pending" ? "true" : "false"}
|
||||
>
|
||||
enter
|
||||
</button>{" "}
|
||||
<span aria-hidden="true">{i18n.t("home.signup.toSubscribe")}</span>
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<div data-slot="hint">
|
||||
<button type="button" data-slot="key" onClick={s.reset}>
|
||||
{i18n.t("home.signup.againLower")}
|
||||
</button>
|
||||
</div>
|
||||
</Show>
|
||||
</div>
|
||||
</div>
|
||||
<DevNote signup={s} />
|
||||
</form>
|
||||
)
|
||||
}
|
||||
|
||||
function DevNote(props: { signup: Signup }) {
|
||||
return (
|
||||
<Show when={props.signup.dev()}>
|
||||
<p data-slot="dev">Development: not sent. OPENSEND_API_KEY isn't set.</p>
|
||||
</Show>
|
||||
)
|
||||
}
|
||||
|
||||
function Check() {
|
||||
return (
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true">
|
||||
<path d="M3 8.5L6.5 12L13 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="square" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
|
@ -71,9 +71,6 @@ export const dict = {
|
|||
"home.growth.title": "وكيل برمجة مفتوح المصدر",
|
||||
"home.growth.body": "مع أكثر من <strong>{{stars}}</strong> نجمة على GitHub، و<strong>{{contributors}}</strong> مساهمًا، وأكثر من <strong>{{commits}}</strong> Commit، يستخدم OpenCode ويثق به أكثر من <strong>{{monthlyUsers}}</strong> مطوّر كل شهر.",
|
||||
"home.growth.contributors": "المساهمون",
|
||||
"home.privacy.body": "لا يخزّن OpenCode أي كود أو بيانات سياق، ليتمكن من العمل في بيئات حساسة للخصوصية.",
|
||||
"home.privacy.learnMore": "اعرف المزيد عن",
|
||||
"home.privacy.link": "الخصوصية",
|
||||
"home.faq.q1": "ما هو OpenCode؟",
|
||||
"home.faq.q2": "كيف أستخدم OpenCode؟",
|
||||
"home.faq.a2.before": "أسهل طريقة للبدء هي قراءة",
|
||||
|
|
@ -225,7 +222,6 @@ export const dict = {
|
|||
"home.what.body": "OpenCode وكيل برمجة مفتوح المصدر.",
|
||||
"home.growth.githubStars": "نجمة على GitHub",
|
||||
"home.growth.monthlyDevs": "مطوّر شهريًا",
|
||||
"home.privacy.title": "الخصوصية أولًا",
|
||||
"home.faq.a3.p1": "ليس بالضرورة. يأتي OpenCode مع مجموعة من النماذج المجانية التي يمكنك استخدامها دون إنشاء حساب.",
|
||||
"home.faq.a4.p1": "نعم، يمكنك استخدام اشتراكات ChatGPT Plus/Pro أو GitHub Copilot.",
|
||||
"download.title": "OpenCode | تنزيل لأنظمة macOS وWindows وLinux والهاتف",
|
||||
|
|
@ -533,27 +529,6 @@ export const dict = {
|
|||
"home.install.agentNote": "يمكن لوكلاء البرمجة تثبيته أيضًا.",
|
||||
"home.install.copyPrompt": "نسخ مطالبة التثبيت",
|
||||
"home.openSource.builtInTheOpen": "يُبنى علنًا",
|
||||
"home.signup.title": "وصول مبكر",
|
||||
"home.signup.body": "كن أول من يعرف عند إطلاق منتجات جديدة.",
|
||||
"home.signup.placeholder": "بريدك الإلكتروني",
|
||||
"home.signup.label": "عنوان البريد الإلكتروني",
|
||||
"home.signup.button": "أعلمني",
|
||||
"home.signup.sending": "جارٍ الإرسال…",
|
||||
"home.signup.subscribing": "جارٍ الاشتراك…",
|
||||
"home.signup.again": "استخدم عنوانًا آخر",
|
||||
"home.signup.againLower": "استخدم عنوانًا آخر",
|
||||
"home.signup.toSubscribe": "للاشتراك",
|
||||
"home.signup.tellFirst": "سنخبرك أولًا على {{email}}.",
|
||||
"home.signup.onListAt": "أنت في القائمة بالعنوان",
|
||||
"home.signup.alreadyAt": "أنت في القائمة بالفعل بالعنوان",
|
||||
"home.signup.empty": "أدخل عنوان بريدك الإلكتروني.",
|
||||
"home.signup.invalid": "أدخل عنوان بريد كاملًا، مثل you@example.com.",
|
||||
"home.signup.error": "لم يكتمل الطلب. حاول مرة أخرى بعد قليل.",
|
||||
"home.signup.subscribed": "أنت في القائمة.",
|
||||
"home.signup.already": "أنت في القائمة بالفعل.",
|
||||
"home.signup.sentenceEmpty": "اكتب عنوانك أولًا.",
|
||||
"home.signup.sentenceInvalid": "يبدو العنوان ناقصًا.",
|
||||
"home.signup.sentenceError": "لم يكتمل الطلب. حاول مرة أخرى.",
|
||||
"home.features.fewer": "عرض ميزات أقل",
|
||||
"home.features.all": "عرض كل الميزات ({{count}})",
|
||||
"home.features.also": "أيضًا",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Estrelas do GitHub",
|
||||
"home.growth.contributors": "Colaboradores",
|
||||
"home.growth.monthlyDevs": "Devs por mês",
|
||||
"home.privacy.title": "Privacidade em primeiro lugar",
|
||||
"home.privacy.body": "OpenCode não armazena nenhum código seu nem dados de contexto, para que possa operar em ambientes sensíveis à privacidade.",
|
||||
"home.privacy.learnMore": "Saiba mais sobre",
|
||||
"home.privacy.link": "privacidade",
|
||||
"home.faq.q1": "O que é OpenCode?",
|
||||
"home.faq.q2": "Como eu uso o OpenCode?",
|
||||
"home.faq.a2.before": "A maneira mais fácil de começar é ler a",
|
||||
|
|
@ -550,27 +546,6 @@ export const dict = {
|
|||
"home.providers.aria": "Provedores de modelos",
|
||||
"home.providers.grid": "Mais de 200 provedores via [models.dev](modelsdev), além de modelos locais. [Conecte um provedor](providers)",
|
||||
"home.providers.inline": "Funciona com [list](list) e mais de 200 outros modelos.",
|
||||
"home.signup.again": "Usar outro endereço",
|
||||
"home.signup.againLower": "usar outro endereço",
|
||||
"home.signup.already": "Você já está na lista.",
|
||||
"home.signup.alreadyAt": "Você já está na lista com",
|
||||
"home.signup.body": "Seja o primeiro a saber quando lançarmos novos produtos.",
|
||||
"home.signup.button": "Avise-me",
|
||||
"home.signup.empty": "Digite seu e-mail.",
|
||||
"home.signup.error": "Não deu certo. Tente de novo em instantes.",
|
||||
"home.signup.invalid": "Digite um e-mail completo, como voce@exemplo.com.",
|
||||
"home.signup.label": "Endereço de e-mail",
|
||||
"home.signup.onListAt": "Você está na lista com",
|
||||
"home.signup.placeholder": "seu e-mail",
|
||||
"home.signup.sending": "Enviando…",
|
||||
"home.signup.sentenceEmpty": "Digite seu endereço primeiro.",
|
||||
"home.signup.sentenceError": "Não deu certo. Tente de novo.",
|
||||
"home.signup.sentenceInvalid": "Esse endereço parece incompleto.",
|
||||
"home.signup.subscribed": "Você está na lista.",
|
||||
"home.signup.subscribing": "Inscrevendo…",
|
||||
"home.signup.tellFirst": "Vamos avisar você primeiro em {{email}}.",
|
||||
"home.signup.title": "Acesso antecipado",
|
||||
"home.signup.toSubscribe": "para se inscrever",
|
||||
"site.arcade.back": "Voltar",
|
||||
"site.arcade.bridge": "Os controles de toque precisam da ponte de entrada do fliperama neste host.",
|
||||
"site.arcade.exit": "Sair do jogo",
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "اشتراكك الخاص",
|
||||
headline: "استخدم الاشتراكات التي لديك بالفعل.",
|
||||
line: "سجّل الدخول عبر ChatGPT Plus أو Pro، أو GitHub Copilot، أو Claude Code. أو استخدم اشتراك OpenCode.",
|
||||
line: "سجّل الدخول عبر ChatGPT Plus أو Pro، أو GitHub Copilot. أو استخدم اشتراك OpenCode.",
|
||||
yours: { label: "اشتراكك", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["اشتراك OpenCode", "OpenCode Go"],
|
||||
ours: { label: "خطط OpenCode" },
|
||||
|
|
@ -663,10 +663,6 @@ export const content = {
|
|||
text: "أنشئ ملحقات Desktop وثبّتها وشاركها.",
|
||||
link: "اكتشف جديد 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "سجّل الدخول إلى OpenCode بحساب Claude Code.",
|
||||
link: "شاهد v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "طرفيات Desktop تبقى الآن بعد إعادة التشغيل.",
|
||||
link: "شاهد v2.2.4",
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@ export const content = {
|
|||
text: "Crie, instale e compartilhe plugins no desktop.",
|
||||
link: "Veja as novidades da 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Use seu login do Claude Code no OpenCode.",
|
||||
link: "Ver v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Os terminais do desktop agora sobrevivem a reinícios.",
|
||||
link: "Ver v2.2.4",
|
||||
|
|
@ -476,9 +472,6 @@ export const content = {
|
|||
"github-copilot": {
|
||||
name: "GitHub Copilot",
|
||||
},
|
||||
"claude-code": {
|
||||
name: "Claude Code",
|
||||
},
|
||||
},
|
||||
plans: {
|
||||
"opencode-go": {
|
||||
|
|
@ -508,7 +501,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Use suas assinaturas",
|
||||
headline: "Use as assinaturas que você já tem.",
|
||||
line: "Entre com ChatGPT Plus ou Pro, GitHub Copilot ou Claude Code. Ou use uma assinatura OpenCode.",
|
||||
line: "Entre com ChatGPT Plus ou Pro, ou com GitHub Copilot. Ou use uma assinatura OpenCode.",
|
||||
yours: {
|
||||
label: "Sua assinatura",
|
||||
items: {
|
||||
|
|
@ -518,9 +511,6 @@ export const content = {
|
|||
"github-copilot": {
|
||||
name: "GitHub Copilot",
|
||||
},
|
||||
"claude-code": {
|
||||
name: "Claude Code",
|
||||
},
|
||||
},
|
||||
},
|
||||
planLinks: ["assinatura OpenCode", "OpenCode Go"],
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Brug dit eget abonnement",
|
||||
headline: "Brug de abonnementer, du allerede har.",
|
||||
line: "Log ind med ChatGPT Plus eller Pro, GitHub Copilot eller Claude Code. Eller brug et OpenCode-abonnement.",
|
||||
line: "Log ind med ChatGPT Plus eller Pro eller med GitHub Copilot. Eller brug et OpenCode-abonnement.",
|
||||
yours: { label: "Dit abonnement", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCode-abonnement"],
|
||||
ours: { label: "OpenCode-abonnementer" },
|
||||
|
|
@ -766,7 +766,6 @@ export const content = {
|
|||
text: "Opret, installer og del desktop-plugins.",
|
||||
link: "Se nyt i 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": { text: "Brug dit Claude Code-login i OpenCode.", link: "Se v2.2.3" },
|
||||
"desktop-terminals-now-survive-restarts": { text: "Desktop-terminaler overlever nu genstart.", link: "Se v2.2.4" },
|
||||
"agents-can-now-generate-images": { text: "Agenter kan nu generere billeder.", link: "Se v2.2.1" },
|
||||
"steer-your-sessions-from-your-phone": {
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Eigenes Abo mitbringen",
|
||||
headline: "Nutze die Abos, die du schon hast.",
|
||||
line: "Melde dich mit ChatGPT Plus oder Pro, GitHub Copilot oder Claude Code an. Oder nutze ein OpenCode-Abo.",
|
||||
line: "Melde dich mit ChatGPT Plus oder Pro oder mit GitHub Copilot an. Oder nutze ein OpenCode-Abo.",
|
||||
yours: { label: "Dein Abo", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCode-Abo"],
|
||||
ours: { label: "OpenCode-Pläne" },
|
||||
|
|
@ -814,10 +814,6 @@ export const content = {
|
|||
text: "Erstelle, installiere und teile Desktop-Plugins.",
|
||||
link: "Neu in 2.2 ansehen",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Nutze deinen Claude-Code-Login in OpenCode.",
|
||||
link: "v2.2.3 ansehen",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Desktop-Terminals überstehen jetzt Neustarts.",
|
||||
link: "v2.2.4 ansehen",
|
||||
|
|
|
|||
|
|
@ -462,7 +462,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Trae tu suscripción",
|
||||
headline: "Usa las suscripciones que ya tienes.",
|
||||
line: "Inicia sesión con ChatGPT Plus o Pro, GitHub Copilot o Claude Code. O usa una suscripción de OpenCode.",
|
||||
line: "Inicia sesión con ChatGPT Plus o Pro, o con GitHub Copilot. O usa una suscripción de OpenCode.",
|
||||
yours: {
|
||||
label: "Tu suscripción",
|
||||
items: {
|
||||
|
|
@ -1227,10 +1227,6 @@ export const content = {
|
|||
text: "Crea, instala y comparte plugins de escritorio.",
|
||||
link: "Novedades de la 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Usa tu sesión de Claude Code en OpenCode.",
|
||||
link: "Ver v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Las terminales de escritorio ya sobreviven a los reinicios.",
|
||||
link: "Ver v2.2.4",
|
||||
|
|
|
|||
|
|
@ -462,7 +462,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Apportez votre abonnement",
|
||||
headline: "Utilisez les abonnements que vous avez déjà.",
|
||||
line: "Connectez-vous avec ChatGPT Plus ou Pro, GitHub Copilot ou Claude Code. Ou prenez un abonnement OpenCode.",
|
||||
line: "Connectez-vous avec ChatGPT Plus ou Pro, ou avec GitHub Copilot. Ou prenez un abonnement OpenCode.",
|
||||
yours: {
|
||||
label: "Votre abonnement",
|
||||
items: {
|
||||
|
|
@ -1227,10 +1227,6 @@ export const content = {
|
|||
text: "Créez, installez et partagez des plugins desktop.",
|
||||
link: "Nouveautés de la 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Utilisez votre connexion Claude Code dans OpenCode.",
|
||||
link: "Voir la v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Les terminaux de l'app desktop survivent aux redémarrages.",
|
||||
link: "Voir la v2.2.4",
|
||||
|
|
|
|||
|
|
@ -462,7 +462,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Porta il tuo abbonamento",
|
||||
headline: "Usa gli abbonamenti che hai già.",
|
||||
line: "Accedi con ChatGPT Plus o Pro, GitHub Copilot o Claude Code. Oppure usa un abbonamento OpenCode.",
|
||||
line: "Accedi con ChatGPT Plus o Pro oppure con GitHub Copilot. Oppure usa un abbonamento OpenCode.",
|
||||
yours: {
|
||||
label: "Il tuo abbonamento",
|
||||
items: {
|
||||
|
|
@ -1226,10 +1226,6 @@ export const content = {
|
|||
text: "Crea, installa e condividi plugin desktop.",
|
||||
link: "Novità della 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Usa il tuo login di Claude Code in OpenCode.",
|
||||
link: "Vedi la v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "I terminali desktop ora sopravvivono ai riavvii.",
|
||||
link: "Vedi la v2.2.4",
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "サブスクリプションを持ち込む",
|
||||
headline: "すでにお持ちのサブスクリプションを使えます。",
|
||||
line: "ChatGPT PlusまたはPro、GitHub Copilot、Claude Codeでログインできます。OpenCodeのサブスクリプションも使えます。",
|
||||
line: "ChatGPT PlusまたはPro、あるいはGitHub Copilotでログインできます。OpenCodeのサブスクリプションも使えます。",
|
||||
yours: { label: "お使いのサブスクリプション", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCodeのサブスクリプション", "OpenCode Go"],
|
||||
ours: { label: "OpenCodeのプラン" },
|
||||
|
|
@ -795,10 +795,6 @@ export const content = {
|
|||
text: "デスクトッププラグインを作成、インストール、共有できます。",
|
||||
link: "2.2の新機能を見る",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Claude CodeのログインでOpenCodeを使えます。",
|
||||
link: "v2.2.3を見る",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Desktopのターミナルが再起動後も残るようになりました。",
|
||||
link: "v2.2.4を見る",
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "내 구독 사용",
|
||||
headline: "이미 가진 구독을 그대로 쓰세요.",
|
||||
line: "ChatGPT Plus 또는 Pro, GitHub Copilot, Claude Code로 로그인하세요. OpenCode 구독을 사용할 수도 있습니다.",
|
||||
line: "ChatGPT Plus 또는 Pro나 GitHub Copilot으로 로그인하세요. OpenCode 구독을 사용할 수도 있습니다.",
|
||||
yours: { label: "내 구독", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCode 구독", "OpenCode Go"],
|
||||
ours: { label: "OpenCode 요금제" },
|
||||
|
|
@ -711,10 +711,6 @@ export const content = {
|
|||
text: "데스크톱 플러그인을 만들고, 설치하고, 공유하세요.",
|
||||
link: "2.2의 새 기능 보기",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "OpenCode에서 Claude Code 로그인을 사용하세요.",
|
||||
link: "v2.2.3 보기",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "이제 데스크톱 터미널이 재시작 후에도 유지됩니다.",
|
||||
link: "v2.2.4 보기",
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Ta med eget abonnement",
|
||||
headline: "Bruk abonnementene du allerede har.",
|
||||
line: "Logg inn med ChatGPT Plus eller Pro, GitHub Copilot eller Claude Code. Eller bruk et OpenCode-abonnement.",
|
||||
line: "Logg inn med ChatGPT Plus eller Pro eller med GitHub Copilot. Eller bruk et OpenCode-abonnement.",
|
||||
yours: { label: "Ditt abonnement", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCode-abonnement"],
|
||||
ours: { label: "OpenCode-abonnementer" },
|
||||
|
|
@ -769,10 +769,6 @@ export const content = {
|
|||
text: "Lag, installer og del skrivebordsplugins.",
|
||||
link: "Se nytt i 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Bruk Claude Code-innloggingen din i OpenCode.",
|
||||
link: "Se v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": { text: "Terminaler i Desktop overlever nå omstart.", link: "Se v2.2.4" },
|
||||
"agents-can-now-generate-images": { text: "Agenter kan nå lage bilder.", link: "Se v2.2.1" },
|
||||
"steer-your-sessions-from-your-phone": { text: "Styr sesjonene dine fra telefonen.", link: "Møt OpenCode Mobile" },
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@ export const content = {
|
|||
text: "Twórz, instaluj i udostępniaj pluginy desktopowe.",
|
||||
link: "Zobacz nowości w 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Używaj logowania Claude Code w OpenCode.",
|
||||
link: "Zobacz v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Terminale w Desktop przetrwają teraz restart.",
|
||||
link: "Zobacz v2.2.4",
|
||||
|
|
@ -476,9 +472,6 @@ export const content = {
|
|||
"github-copilot": {
|
||||
name: "GitHub Copilot",
|
||||
},
|
||||
"claude-code": {
|
||||
name: "Claude Code",
|
||||
},
|
||||
},
|
||||
plans: {
|
||||
"opencode-go": {
|
||||
|
|
@ -508,7 +501,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Własne subskrypcje",
|
||||
headline: "Używaj subskrypcji, które już masz.",
|
||||
line: "Zaloguj się przez ChatGPT Plus lub Pro, GitHub Copilot albo Claude Code. Możesz też wybrać subskrypcję OpenCode.",
|
||||
line: "Zaloguj się przez ChatGPT Plus lub Pro albo GitHub Copilot. Możesz też wybrać subskrypcję OpenCode.",
|
||||
yours: {
|
||||
label: "Twoja subskrypcja",
|
||||
items: {
|
||||
|
|
@ -518,9 +511,6 @@ export const content = {
|
|||
"github-copilot": {
|
||||
name: "GitHub Copilot",
|
||||
},
|
||||
"claude-code": {
|
||||
name: "Claude Code",
|
||||
},
|
||||
},
|
||||
},
|
||||
planLinks: ["subskrypcję OpenCode", "OpenCode Go"],
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Своя подписка",
|
||||
headline: "Используйте подписки, которые у вас уже есть.",
|
||||
line: "Войдите через ChatGPT Plus или Pro, GitHub Copilot или Claude Code. Или используйте подписку OpenCode.",
|
||||
line: "Войдите через ChatGPT Plus или Pro либо через GitHub Copilot. Или используйте подписку OpenCode.",
|
||||
yours: { label: "Ваша подписка", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["подписку OpenCode", "OpenCode Go"],
|
||||
ours: { label: "Планы OpenCode" },
|
||||
|
|
@ -762,10 +762,6 @@ export const content = {
|
|||
text: "Создавайте, устанавливайте и публикуйте плагины для Desktop.",
|
||||
link: "Что нового в 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Входите в OpenCode через Claude Code.",
|
||||
link: "Смотреть v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Терминалы в Desktop теперь переживают перезапуск.",
|
||||
link: "Смотреть v2.2.4",
|
||||
|
|
|
|||
|
|
@ -282,7 +282,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "ใช้การสมัครสมาชิกของคุณ",
|
||||
headline: "ใช้การสมัครสมาชิกที่คุณมีอยู่แล้ว",
|
||||
line: "เข้าสู่ระบบด้วย ChatGPT Plus หรือ Pro, GitHub Copilot หรือ Claude Code หรือใช้การสมัครสมาชิก OpenCode",
|
||||
line: "เข้าสู่ระบบด้วย ChatGPT Plus หรือ Pro หรือ GitHub Copilot หรือใช้การสมัครสมาชิก OpenCode",
|
||||
yours: { label: "การสมัครสมาชิกของคุณ", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["การสมัครสมาชิก OpenCode", "OpenCode Go"],
|
||||
ours: { label: "แผนของ OpenCode" },
|
||||
|
|
@ -731,10 +731,6 @@ export const content = {
|
|||
text: "สร้าง ติดตั้ง และแชร์ปลั๊กอินเดสก์ท็อปได้แล้ว",
|
||||
link: "ดูสิ่งใหม่ในรุ่น 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "ใช้การล็อกอิน Claude Code ของคุณใน OpenCode",
|
||||
link: "ดู v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": { text: "เทอร์มินัลในแอปเดสก์ท็อปยังอยู่แม้รีสตาร์ต", link: "ดู v2.2.4" },
|
||||
"agents-can-now-generate-images": { text: "เอเจนต์สร้างรูปภาพได้แล้ว", link: "ดู v2.2.1" },
|
||||
"steer-your-sessions-from-your-phone": { text: "สั่งงานเซสชันจากโทรศัพท์ของคุณ", link: "รู้จัก OpenCode Mobile" },
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@ export const content = {
|
|||
text: "Masaüstü eklentileri oluşturun, kurun ve paylaşın.",
|
||||
link: "2.2'deki yenilikler",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Claude Code girişinizi OpenCode'da kullanın.",
|
||||
link: "v2.2.3'e bakın",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Masaüstü terminalleri artık yeniden başlatmalarda kapanmıyor.",
|
||||
link: "v2.2.4'e bakın",
|
||||
|
|
@ -476,9 +472,6 @@ export const content = {
|
|||
"github-copilot": {
|
||||
name: "GitHub Copilot",
|
||||
},
|
||||
"claude-code": {
|
||||
name: "Claude Code",
|
||||
},
|
||||
},
|
||||
plans: {
|
||||
"opencode-go": {
|
||||
|
|
@ -508,7 +501,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Kendi aboneliğinizi getirin",
|
||||
headline: "Zaten sahip olduğunuz abonelikleri kullanın.",
|
||||
line: "ChatGPT Plus ya da Pro, GitHub Copilot veya Claude Code ile giriş yapın. Ya da bir OpenCode aboneliği kullanın.",
|
||||
line: "ChatGPT Plus ya da Pro veya GitHub Copilot ile giriş yapın. Ya da bir OpenCode aboneliği kullanın.",
|
||||
yours: {
|
||||
label: "Aboneliğiniz",
|
||||
items: {
|
||||
|
|
@ -518,9 +511,6 @@ export const content = {
|
|||
"github-copilot": {
|
||||
name: "GitHub Copilot",
|
||||
},
|
||||
"claude-code": {
|
||||
name: "Claude Code",
|
||||
},
|
||||
},
|
||||
},
|
||||
planLinks: ["OpenCode aboneliği", "OpenCode Go"],
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "Власна підписка",
|
||||
headline: "Використовуйте підписки, які у вас уже є.",
|
||||
line: "Увійдіть через ChatGPT Plus або Pro, GitHub Copilot чи Claude Code. Або використовуйте підписку OpenCode.",
|
||||
line: "Увійдіть через ChatGPT Plus або Pro чи GitHub Copilot. Або використовуйте підписку OpenCode.",
|
||||
yours: { label: "Ваша підписка", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["підписку OpenCode", "OpenCode Go"],
|
||||
ours: { label: "Плани OpenCode" },
|
||||
|
|
@ -769,10 +769,6 @@ export const content = {
|
|||
text: "Створюйте, встановлюйте й поширюйте плагіни для Desktop.",
|
||||
link: "Що нового у 2.2",
|
||||
},
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "Входьте в OpenCode через Claude Code.",
|
||||
link: "Дивитися v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": {
|
||||
text: "Термінали в Desktop тепер зберігаються після перезапуску.",
|
||||
link: "Дивитися v2.2.4",
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "自带订阅",
|
||||
headline: "使用您已有的订阅。",
|
||||
line: "使用 ChatGPT Plus 或 Pro、GitHub Copilot 或 Claude Code 登录,或者使用 OpenCode 订阅。",
|
||||
line: "使用 ChatGPT Plus 或 Pro 或 GitHub Copilot 登录,或者使用 OpenCode 订阅。",
|
||||
yours: { label: "您的订阅", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCode 订阅", "OpenCode Go"],
|
||||
ours: { label: "OpenCode 套餐" },
|
||||
|
|
@ -639,10 +639,6 @@ export const content = {
|
|||
},
|
||||
announcements: {
|
||||
"create-install-and-share-desktop-plugins": { text: "创建、安装和分享桌面插件。", link: "查看 2.2 的新功能" },
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "在 OpenCode 中使用您的 Claude Code 登录。",
|
||||
link: "查看 v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": { text: "桌面端终端现在重启后依然保留。", link: "查看 v2.2.4" },
|
||||
"agents-can-now-generate-images": { text: "代理现在可以生成图片了。", link: "查看 v2.2.1" },
|
||||
"steer-your-sessions-from-your-phone": { text: "在手机上引导您的会话。", link: "认识 OpenCode Mobile" },
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ export const content = {
|
|||
byos: {
|
||||
title: "自備訂閱",
|
||||
headline: "使用你已有的訂閱。",
|
||||
line: "使用 ChatGPT Plus 或 Pro、GitHub Copilot 或 Claude Code 登入,或是使用 OpenCode 訂閱。",
|
||||
line: "使用 ChatGPT Plus 或 Pro 或 GitHub Copilot 登入,或是使用 OpenCode 訂閱。",
|
||||
yours: { label: "你的訂閱", items: { "chatgpt-plus-pro": { name: "ChatGPT Plus/Pro" } } },
|
||||
planLinks: ["OpenCode 訂閱", "OpenCode Go"],
|
||||
ours: { label: "OpenCode 方案" },
|
||||
|
|
@ -650,10 +650,6 @@ export const content = {
|
|||
},
|
||||
announcements: {
|
||||
"create-install-and-share-desktop-plugins": { text: "建立、安裝和分享桌面外掛。", link: "查看 2.2 的新功能" },
|
||||
"use-your-claude-code-login-in-opencode": {
|
||||
text: "在 OpenCode 中使用你的 Claude Code 登入。",
|
||||
link: "查看 v2.2.3",
|
||||
},
|
||||
"desktop-terminals-now-survive-restarts": { text: "桌面終端機現在重新啟動後依然保留。", link: "查看 v2.2.4" },
|
||||
"agents-can-now-generate-images": { text: "代理現在可以產生圖片了。", link: "查看 v2.2.1" },
|
||||
"steer-your-sessions-from-your-phone": { text: "用手機引導你的工作階段。", link: "認識 OpenCode Mobile" },
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Stjerner på GitHub",
|
||||
"home.growth.contributors": "Bidragydere",
|
||||
"home.growth.monthlyDevs": "Udviklere om måneden",
|
||||
"home.privacy.title": "Privatliv først",
|
||||
"home.privacy.body": "OpenCode gemmer ikke din kode eller kontekstdata, så den kan bruges i privatlivsfølsomme miljøer.",
|
||||
"home.privacy.learnMore": "Læs mere om",
|
||||
"home.privacy.link": "privatliv",
|
||||
"home.faq.q1": "Hvad er OpenCode?",
|
||||
"home.faq.q2": "Hvordan bruger jeg OpenCode?",
|
||||
"home.faq.a2.before": "Den nemmeste måde at komme i gang på er at læse",
|
||||
|
|
@ -535,27 +531,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Kodningsagenter kan også installere det.",
|
||||
"home.install.copyPrompt": "Kopier installationsprompten",
|
||||
"home.openSource.builtInTheOpen": "Bygget i det åbne",
|
||||
"home.signup.title": "Tidlig adgang",
|
||||
"home.signup.body": "Hør det først, når vi udgiver nye produkter.",
|
||||
"home.signup.placeholder": "din e-mailadresse",
|
||||
"home.signup.label": "E-mailadresse",
|
||||
"home.signup.button": "Giv mig besked",
|
||||
"home.signup.sending": "Sender…",
|
||||
"home.signup.subscribing": "Tilmelder…",
|
||||
"home.signup.again": "Brug en anden adresse",
|
||||
"home.signup.againLower": "brug en anden adresse",
|
||||
"home.signup.toSubscribe": "for at tilmelde dig",
|
||||
"home.signup.tellFirst": "Vi giver dig besked først på {{email}}.",
|
||||
"home.signup.onListAt": "Du er på listen med",
|
||||
"home.signup.alreadyAt": "Du er allerede på listen med",
|
||||
"home.signup.empty": "Indtast din e-mailadresse.",
|
||||
"home.signup.invalid": "Indtast en fuld e-mailadresse, f.eks. dig@example.com.",
|
||||
"home.signup.error": "Det gik ikke igennem. Prøv igen om lidt.",
|
||||
"home.signup.subscribed": "Du er på listen.",
|
||||
"home.signup.already": "Du er allerede på listen.",
|
||||
"home.signup.sentenceEmpty": "Skriv din adresse først.",
|
||||
"home.signup.sentenceInvalid": "Adressen ser ufuldstændig ud.",
|
||||
"home.signup.sentenceError": "Det gik ikke igennem. Prøv igen.",
|
||||
"home.features.fewer": "Vis færre funktioner",
|
||||
"home.features.all": "Vis alle {{count}} funktioner",
|
||||
"home.features.also": "Desuden",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub-Sterne",
|
||||
"home.growth.contributors": "Mitwirkende",
|
||||
"home.growth.monthlyDevs": "Entwickler pro Monat",
|
||||
"home.privacy.title": "Datenschutz zuerst",
|
||||
"home.privacy.body": "OpenCode speichert keinen deiner Codes oder Kontextdaten, sodass es in datenschutzsensiblen Umgebungen arbeiten kann.",
|
||||
"home.privacy.learnMore": "Erfahre mehr über",
|
||||
"home.privacy.link": "Datenschutz",
|
||||
"home.faq.q1": "Was ist OpenCode?",
|
||||
"home.faq.q2": "Wie nutze ich OpenCode?",
|
||||
"home.faq.a2.before": "Der einfachste Weg zu starten ist, die",
|
||||
|
|
@ -535,27 +531,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Coding-Agents können es auch installieren.",
|
||||
"home.install.copyPrompt": "Installations-Prompt kopieren",
|
||||
"home.openSource.builtInTheOpen": "Offen entwickelt",
|
||||
"home.signup.title": "Früher Zugang",
|
||||
"home.signup.body": "Erfahre als Erstes, wenn wir neue Produkte veröffentlichen.",
|
||||
"home.signup.placeholder": "deine E-Mail-Adresse",
|
||||
"home.signup.label": "E-Mail-Adresse",
|
||||
"home.signup.button": "Benachrichtigen",
|
||||
"home.signup.sending": "Wird gesendet…",
|
||||
"home.signup.subscribing": "Wird angemeldet…",
|
||||
"home.signup.again": "Andere Adresse verwenden",
|
||||
"home.signup.againLower": "andere Adresse verwenden",
|
||||
"home.signup.toSubscribe": "zum Anmelden",
|
||||
"home.signup.tellFirst": "Wir informieren dich zuerst unter {{email}}.",
|
||||
"home.signup.onListAt": "Du stehst auf der Liste mit",
|
||||
"home.signup.alreadyAt": "Du stehst schon auf der Liste mit",
|
||||
"home.signup.empty": "Gib deine E-Mail-Adresse ein.",
|
||||
"home.signup.invalid": "Gib eine vollständige E-Mail-Adresse ein, etwa du@example.com.",
|
||||
"home.signup.error": "Das hat nicht geklappt. Versuch es gleich noch einmal.",
|
||||
"home.signup.subscribed": "Du stehst auf der Liste.",
|
||||
"home.signup.already": "Du stehst schon auf der Liste.",
|
||||
"home.signup.sentenceEmpty": "Gib zuerst deine Adresse ein.",
|
||||
"home.signup.sentenceInvalid": "Die Adresse sieht unvollständig aus.",
|
||||
"home.signup.sentenceError": "Das hat nicht geklappt. Versuch es noch einmal.",
|
||||
"home.features.fewer": "Weniger Funktionen zeigen",
|
||||
"home.features.all": "Alle {{count}} Funktionen zeigen",
|
||||
"home.features.also": "Außerdem",
|
||||
|
|
|
|||
|
|
@ -90,10 +90,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub stars",
|
||||
"home.growth.contributors": "Contributors",
|
||||
"home.growth.monthlyDevs": "Monthly devs",
|
||||
"home.privacy.title": "Privacy first",
|
||||
"home.privacy.body": "OpenCode does not store any of your code or context data, so that it can operate in privacy sensitive environments.",
|
||||
"home.privacy.learnMore": "Learn more about",
|
||||
"home.privacy.link": "privacy",
|
||||
"home.faq.q1": "What is OpenCode?",
|
||||
"home.faq.q2": "How do I use OpenCode?",
|
||||
"home.faq.a2.before": "The easiest way to get started is to read the",
|
||||
|
|
@ -490,27 +486,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Coding agents can install it too.",
|
||||
"home.install.copyPrompt": "Copy the install prompt",
|
||||
"home.openSource.builtInTheOpen": "Built in the open",
|
||||
"home.signup.title": "Early access",
|
||||
"home.signup.body": "Be the first to know when we release new products.",
|
||||
"home.signup.placeholder": "your email address",
|
||||
"home.signup.label": "Email address",
|
||||
"home.signup.button": "Notify me",
|
||||
"home.signup.sending": "Sending…",
|
||||
"home.signup.subscribing": "Subscribing…",
|
||||
"home.signup.again": "Use another address",
|
||||
"home.signup.againLower": "use another address",
|
||||
"home.signup.toSubscribe": "to subscribe",
|
||||
"home.signup.tellFirst": "We'll tell you first at {{email}}.",
|
||||
"home.signup.onListAt": "You're on the list at",
|
||||
"home.signup.alreadyAt": "You're already on the list at",
|
||||
"home.signup.empty": "Enter your email address.",
|
||||
"home.signup.invalid": "Enter a full email address, like you@example.com.",
|
||||
"home.signup.error": "That didn't go through. Try again in a moment.",
|
||||
"home.signup.subscribed": "You're on the list.",
|
||||
"home.signup.already": "You're already on the list.",
|
||||
"home.signup.sentenceEmpty": "Type your address first.",
|
||||
"home.signup.sentenceInvalid": "That address looks incomplete.",
|
||||
"home.signup.sentenceError": "That didn't go through. Try again.",
|
||||
"home.features.fewer": "Show fewer features",
|
||||
"home.features.all": "Show all {{count}} features",
|
||||
"home.features.also": "Also",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Estrellas de GitHub",
|
||||
"home.growth.contributors": "Colaboradores",
|
||||
"home.growth.monthlyDevs": "Devs al mes",
|
||||
"home.privacy.title": "Privacidad ante todo",
|
||||
"home.privacy.body": "OpenCode no almacena tu código ni datos de contexto, para que pueda operar en entornos sensibles a la privacidad.",
|
||||
"home.privacy.learnMore": "Más información sobre",
|
||||
"home.privacy.link": "privacidad",
|
||||
"home.faq.q1": "¿Qué es OpenCode?",
|
||||
"home.faq.q2": "¿Cómo uso OpenCode?",
|
||||
"home.faq.a2.before": "La forma más fácil de empezar es leer la",
|
||||
|
|
@ -537,27 +533,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Los agentes de programación también pueden instalarlo.",
|
||||
"home.install.copyPrompt": "Copiar el prompt de instalación",
|
||||
"home.openSource.builtInTheOpen": "Desarrollado en abierto",
|
||||
"home.signup.title": "Acceso anticipado",
|
||||
"home.signup.body": "Sé el primero en saber cuándo lanzamos productos nuevos.",
|
||||
"home.signup.placeholder": "tu dirección de correo",
|
||||
"home.signup.label": "Dirección de correo",
|
||||
"home.signup.button": "Avísame",
|
||||
"home.signup.sending": "Enviando…",
|
||||
"home.signup.subscribing": "Suscribiendo…",
|
||||
"home.signup.again": "Usar otra dirección",
|
||||
"home.signup.againLower": "usar otra dirección",
|
||||
"home.signup.toSubscribe": "para suscribirte",
|
||||
"home.signup.tellFirst": "Te avisaremos primero en {{email}}.",
|
||||
"home.signup.onListAt": "Estás en la lista con",
|
||||
"home.signup.alreadyAt": "Ya estás en la lista con",
|
||||
"home.signup.empty": "Escribe tu dirección de correo.",
|
||||
"home.signup.invalid": "Escribe una dirección de correo completa, como tu@example.com.",
|
||||
"home.signup.error": "No se ha podido enviar. Inténtalo de nuevo en un momento.",
|
||||
"home.signup.subscribed": "Estás en la lista.",
|
||||
"home.signup.already": "Ya estás en la lista.",
|
||||
"home.signup.sentenceEmpty": "Escribe primero tu dirección.",
|
||||
"home.signup.sentenceInvalid": "Esa dirección parece incompleta.",
|
||||
"home.signup.sentenceError": "No se ha podido enviar. Inténtalo de nuevo.",
|
||||
"home.features.fewer": "Mostrar menos funciones",
|
||||
"home.features.all": "Mostrar las {{count}} funciones",
|
||||
"home.features.also": "Además",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Étoiles sur GitHub",
|
||||
"home.growth.contributors": "Contributeurs",
|
||||
"home.growth.monthlyDevs": "Devs par mois",
|
||||
"home.privacy.title": "La confidentialité d'abord",
|
||||
"home.privacy.body": "OpenCode ne stocke ni votre code ni vos données de contexte, afin de pouvoir fonctionner dans des environnements sensibles à la confidentialité.",
|
||||
"home.privacy.learnMore": "En savoir plus sur",
|
||||
"home.privacy.link": "la confidentialité",
|
||||
"home.faq.q1": "Qu'est-ce que OpenCode ?",
|
||||
"home.faq.q2": "Comment utiliser OpenCode ?",
|
||||
"home.faq.a2.before": "Le moyen le plus simple de commencer est de lire l'",
|
||||
|
|
@ -537,27 +533,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Les agents de code peuvent aussi l'installer.",
|
||||
"home.install.copyPrompt": "Copier le prompt d'installation",
|
||||
"home.openSource.builtInTheOpen": "Développé ouvertement",
|
||||
"home.signup.title": "Accès anticipé",
|
||||
"home.signup.body": "Soyez les premiers informés de nos nouveaux produits.",
|
||||
"home.signup.placeholder": "votre adresse e-mail",
|
||||
"home.signup.label": "Adresse e-mail",
|
||||
"home.signup.button": "Me prévenir",
|
||||
"home.signup.sending": "Envoi…",
|
||||
"home.signup.subscribing": "Inscription…",
|
||||
"home.signup.again": "Utiliser une autre adresse",
|
||||
"home.signup.againLower": "utiliser une autre adresse",
|
||||
"home.signup.toSubscribe": "pour s'inscrire",
|
||||
"home.signup.tellFirst": "Vous serez les premiers informés à {{email}}.",
|
||||
"home.signup.onListAt": "Vous êtes inscrit avec",
|
||||
"home.signup.alreadyAt": "Vous êtes déjà inscrit avec",
|
||||
"home.signup.empty": "Saisissez votre adresse e-mail.",
|
||||
"home.signup.invalid": "Saisissez une adresse e-mail complète, comme vous@example.com.",
|
||||
"home.signup.error": "L'envoi a échoué. Réessayez dans un instant.",
|
||||
"home.signup.subscribed": "Vous êtes inscrit.",
|
||||
"home.signup.already": "Vous êtes déjà inscrit.",
|
||||
"home.signup.sentenceEmpty": "Saisissez d'abord votre adresse.",
|
||||
"home.signup.sentenceInvalid": "Cette adresse semble incomplète.",
|
||||
"home.signup.sentenceError": "L'envoi a échoué. Réessayez.",
|
||||
"home.features.fewer": "Moins de fonctionnalités",
|
||||
"home.features.all": "Voir les {{count}} fonctionnalités",
|
||||
"home.features.also": "Et aussi",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Stelle su GitHub",
|
||||
"home.growth.contributors": "Contributori",
|
||||
"home.growth.monthlyDevs": "Dev al mese",
|
||||
"home.privacy.title": "Privacy prima di tutto",
|
||||
"home.privacy.body": "OpenCode non archivia il tuo codice né i dati di contesto, così può operare in ambienti sensibili alla privacy.",
|
||||
"home.privacy.learnMore": "Scopri di più su",
|
||||
"home.privacy.link": "privacy",
|
||||
"home.faq.q1": "Che cos'è OpenCode?",
|
||||
"home.faq.q2": "Come uso OpenCode?",
|
||||
"home.faq.a2.before": "Il modo più semplice per iniziare è leggere l'",
|
||||
|
|
@ -537,27 +533,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Anche gli agenti di coding possono installarlo.",
|
||||
"home.install.copyPrompt": "Copia il prompt di installazione",
|
||||
"home.openSource.builtInTheOpen": "Sviluppato in modo aperto",
|
||||
"home.signup.title": "Accesso anticipato",
|
||||
"home.signup.body": "Sii il primo a sapere quando lanciamo nuovi prodotti.",
|
||||
"home.signup.placeholder": "il tuo indirizzo email",
|
||||
"home.signup.label": "Indirizzo email",
|
||||
"home.signup.button": "Avvisami",
|
||||
"home.signup.sending": "Invio…",
|
||||
"home.signup.subscribing": "Iscrizione…",
|
||||
"home.signup.again": "Usa un altro indirizzo",
|
||||
"home.signup.againLower": "usa un altro indirizzo",
|
||||
"home.signup.toSubscribe": "per iscriverti",
|
||||
"home.signup.tellFirst": "Ti avviseremo per primo a {{email}}.",
|
||||
"home.signup.onListAt": "Sei in lista con",
|
||||
"home.signup.alreadyAt": "Sei già in lista con",
|
||||
"home.signup.empty": "Inserisci il tuo indirizzo email.",
|
||||
"home.signup.invalid": "Inserisci un indirizzo email completo, come tu@example.com.",
|
||||
"home.signup.error": "Non è andata a buon fine. Riprova tra un momento.",
|
||||
"home.signup.subscribed": "Sei in lista.",
|
||||
"home.signup.already": "Sei già in lista.",
|
||||
"home.signup.sentenceEmpty": "Scrivi prima il tuo indirizzo.",
|
||||
"home.signup.sentenceInvalid": "L'indirizzo sembra incompleto.",
|
||||
"home.signup.sentenceError": "Non è andata a buon fine. Riprova.",
|
||||
"home.features.fewer": "Mostra meno funzionalità",
|
||||
"home.features.all": "Mostra tutte le {{count}} funzionalità",
|
||||
"home.features.also": "Inoltre",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub スター",
|
||||
"home.growth.contributors": "コントリビューター",
|
||||
"home.growth.monthlyDevs": "月間の開発者数",
|
||||
"home.privacy.title": "プライバシー最優先",
|
||||
"home.privacy.body": "OpenCodeはコードやコンテキストデータを一切保存しないため、プライバシーが重視される環境でも利用できます。",
|
||||
"home.privacy.learnMore": "詳しくは",
|
||||
"home.privacy.link": "プライバシー",
|
||||
"home.faq.q1": "OpenCodeとは?",
|
||||
"home.faq.q2": "OpenCodeの使い方は?",
|
||||
"home.faq.a2.before": "最も簡単な始め方は",
|
||||
|
|
@ -535,27 +531,6 @@ export const dict = {
|
|||
"home.install.agentNote": "コーディングエージェントでもインストールできます。",
|
||||
"home.install.copyPrompt": "インストール用プロンプトをコピー",
|
||||
"home.openSource.builtInTheOpen": "オープンな開発",
|
||||
"home.signup.title": "早期アクセス",
|
||||
"home.signup.body": "新しい製品のリリースをいち早くお知らせします。",
|
||||
"home.signup.placeholder": "メールアドレス",
|
||||
"home.signup.label": "メールアドレス",
|
||||
"home.signup.button": "通知を受け取る",
|
||||
"home.signup.sending": "送信中…",
|
||||
"home.signup.subscribing": "登録中…",
|
||||
"home.signup.again": "別のアドレスを使う",
|
||||
"home.signup.againLower": "別のアドレスを使う",
|
||||
"home.signup.toSubscribe": "で登録",
|
||||
"home.signup.tellFirst": "{{email}}にいち早くお知らせします。",
|
||||
"home.signup.onListAt": "登録済みのアドレスは",
|
||||
"home.signup.alreadyAt": "すでに登録済みのアドレスは",
|
||||
"home.signup.empty": "メールアドレスを入力してください。",
|
||||
"home.signup.invalid": "you@example.comのように、完全なメールアドレスを入力してください。",
|
||||
"home.signup.error": "送信できませんでした。少し待ってからもう一度お試しください。",
|
||||
"home.signup.subscribed": "登録しました。",
|
||||
"home.signup.already": "すでに登録されています。",
|
||||
"home.signup.sentenceEmpty": "まずアドレスを入力してください。",
|
||||
"home.signup.sentenceInvalid": "アドレスが不完全なようです。",
|
||||
"home.signup.sentenceError": "送信できませんでした。もう一度お試しください。",
|
||||
"home.features.fewer": "機能を少なく表示",
|
||||
"home.features.all": "{{count}}個の機能をすべて表示",
|
||||
"home.features.also": "ほかにも",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub 스타 수",
|
||||
"home.growth.contributors": "기여자",
|
||||
"home.growth.monthlyDevs": "월간 개발자",
|
||||
"home.privacy.title": "프라이버시 우선",
|
||||
"home.privacy.body": "OpenCode는 코드나 컨텍스트 데이터를 저장하지 않으므로, 프라이버시에 민감한 환경에서도 안전하게 작동합니다.",
|
||||
"home.privacy.learnMore": "더 알아보기:",
|
||||
"home.privacy.link": "프라이버시",
|
||||
"home.faq.q1": "OpenCode란 무엇인가요?",
|
||||
"home.faq.q2": "OpenCode는 어떻게 사용하나요?",
|
||||
"home.faq.a2.before": "가장 쉬운 시작 방법은",
|
||||
|
|
@ -536,27 +532,6 @@ export const dict = {
|
|||
"home.install.agentNote": "코딩 에이전트도 설치할 수 있습니다.",
|
||||
"home.install.copyPrompt": "설치 프롬프트 복사",
|
||||
"home.openSource.builtInTheOpen": "공개적으로 개발",
|
||||
"home.signup.title": "얼리 액세스",
|
||||
"home.signup.body": "새 제품이 나오면 가장 먼저 알려 드립니다.",
|
||||
"home.signup.placeholder": "이메일 주소",
|
||||
"home.signup.label": "이메일 주소",
|
||||
"home.signup.button": "알림 받기",
|
||||
"home.signup.sending": "보내는 중…",
|
||||
"home.signup.subscribing": "구독하는 중…",
|
||||
"home.signup.again": "다른 주소 사용",
|
||||
"home.signup.againLower": "다른 주소 사용",
|
||||
"home.signup.toSubscribe": "키를 눌러 구독",
|
||||
"home.signup.tellFirst": "{{email}}(으)로 가장 먼저 알려 드릴게요.",
|
||||
"home.signup.onListAt": "명단에 등록된 주소",
|
||||
"home.signup.alreadyAt": "이미 명단에 있는 주소",
|
||||
"home.signup.empty": "이메일 주소를 입력하세요.",
|
||||
"home.signup.invalid": "you@example.com처럼 전체 이메일 주소를 입력하세요.",
|
||||
"home.signup.error": "전송되지 않았습니다. 잠시 후 다시 시도하세요.",
|
||||
"home.signup.subscribed": "명단에 등록되었습니다.",
|
||||
"home.signup.already": "이미 명단에 있습니다.",
|
||||
"home.signup.sentenceEmpty": "먼저 주소를 입력하세요.",
|
||||
"home.signup.sentenceInvalid": "주소가 완전하지 않은 것 같습니다.",
|
||||
"home.signup.sentenceError": "전송되지 않았습니다. 다시 시도하세요.",
|
||||
"home.features.fewer": "기능 접기",
|
||||
"home.features.all": "기능 {{count}}개 모두 보기",
|
||||
"home.features.also": "그 밖에",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Stjerner på GitHub",
|
||||
"home.growth.contributors": "Bidragsytere",
|
||||
"home.growth.monthlyDevs": "Utviklere i måneden",
|
||||
"home.privacy.title": "Personvern først",
|
||||
"home.privacy.body": "OpenCode lagrer ikke koden din eller kontekstdata, slik at den kan fungere i personvernsensitive miljøer.",
|
||||
"home.privacy.learnMore": "Les mer om",
|
||||
"home.privacy.link": "personvern",
|
||||
"home.faq.q1": "Hva er OpenCode?",
|
||||
"home.faq.q2": "Hvordan bruker jeg OpenCode?",
|
||||
"home.faq.a2.before": "Den enkleste måten å komme i gang på er å lese",
|
||||
|
|
@ -535,27 +531,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Kodeagenter kan også installere det.",
|
||||
"home.install.copyPrompt": "Kopier installasjonsprompten",
|
||||
"home.openSource.builtInTheOpen": "Bygget åpent",
|
||||
"home.signup.title": "Tidlig tilgang",
|
||||
"home.signup.body": "Bli den første som får vite når vi lanserer nye produkter.",
|
||||
"home.signup.placeholder": "e-postadressen din",
|
||||
"home.signup.label": "E-postadresse",
|
||||
"home.signup.button": "Varsle meg",
|
||||
"home.signup.sending": "Sender…",
|
||||
"home.signup.subscribing": "Melder på…",
|
||||
"home.signup.again": "Bruk en annen adresse",
|
||||
"home.signup.againLower": "bruk en annen adresse",
|
||||
"home.signup.toSubscribe": "for å melde deg på",
|
||||
"home.signup.tellFirst": "Vi gir deg beskjed først på {{email}}.",
|
||||
"home.signup.onListAt": "Du står på listen med",
|
||||
"home.signup.alreadyAt": "Du står allerede på listen med",
|
||||
"home.signup.empty": "Skriv inn e-postadressen din.",
|
||||
"home.signup.invalid": "Skriv inn en fullstendig e-postadresse, som deg@example.com.",
|
||||
"home.signup.error": "Det gikk ikke gjennom. Prøv igjen om litt.",
|
||||
"home.signup.subscribed": "Du står på listen.",
|
||||
"home.signup.already": "Du står allerede på listen.",
|
||||
"home.signup.sentenceEmpty": "Skriv inn adressen først.",
|
||||
"home.signup.sentenceInvalid": "Adressen ser ufullstendig ut.",
|
||||
"home.signup.sentenceError": "Det gikk ikke gjennom. Prøv igjen.",
|
||||
"home.features.fewer": "Vis færre funksjoner",
|
||||
"home.features.all": "Vis alle {{count}} funksjoner",
|
||||
"home.features.also": "I tillegg",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "Gwiazdki na GitHubie",
|
||||
"home.growth.contributors": "Współtwórcy",
|
||||
"home.growth.monthlyDevs": "Devów miesięcznie",
|
||||
"home.privacy.title": "Prywatność przede wszystkim",
|
||||
"home.privacy.body": "OpenCode nie przechowuje Twojego kodu ani danych kontekstowych, dzięki czemu może działać w środowiskach wrażliwych na prywatność.",
|
||||
"home.privacy.learnMore": "Dowiedz się więcej o",
|
||||
"home.privacy.link": "prywatności",
|
||||
"home.faq.q1": "Czym jest OpenCode?",
|
||||
"home.faq.q2": "Jak korzystać z OpenCode?",
|
||||
"home.faq.a2.before": "Najłatwiej zacząć od przeczytania",
|
||||
|
|
@ -550,27 +546,6 @@ export const dict = {
|
|||
"home.providers.aria": "Dostawcy modeli",
|
||||
"home.providers.grid": "Ponad 200 dostawców przez [models.dev](modelsdev) oraz modele lokalne. [Podłącz dostawcę](providers)",
|
||||
"home.providers.inline": "Używaj [list](list) lub dowolnego z ponad 200 innych modeli.",
|
||||
"home.signup.again": "Użyj innego adresu",
|
||||
"home.signup.againLower": "użyj innego adresu",
|
||||
"home.signup.already": "Już jesteś na liście.",
|
||||
"home.signup.alreadyAt": "Już jesteś na liście z adresem",
|
||||
"home.signup.body": "Dowiedz się pierwszy, gdy wydamy nowe produkty.",
|
||||
"home.signup.button": "Powiadom mnie",
|
||||
"home.signup.empty": "Wpisz adres e-mail.",
|
||||
"home.signup.error": "Nie udało się. Spróbuj ponownie za chwilę.",
|
||||
"home.signup.invalid": "Wpisz pełny adres e-mail, np. ty@example.com.",
|
||||
"home.signup.label": "Adres e-mail",
|
||||
"home.signup.onListAt": "Jesteś na liście z adresem",
|
||||
"home.signup.placeholder": "Twój adres e-mail",
|
||||
"home.signup.sending": "Wysyłanie…",
|
||||
"home.signup.sentenceEmpty": "Najpierw wpisz adres.",
|
||||
"home.signup.sentenceError": "Nie udało się. Spróbuj ponownie.",
|
||||
"home.signup.sentenceInvalid": "Ten adres wygląda na niepełny.",
|
||||
"home.signup.subscribed": "Jesteś na liście.",
|
||||
"home.signup.subscribing": "Zapisywanie…",
|
||||
"home.signup.tellFirst": "Damy Ci znać jako pierwszemu na {{email}}.",
|
||||
"home.signup.title": "Wczesny dostęp",
|
||||
"home.signup.toSubscribe": "aby się zapisać",
|
||||
"site.arcade.back": "Wstecz",
|
||||
"site.arcade.bridge": "Sterowanie dotykowe wymaga mostka wejścia automatu na tym hoście.",
|
||||
"site.arcade.exit": "Wyjdź z gry",
|
||||
|
|
|
|||
|
|
@ -71,9 +71,6 @@ export const dict = {
|
|||
"home.growth.title": "Агент с открытым кодом для программирования",
|
||||
"home.growth.body": "С более чем <strong>{{stars}}</strong> звезд на GitHub, <strong>{{contributors}}</strong> контрибьюторов и <strong>{{commits}}</strong> коммитов, OpenCode доверяют более <strong>{{monthlyUsers}}</strong> разработчиков ежемесячно.",
|
||||
"home.growth.contributors": "Контрибьюторов",
|
||||
"home.privacy.body": "OpenCode не хранит ваш код или контекстные данные, поэтому он может работать в средах, чувствительных к приватности.",
|
||||
"home.privacy.learnMore": "Подробнее о",
|
||||
"home.privacy.link": "приватности",
|
||||
"home.faq.q1": "Что такое OpenCode?",
|
||||
"home.faq.q2": "Как использовать OpenCode?",
|
||||
"home.faq.a2.before": "Проще всего начать с чтения",
|
||||
|
|
@ -225,7 +222,6 @@ export const dict = {
|
|||
"home.what.body": "OpenCode — агент для программирования с открытым исходным кодом.",
|
||||
"home.growth.githubStars": "Звёзд на GitHub",
|
||||
"home.growth.monthlyDevs": "Разработчиков ежемесячно",
|
||||
"home.privacy.title": "Приватность прежде всего",
|
||||
"home.faq.a3.p1": "Не обязательно. В OpenCode есть набор бесплатных моделей, которыми можно пользоваться без аккаунта.",
|
||||
"home.faq.a4.p1": "Да, можно использовать подписки ChatGPT Plus/Pro или GitHub Copilot.",
|
||||
"download.title": "OpenCode | Скачать для macOS, Windows, Linux и телефона",
|
||||
|
|
@ -533,27 +529,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Агенты для программирования тоже могут его установить.",
|
||||
"home.install.copyPrompt": "Скопировать промпт для установки",
|
||||
"home.openSource.builtInTheOpen": "Создаётся открыто",
|
||||
"home.signup.title": "Ранний доступ",
|
||||
"home.signup.body": "Узнайте первыми о выходе новых продуктов.",
|
||||
"home.signup.placeholder": "ваш email",
|
||||
"home.signup.label": "Адрес электронной почты",
|
||||
"home.signup.button": "Сообщить мне",
|
||||
"home.signup.sending": "Отправка…",
|
||||
"home.signup.subscribing": "Подписка…",
|
||||
"home.signup.again": "Другой адрес",
|
||||
"home.signup.againLower": "другой адрес",
|
||||
"home.signup.toSubscribe": "чтобы подписаться",
|
||||
"home.signup.tellFirst": "Мы первыми напишем вам на {{email}}.",
|
||||
"home.signup.onListAt": "Вы в списке с адресом",
|
||||
"home.signup.alreadyAt": "Вы уже в списке с адресом",
|
||||
"home.signup.empty": "Введите адрес электронной почты.",
|
||||
"home.signup.invalid": "Введите полный адрес, например you@example.com.",
|
||||
"home.signup.error": "Не получилось. Попробуйте ещё раз чуть позже.",
|
||||
"home.signup.subscribed": "Вы в списке.",
|
||||
"home.signup.already": "Вы уже в списке.",
|
||||
"home.signup.sentenceEmpty": "Сначала введите адрес.",
|
||||
"home.signup.sentenceInvalid": "Адрес выглядит неполным.",
|
||||
"home.signup.sentenceError": "Не получилось. Попробуйте ещё раз.",
|
||||
"home.features.fewer": "Меньше возможностей",
|
||||
"home.features.all": "Все возможности ({{count}})",
|
||||
"home.features.also": "Также",
|
||||
|
|
|
|||
|
|
@ -694,10 +694,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -706,27 +702,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -713,10 +713,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -725,27 +721,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -687,10 +687,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -699,27 +695,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -687,10 +687,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -699,27 +695,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -689,10 +689,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -701,27 +697,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -689,10 +689,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -701,27 +697,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -689,10 +689,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -701,27 +697,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -705,10 +705,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -717,27 +713,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -704,10 +704,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -716,27 +712,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -687,10 +687,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -699,27 +695,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -713,10 +713,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -725,27 +721,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -694,10 +694,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -706,27 +702,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -705,10 +705,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -717,27 +713,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -713,10 +713,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -725,27 +721,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -694,10 +694,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -706,27 +702,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -704,10 +704,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -716,27 +712,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -704,10 +704,6 @@
|
|||
"home.openSource.star": "1n7q770gjc57l",
|
||||
"home.openSource.starCount": "3k489ome94qeq",
|
||||
"home.openSource.title": "36ewee8ajgzsl",
|
||||
"home.privacy.body": "22p497zsf0pr6",
|
||||
"home.privacy.learnMore": "qjotwwqzn3rt",
|
||||
"home.privacy.link": "ipqpd1jggikp",
|
||||
"home.privacy.title": "2107mr7wnfvjg",
|
||||
"home.promo.body": "14h4uohwwp71j",
|
||||
"home.promo.close": "61hcaockt6v1",
|
||||
"home.promo.cta": "3r4h5ci46jij2",
|
||||
|
|
@ -716,27 +712,6 @@
|
|||
"home.providers.grid": "2ue5v80k5e80h",
|
||||
"home.providers.inline": "y7scva93b3gb",
|
||||
"home.providers.label": "zmvoodfuana",
|
||||
"home.signup.again": "173kcxzntyhcn",
|
||||
"home.signup.againLower": "1pkvrbeot11hj",
|
||||
"home.signup.already": "3520u8yx4pdk1",
|
||||
"home.signup.alreadyAt": "ifgfqg3g6nmc",
|
||||
"home.signup.body": "1e45vtos4xbjg",
|
||||
"home.signup.button": "32pejov8mpipg",
|
||||
"home.signup.empty": "3afxs51bv0voa",
|
||||
"home.signup.error": "1fboov477w6st",
|
||||
"home.signup.invalid": "3fdjfafbu2pvw",
|
||||
"home.signup.label": "218zdyczj8aky",
|
||||
"home.signup.onListAt": "334pvdlf3srum",
|
||||
"home.signup.placeholder": "xlgktnol3jke",
|
||||
"home.signup.sending": "11wg2h2yzr4xy",
|
||||
"home.signup.sentenceEmpty": "333ka92823n1o",
|
||||
"home.signup.sentenceError": "9r0ftvkdxw9u",
|
||||
"home.signup.sentenceInvalid": "2x4uzt17ursji",
|
||||
"home.signup.subscribed": "10pxc3oc1hn53",
|
||||
"home.signup.subscribing": "u2t89punx8k4",
|
||||
"home.signup.tellFirst": "29mhzw32sdqta",
|
||||
"home.signup.title": "1ai0l5klaaikf",
|
||||
"home.signup.toSubscribe": "1o2pd3w4z9hvy",
|
||||
"home.title": "1zbmghq5rlk7c",
|
||||
"home.tools.label": "2lulvl2299gxh",
|
||||
"home.tools.lead": "30kl9er5yoq1t",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "ดาว GitHub",
|
||||
"home.growth.contributors": "ผู้ร่วมพัฒนา",
|
||||
"home.growth.monthlyDevs": "นักพัฒนาต่อเดือน",
|
||||
"home.privacy.title": "ความเป็นส่วนตัวมาก่อน",
|
||||
"home.privacy.body": "OpenCode ไม่จัดเก็บโค้ดหรือข้อมูลบริบทของคุณ เพื่อให้สามารถทำงานในสภาพแวดล้อมที่ให้ความสำคัญกับความเป็นส่วนตัวได้",
|
||||
"home.privacy.learnMore": "เรียนรู้เพิ่มเติมเกี่ยวกับ",
|
||||
"home.privacy.link": "ความเป็นส่วนตัว",
|
||||
"home.faq.q1": "OpenCode คืออะไร?",
|
||||
"home.faq.q2": "ฉันจะเริ่มใช้ OpenCode ได้อย่างไร?",
|
||||
"home.faq.a2.before": "วิธีเริ่มต้นที่ง่ายที่สุดคืออ่าน",
|
||||
|
|
@ -535,27 +531,6 @@ export const dict = {
|
|||
"home.install.agentNote": "เอเจนต์เขียนโค้ดก็ติดตั้งได้เช่นกัน",
|
||||
"home.install.copyPrompt": "คัดลอกพรอมต์ติดตั้ง",
|
||||
"home.openSource.builtInTheOpen": "พัฒนาอย่างเปิดเผย",
|
||||
"home.signup.title": "เข้าถึงก่อนใคร",
|
||||
"home.signup.body": "รู้ก่อนใครเมื่อเราเปิดตัวผลิตภัณฑ์ใหม่",
|
||||
"home.signup.placeholder": "ที่อยู่อีเมลของคุณ",
|
||||
"home.signup.label": "ที่อยู่อีเมล",
|
||||
"home.signup.button": "แจ้งเตือนฉัน",
|
||||
"home.signup.sending": "กำลังส่ง…",
|
||||
"home.signup.subscribing": "กำลังสมัคร…",
|
||||
"home.signup.again": "ใช้ที่อยู่อื่น",
|
||||
"home.signup.againLower": "ใช้ที่อยู่อื่น",
|
||||
"home.signup.toSubscribe": "เพื่อสมัคร",
|
||||
"home.signup.tellFirst": "เราจะแจ้งคุณก่อนใครที่ {{email}}",
|
||||
"home.signup.onListAt": "คุณอยู่ในรายชื่อแล้วด้วย",
|
||||
"home.signup.alreadyAt": "คุณอยู่ในรายชื่ออยู่แล้วด้วย",
|
||||
"home.signup.empty": "กรอกที่อยู่อีเมลของคุณ",
|
||||
"home.signup.invalid": "กรอกที่อยู่อีเมลให้ครบ เช่น you@example.com",
|
||||
"home.signup.error": "ส่งไม่สำเร็จ ลองอีกครั้งในอีกสักครู่",
|
||||
"home.signup.subscribed": "คุณอยู่ในรายชื่อแล้ว",
|
||||
"home.signup.already": "คุณอยู่ในรายชื่ออยู่แล้ว",
|
||||
"home.signup.sentenceEmpty": "พิมพ์ที่อยู่อีเมลก่อน",
|
||||
"home.signup.sentenceInvalid": "ที่อยู่นี้ดูไม่ครบถ้วน",
|
||||
"home.signup.sentenceError": "ส่งไม่สำเร็จ ลองอีกครั้ง",
|
||||
"home.features.fewer": "แสดงฟีเจอร์น้อยลง",
|
||||
"home.features.all": "แสดงฟีเจอร์ทั้งหมด {{count}} รายการ",
|
||||
"home.features.also": "นอกจากนี้",
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub yıldızı",
|
||||
"home.growth.contributors": "Katılımcılar",
|
||||
"home.growth.monthlyDevs": "Aylık geliştirici",
|
||||
"home.privacy.title": "Gizlilik öncelikli",
|
||||
"home.privacy.body": "OpenCode kodunuzu veya bağlam verilerinizi saklamaz; bu sayede gizliliğe duyarlı ortamlarda çalışabilir.",
|
||||
"home.privacy.learnMore": "Hakkında daha fazla bilgi:",
|
||||
"home.privacy.link": "gizlilik",
|
||||
"home.faq.q1": "OpenCode nedir?",
|
||||
"home.faq.q2": "OpenCode'u nasıl kullanırım?",
|
||||
"home.faq.a2.before": "Başlamanın en kolay yolu",
|
||||
|
|
@ -550,27 +546,6 @@ export const dict = {
|
|||
"home.providers.aria": "Model sağlayıcıları",
|
||||
"home.providers.grid": "[models.dev](modelsdev) üzerinden 200'den fazla sağlayıcı ve yerel modeller. [Sağlayıcı bağlayın](providers)",
|
||||
"home.providers.inline": "[list](list) ya da 200'den fazla diğer modelden birini kullanın.",
|
||||
"home.signup.again": "Başka bir adres kullan",
|
||||
"home.signup.againLower": "başka bir adres kullan",
|
||||
"home.signup.already": "Zaten listedesiniz.",
|
||||
"home.signup.alreadyAt": "Zaten listedesiniz, adresiniz",
|
||||
"home.signup.body": "Yeni ürünler çıkardığımızda ilk siz haberdar olun.",
|
||||
"home.signup.button": "Bana haber ver",
|
||||
"home.signup.empty": "E-posta adresinizi girin.",
|
||||
"home.signup.error": "Gönderilemedi. Birazdan yeniden deneyin.",
|
||||
"home.signup.invalid": "siz@example.com gibi tam bir e-posta adresi girin.",
|
||||
"home.signup.label": "E-posta adresi",
|
||||
"home.signup.onListAt": "Listedesiniz, adresiniz",
|
||||
"home.signup.placeholder": "e-posta adresiniz",
|
||||
"home.signup.sending": "Gönderiliyor…",
|
||||
"home.signup.sentenceEmpty": "Önce adresinizi yazın.",
|
||||
"home.signup.sentenceError": "Gönderilemedi. Yeniden deneyin.",
|
||||
"home.signup.sentenceInvalid": "Bu adres eksik görünüyor.",
|
||||
"home.signup.subscribed": "Listedesiniz.",
|
||||
"home.signup.subscribing": "Abone olunuyor…",
|
||||
"home.signup.tellFirst": "İlk olarak {{email}} adresine haber vereceğiz.",
|
||||
"home.signup.title": "Erken erişim",
|
||||
"home.signup.toSubscribe": "ile abone olun",
|
||||
"site.arcade.back": "Geri",
|
||||
"site.arcade.bridge": "Dokunmatik kontroller bu sunucuda oyun salonu giriş köprüsünü gerektirir.",
|
||||
"site.arcade.exit": "Oyundan çık",
|
||||
|
|
|
|||
|
|
@ -71,9 +71,6 @@ export const dict = {
|
|||
"home.growth.title": "Відкритий агент для кодування",
|
||||
"home.growth.body": "З понад <strong>{{stars}}</strong> зірками на GitHub, <strong>{{contributors}}</strong> учасниками та понад <strong>{{commits}}</strong> комітами, OpenCode використовують понад <strong>{{monthlyUsers}}</strong> розробників щомісяця.",
|
||||
"home.growth.contributors": "Учасники",
|
||||
"home.privacy.body": "OpenCode не зберігає ваш код або контекстні дані, тому може працювати в середовищах з чутливими даними.",
|
||||
"home.privacy.learnMore": "Дізнатися більше про",
|
||||
"home.privacy.link": "конфіденційність",
|
||||
"home.faq.q1": "Що таке OpenCode?",
|
||||
"home.faq.q2": "Як почати користуватися OpenCode?",
|
||||
"home.faq.a2.before": "Найпростіший спосіб почати — прочитати",
|
||||
|
|
@ -223,7 +220,6 @@ export const dict = {
|
|||
"home.what.body": "OpenCode — агент для програмування з відкритим кодом.",
|
||||
"home.growth.githubStars": "Зірок на GitHub",
|
||||
"home.growth.monthlyDevs": "Розробників щомісяця",
|
||||
"home.privacy.title": "Приватність понад усе",
|
||||
"home.faq.a3.p1": "Не обов'язково. В OpenCode є набір безкоштовних моделей, якими можна користуватися без облікового запису.",
|
||||
"home.faq.a4.p1": "Так, можна використовувати підписки ChatGPT Plus/Pro або GitHub Copilot.",
|
||||
"download.title": "OpenCode | Завантажити для macOS, Windows, Linux і телефона",
|
||||
|
|
@ -531,27 +527,6 @@ export const dict = {
|
|||
"home.install.agentNote": "Агенти для програмування теж можуть його встановити.",
|
||||
"home.install.copyPrompt": "Скопіювати промпт для встановлення",
|
||||
"home.openSource.builtInTheOpen": "Створюється відкрито",
|
||||
"home.signup.title": "Ранній доступ",
|
||||
"home.signup.body": "Дізнайтеся першими про вихід нових продуктів.",
|
||||
"home.signup.placeholder": "ваш email",
|
||||
"home.signup.label": "Адреса електронної пошти",
|
||||
"home.signup.button": "Повідомити мене",
|
||||
"home.signup.sending": "Надсилання…",
|
||||
"home.signup.subscribing": "Підписка…",
|
||||
"home.signup.again": "Інша адреса",
|
||||
"home.signup.againLower": "інша адреса",
|
||||
"home.signup.toSubscribe": "щоб підписатися",
|
||||
"home.signup.tellFirst": "Ми першими напишемо вам на {{email}}.",
|
||||
"home.signup.onListAt": "Ви в списку з адресою",
|
||||
"home.signup.alreadyAt": "Ви вже в списку з адресою",
|
||||
"home.signup.empty": "Введіть адресу електронної пошти.",
|
||||
"home.signup.invalid": "Введіть повну адресу, наприклад you@example.com.",
|
||||
"home.signup.error": "Не вийшло. Спробуйте ще раз трохи згодом.",
|
||||
"home.signup.subscribed": "Ви в списку.",
|
||||
"home.signup.already": "Ви вже в списку.",
|
||||
"home.signup.sentenceEmpty": "Спершу введіть адресу.",
|
||||
"home.signup.sentenceInvalid": "Адреса виглядає неповною.",
|
||||
"home.signup.sentenceError": "Не вийшло. Спробуйте ще раз.",
|
||||
"home.features.fewer": "Менше можливостей",
|
||||
"home.features.all": "Усі можливості ({{count}})",
|
||||
"home.features.also": "Також",
|
||||
|
|
|
|||
|
|
@ -77,10 +77,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub 星标",
|
||||
"home.growth.contributors": "贡献者",
|
||||
"home.growth.monthlyDevs": "每月开发者",
|
||||
"home.privacy.title": "隐私优先",
|
||||
"home.privacy.body": "OpenCode 不存储您的任何代码或上下文数据,确保可以在对隐私敏感的环境中运行。",
|
||||
"home.privacy.learnMore": "了解更多关于",
|
||||
"home.privacy.link": "隐私",
|
||||
"home.faq.q1": "什么是 OpenCode?",
|
||||
"home.faq.q2": "如何使用 OpenCode?",
|
||||
"home.faq.a2.before": "最简单的入门方式是阅读",
|
||||
|
|
@ -536,27 +532,6 @@ export const dict = {
|
|||
"home.install.agentNote": "编程代理也能帮您安装。",
|
||||
"home.install.copyPrompt": "复制安装提示词",
|
||||
"home.openSource.builtInTheOpen": "公开构建",
|
||||
"home.signup.title": "抢先体验",
|
||||
"home.signup.body": "新产品发布时,第一时间通知您。",
|
||||
"home.signup.placeholder": "您的邮箱地址",
|
||||
"home.signup.label": "邮箱地址",
|
||||
"home.signup.button": "通知我",
|
||||
"home.signup.sending": "正在发送…",
|
||||
"home.signup.subscribing": "正在订阅…",
|
||||
"home.signup.again": "使用其他地址",
|
||||
"home.signup.againLower": "使用其他地址",
|
||||
"home.signup.toSubscribe": "订阅",
|
||||
"home.signup.tellFirst": "我们会第一时间发邮件到 {{email}} 通知您。",
|
||||
"home.signup.onListAt": "已加入名单,邮箱为",
|
||||
"home.signup.alreadyAt": "已在名单中,邮箱为",
|
||||
"home.signup.empty": "请输入您的邮箱地址。",
|
||||
"home.signup.invalid": "请输入完整的邮箱地址,例如 you@example.com。",
|
||||
"home.signup.error": "提交失败,请稍后再试。",
|
||||
"home.signup.subscribed": "您已加入名单。",
|
||||
"home.signup.already": "您已在名单中。",
|
||||
"home.signup.sentenceEmpty": "请先输入您的地址。",
|
||||
"home.signup.sentenceInvalid": "这个地址似乎不完整。",
|
||||
"home.signup.sentenceError": "提交失败,请重试。",
|
||||
"home.features.fewer": "收起功能",
|
||||
"home.features.all": "查看全部 {{count}} 项功能",
|
||||
"home.features.also": "还有",
|
||||
|
|
|
|||
|
|
@ -77,10 +77,6 @@ export const dict = {
|
|||
"home.growth.githubStars": "GitHub 星星",
|
||||
"home.growth.contributors": "貢獻者",
|
||||
"home.growth.monthlyDevs": "每月開發者",
|
||||
"home.privacy.title": "隱私至上",
|
||||
"home.privacy.body": "OpenCode 不儲存你的程式碼或上下文資料,因此可以在注重隱私的環境中運作。",
|
||||
"home.privacy.learnMore": "了解更多關於",
|
||||
"home.privacy.link": "隱私",
|
||||
"home.faq.q1": "什麼是 OpenCode?",
|
||||
"home.faq.q2": "如何使用 OpenCode?",
|
||||
"home.faq.a2.before": "最簡單的方式是先閱讀",
|
||||
|
|
@ -536,27 +532,6 @@ export const dict = {
|
|||
"home.install.agentNote": "編碼代理也能幫你安裝。",
|
||||
"home.install.copyPrompt": "複製安裝提示詞",
|
||||
"home.openSource.builtInTheOpen": "公開打造",
|
||||
"home.signup.title": "搶先體驗",
|
||||
"home.signup.body": "新產品推出時,第一時間通知你。",
|
||||
"home.signup.placeholder": "你的電子郵件地址",
|
||||
"home.signup.label": "電子郵件地址",
|
||||
"home.signup.button": "通知我",
|
||||
"home.signup.sending": "傳送中…",
|
||||
"home.signup.subscribing": "訂閱中…",
|
||||
"home.signup.again": "使用其他地址",
|
||||
"home.signup.againLower": "使用其他地址",
|
||||
"home.signup.toSubscribe": "訂閱",
|
||||
"home.signup.tellFirst": "我們會第一時間寄信到 {{email}} 通知你。",
|
||||
"home.signup.onListAt": "已加入名單,信箱為",
|
||||
"home.signup.alreadyAt": "已在名單中,信箱為",
|
||||
"home.signup.empty": "請輸入你的電子郵件地址。",
|
||||
"home.signup.invalid": "請輸入完整的電子郵件地址,例如 you@example.com。",
|
||||
"home.signup.error": "送出失敗,請稍後再試。",
|
||||
"home.signup.subscribed": "你已加入名單。",
|
||||
"home.signup.already": "你已在名單中。",
|
||||
"home.signup.sentenceEmpty": "請先輸入你的地址。",
|
||||
"home.signup.sentenceInvalid": "這個地址看起來不完整。",
|
||||
"home.signup.sentenceError": "送出失敗,請再試一次。",
|
||||
"home.features.fewer": "收合功能",
|
||||
"home.features.all": "查看全部 {{count}} 項功能",
|
||||
"home.features.also": "還有",
|
||||
|
|
|
|||
|
|
@ -7,23 +7,20 @@ import { providerLogo } from "~/lib/providers"
|
|||
* - ChatGPT Plus/Pro and GitHub Copilot log-ins: the live home page ("Log in with OpenAI to use your
|
||||
* ChatGPT Plus or Pro account", "Log in with GitHub to use your Copilot account") and core
|
||||
* plugin/provider chatgpt.ts, github-copilot.ts.
|
||||
* - Claude Code log-in through Claude Agent: v2.2.3 release notes (the live site doesn't say it yet).
|
||||
* Claude Pro/Max OAuth isn't offered (docs providers#anthropic), and there's no Gemini
|
||||
* subscription log-in (Google takes an API key).
|
||||
* - No Anthropic or Gemini subscription log-in is listed (Google takes an API key).
|
||||
* - The model providers: the makers of the models in OpenCode Models and Go, from the live /zen and
|
||||
* /console/go pages.
|
||||
* /console/go pages. The section shows no Anthropic mark, so Anthropic is left out of this row.
|
||||
*/
|
||||
export const byos = {
|
||||
title: "Bring your own subscription",
|
||||
id: "bring-your-own-subs",
|
||||
headline: "Use the subscriptions you already have.",
|
||||
line: "Log in with ChatGPT Plus or Pro, GitHub Copilot or Claude Code. Or use an OpenCode subscription.",
|
||||
line: "Log in with ChatGPT Plus or Pro or GitHub Copilot. Or use an OpenCode subscription.",
|
||||
yours: {
|
||||
label: "Your subscription",
|
||||
items: [
|
||||
{ name: "ChatGPT Plus/Pro", logo: providerLogo("openai") },
|
||||
{ name: "GitHub Copilot", logo: providerLogo("github-copilot") },
|
||||
{ name: "Claude Code", logo: providerLogo("anthropic") },
|
||||
],
|
||||
},
|
||||
// "OpenCode subscription" (and "OpenCode Go") in the line link to the Console's subscriptions page.
|
||||
|
|
@ -32,7 +29,6 @@ export const byos = {
|
|||
ours: { label: "OpenCode plans" },
|
||||
// The makers of the models in OpenCode Models and Go.
|
||||
providers: [
|
||||
{ name: "Anthropic", id: "anthropic" },
|
||||
{ name: "OpenAI", id: "openai" },
|
||||
{ name: "Google", id: "google" },
|
||||
{ name: "xAI", id: "xai" },
|
||||
|
|
|
|||
|
|
@ -199,14 +199,6 @@ export function homeContent(t: Translate, route: (path: string) => string) {
|
|||
{ label: t("home.growth.monthlyDevs"), value: config.stats.monthlyUsers },
|
||||
],
|
||||
},
|
||||
privacy: {
|
||||
title: t("home.privacy.title"),
|
||||
body: [
|
||||
`${t("home.privacy.body")} `,
|
||||
{ text: `${t("home.privacy.learnMore")} ${t("home.privacy.link")}`, href: docs("/policies/") },
|
||||
".",
|
||||
] satisfies RichText,
|
||||
},
|
||||
console: {
|
||||
title: t("site.nav.console"),
|
||||
headline: t("home.console.headline"),
|
||||
|
|
|
|||
|
|
@ -44,8 +44,6 @@ export function homeMarkdown(context: MarkdownContext) {
|
|||
`## ${content.openSource.title}`,
|
||||
inlineHtmlToMarkdown(content.openSource.lead),
|
||||
content.openSource.stats.map((stat) => `- ${stat.label}: ${stat.value}`).join("\n"),
|
||||
`## ${content.privacy.title}`,
|
||||
richToMarkdown(content.privacy.body),
|
||||
`## ${content.faq.title}`,
|
||||
...content.faq.items.map((item) => blocks(`### ${item.question}`, richToMarkdown(item.answer)).trimEnd()),
|
||||
`## ${content.console.title}`,
|
||||
|
|
|
|||
|
|
@ -1,121 +0,0 @@
|
|||
import { z } from "zod"
|
||||
|
||||
// The newsletter lives in OpenSend (https://opensend.anoma.ly), on the "OpenCode - Newsletter
|
||||
// MASTER" list. Server-only: the key is OPENSEND_API_KEY, a secret on the site Worker.
|
||||
const api = "https://opensend.anoma.ly"
|
||||
export const newsletterList = "lst_83ab8cf3264d40e1b6b01fe5c2bd94bb"
|
||||
|
||||
export type SignupStatus = "subscribed" | "already" | "invalid" | "error"
|
||||
|
||||
export type Signup = {
|
||||
key: string
|
||||
email: string
|
||||
/** The page the form was sent from, recorded as consent evidence. */
|
||||
page: string
|
||||
at: Date
|
||||
fetch?: (url: string, init: RequestInit) => Promise<Response>
|
||||
}
|
||||
|
||||
const contact = z.object({
|
||||
id: z.string(),
|
||||
marketingConsent: z.enum(["unknown", "subscribed", "unsubscribed"]),
|
||||
suppressed: z.boolean(),
|
||||
suppressionReason: z.string().nullable(),
|
||||
// Only reads include memberships; a contact just created has none.
|
||||
listIds: z.array(z.string()).default([]),
|
||||
})
|
||||
const page = z.object({ data: z.array(contact) })
|
||||
const failure = z.object({
|
||||
error: z.object({ code: z.string(), field: z.string().optional(), requestId: z.string().optional() }),
|
||||
})
|
||||
|
||||
type Contact = z.infer<typeof contact>
|
||||
type Reply = { status: number; body: unknown }
|
||||
type Call = (method: string, path: string, body?: unknown) => Promise<Reply>
|
||||
|
||||
/**
|
||||
* Subscribes an address from a sign-up form: finds or creates its contact, records the form as
|
||||
* consent evidence and adds it to the newsletter list. Each write runs only when it's still
|
||||
* needed, so a retried submission changes nothing that already happened. (OpenSend's contact,
|
||||
* consent and list routes ignore Idempotency-Key; only sends honour it.)
|
||||
*
|
||||
* An address that unsubscribed or is suppressed (bounced, complained) is left alone: OpenSend
|
||||
* replaces an opt-out only on renewed, verifiable consent, which an unconfirmed form isn't, and
|
||||
* consent never lifts suppression.
|
||||
*/
|
||||
export async function subscribe(input: Signup): Promise<SignupStatus> {
|
||||
const call = caller(input)
|
||||
const found = await contactFor(call, input.email)
|
||||
if (typeof found === "string") return found
|
||||
if (found.suppressed || found.marketingConsent === "unsubscribed") {
|
||||
console.warn("OpenSend sign-up skipped:", found.id, found.suppressed ? found.suppressionReason : "unsubscribed")
|
||||
return "error"
|
||||
}
|
||||
const subscribed = found.marketingConsent === "subscribed"
|
||||
const listed = found.listIds.includes(newsletterList)
|
||||
if (!subscribed) {
|
||||
const consent = await call("POST", `/v1/contacts/${encodeURIComponent(found.id)}/consent`, {
|
||||
status: "subscribed",
|
||||
source: "opencode.ai sign-up form",
|
||||
evidence: `Submitted the newsletter sign-up form on ${input.page}`,
|
||||
occurredAt: input.at.toISOString(),
|
||||
})
|
||||
if (consent.status !== 200) return failed("record consent", consent)
|
||||
}
|
||||
if (!listed) {
|
||||
const added = await call("POST", `/v1/lists/${newsletterList}/members`, { contactIds: [found.id] })
|
||||
if (added.status !== 200) return failed("add the contact to the list", added)
|
||||
}
|
||||
return subscribed && listed ? "already" : "subscribed"
|
||||
}
|
||||
|
||||
async function contactFor(call: Call, email: string): Promise<Contact | "invalid" | "error"> {
|
||||
const existing = await lookup(call, email)
|
||||
if (existing !== undefined) return existing
|
||||
const created = await call("POST", "/v1/contacts", { email })
|
||||
if (created.status === 201) return contact.parse(created.body)
|
||||
if (rejectsEmail(created)) return "invalid"
|
||||
if (code(created) !== "CONTACT_EXISTS") return failed("create the contact", created)
|
||||
// Created since the lookup, or deleted: OpenSend keeps a deleted address's consent and
|
||||
// suppression, and only an import restores it.
|
||||
return (await lookup(call, email)) ?? failed("restore a deleted contact", created)
|
||||
}
|
||||
|
||||
async function lookup(call: Call, email: string) {
|
||||
const reply = await call("GET", `/v1/contacts?${new URLSearchParams({ email, limit: "1" })}`)
|
||||
if (rejectsEmail(reply)) return "invalid"
|
||||
if (reply.status !== 200) return failed("look up the contact", reply)
|
||||
return page.parse(reply.body).data[0]
|
||||
}
|
||||
|
||||
function caller(input: Signup): Call {
|
||||
const request = input.fetch ?? fetch
|
||||
return async (method, path, body) => {
|
||||
const response = await request(`${api}${path}`, {
|
||||
method,
|
||||
headers: {
|
||||
Authorization: `Bearer ${input.key}`,
|
||||
...(body === undefined ? {} : { "Content-Type": "application/json" }),
|
||||
},
|
||||
body: body === undefined ? undefined : JSON.stringify(body),
|
||||
signal: AbortSignal.timeout(10_000),
|
||||
}).catch(() => undefined)
|
||||
if (!response) return { status: 0, body: undefined }
|
||||
return { status: response.status, body: await response.json().catch(() => undefined) }
|
||||
}
|
||||
}
|
||||
|
||||
// OpenSend's own email check is stricter than the form's.
|
||||
function rejectsEmail(reply: Reply) {
|
||||
return reply.status >= 400 && reply.status < 500 && failure.safeParse(reply.body).data?.error.field === "email"
|
||||
}
|
||||
|
||||
function code(reply: Reply) {
|
||||
return failure.safeParse(reply.body).data?.error.code
|
||||
}
|
||||
|
||||
function failed(step: string, reply: Reply) {
|
||||
const error = failure.safeParse(reply.body).data?.error
|
||||
console.error(`OpenSend sign-up couldn't ${step}:`, reply.status || "no response", error?.code, error?.requestId)
|
||||
return "error" as const
|
||||
}
|
||||
|
|
@ -43,7 +43,6 @@ import { announcementsSource } from "~/i18n/content/areas/announcements"
|
|||
import "~/component/site/byos.css"
|
||||
import { getStarted } from "~/lib/get-started"
|
||||
import "~/component/site/get-started.css"
|
||||
import { SignupSection } from "~/component/site/signup"
|
||||
import { installs } from "~/component/site/product-data"
|
||||
import { isMobile } from "~/lib/platform"
|
||||
import { LocaleLinks } from "~/component/locale-links"
|
||||
|
|
@ -449,22 +448,6 @@ export default function Home() {
|
|||
</section>
|
||||
</Show>
|
||||
|
||||
<section
|
||||
data-component="block"
|
||||
data-section="privacy"
|
||||
data-design="privacyColumns spacer spacerLength spacerCount spacerStartDash spacerStartGap spacerCurve ditherHeight ditherOrientation ditherDirection ditherLength ditherPixel ditherPattern ditherDensity ditherOpacity ditherCurve ditherLine"
|
||||
data-columns={siteSettings.privacyColumns.charAt(0)}
|
||||
>
|
||||
<h2 data-slot="label" data-design-copy="home.privacy.title">
|
||||
{designCopy("home.privacy.title", content().privacy.title)}
|
||||
</h2>
|
||||
<div data-slot="body">
|
||||
<p data-slot="lead" data-design-copy="home.privacy.body">
|
||||
<Rich value={richCopy("home.privacy.body", content().privacy.body, content().copyLinks)} />
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section
|
||||
data-component="block"
|
||||
data-section="faq"
|
||||
|
|
@ -496,10 +479,6 @@ export default function Home() {
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<Show when={import.meta.env.DEV || siteSettings.signupSection === "on"}>
|
||||
<SignupSection />
|
||||
</Show>
|
||||
|
||||
<section
|
||||
data-component="block"
|
||||
data-section="console"
|
||||
|
|
@ -1129,7 +1108,7 @@ function GetStarted() {
|
|||
)}
|
||||
</For>
|
||||
</span>
|
||||
ChatGPT, Copilot, Claude Code
|
||||
ChatGPT, Copilot
|
||||
</span>
|
||||
<span data-slot="price">{i18n.t("home.getStarted.yourPlan")}</span>
|
||||
<ChevronRight />
|
||||
|
|
|
|||
|
|
@ -1,204 +0,0 @@
|
|||
import { describe, expect, test } from "bun:test"
|
||||
import { newsletterList, subscribe, type Signup } from "../src/lib/opensend"
|
||||
|
||||
type Contact = {
|
||||
id: string
|
||||
email: string
|
||||
marketingConsent: "unknown" | "subscribed" | "unsubscribed"
|
||||
suppressed: boolean
|
||||
suppressionReason: string | null
|
||||
deleted?: boolean
|
||||
listIds: string[]
|
||||
}
|
||||
type Sent = { method: string; path: string; authorization: string | null; body: unknown }
|
||||
|
||||
// A small stand-in for OpenSend's contact, consent and list routes, with the same rules: an
|
||||
// address has one contact even once deleted, and a prior opt-out isn't replaced without
|
||||
// confirmResubscribe.
|
||||
function openSend(contacts: Contact[] = [], fail?: (sent: Sent) => Response | undefined) {
|
||||
const sent: Sent[] = []
|
||||
const error = (status: number, code: string, field?: string) =>
|
||||
Response.json({ error: { code, message: code, requestId: "req_test", field, retryable: false } }, { status })
|
||||
const find = (id: string) => contacts.find((contact) => contact.id === id && !contact.deleted)
|
||||
const fetch = async (input: string, init: RequestInit) => {
|
||||
const url = new URL(input)
|
||||
const body = init.body ? JSON.parse(String(init.body)) : undefined
|
||||
const request = {
|
||||
method: init.method ?? "GET",
|
||||
path: url.pathname + url.search,
|
||||
authorization: new Headers(init.headers).get("authorization"),
|
||||
body,
|
||||
}
|
||||
sent.push(request)
|
||||
const failure = fail?.(request)
|
||||
if (failure) return failure
|
||||
if (url.origin !== "https://opensend.anoma.ly") return error(404, "NOT_FOUND")
|
||||
const route = `${request.method} ${url.pathname}`
|
||||
if (route === "GET /v1/contacts") {
|
||||
const email = url.searchParams.get("email")!
|
||||
if (!email.includes("@") || email.endsWith("@")) return error(422, "VALIDATION_FAILED", "email")
|
||||
return Response.json({ data: contacts.filter((c) => c.email === email && !c.deleted), nextCursor: null })
|
||||
}
|
||||
if (route === "POST /v1/contacts") {
|
||||
if (contacts.some((contact) => contact.email === body.email)) return error(409, "CONTACT_EXISTS")
|
||||
const contact: Contact = {
|
||||
id: `con_${contacts.length + 1}`,
|
||||
email: body.email,
|
||||
marketingConsent: "unknown",
|
||||
suppressed: false,
|
||||
suppressionReason: null,
|
||||
listIds: [],
|
||||
}
|
||||
contacts.push(contact)
|
||||
const { listIds, ...created } = contact
|
||||
return Response.json(created, { status: 201 })
|
||||
}
|
||||
const consent = url.pathname.match(/^\/v1\/contacts\/([^/]+)\/consent$/)
|
||||
if (request.method === "POST" && consent) {
|
||||
const contact = find(decodeURIComponent(consent[1]))
|
||||
if (!contact) return error(404, "NOT_FOUND")
|
||||
if (contact.marketingConsent === "unsubscribed" && !body.confirmResubscribe)
|
||||
return error(409, "RESUBSCRIBE_CONFIRMATION_REQUIRED", "confirmResubscribe")
|
||||
contact.marketingConsent = body.status
|
||||
return Response.json(contact)
|
||||
}
|
||||
const members = url.pathname.match(/^\/v1\/lists\/([^/]+)\/members$/)
|
||||
if (request.method === "POST" && members) {
|
||||
const added = body.contactIds.filter((id: string) => {
|
||||
const contact = find(id)!
|
||||
if (contact.listIds.includes(members[1])) return false
|
||||
contact.listIds.push(members[1])
|
||||
return true
|
||||
})
|
||||
return Response.json({ added: added.length })
|
||||
}
|
||||
return error(404, "NOT_FOUND")
|
||||
}
|
||||
return { contacts, sent, fetch }
|
||||
}
|
||||
|
||||
const at = new Date("2026-11-06T12:00:00.000Z")
|
||||
const signup = (server: ReturnType<typeof openSend>, email = "new@example.com"): Signup => ({
|
||||
key: "os_test_key",
|
||||
email,
|
||||
page: "https://opencode.ai/",
|
||||
at,
|
||||
fetch: server.fetch,
|
||||
})
|
||||
const contact = (patch: Partial<Contact>): Contact => ({
|
||||
id: "con_existing",
|
||||
email: "known@example.com",
|
||||
marketingConsent: "subscribed",
|
||||
suppressed: false,
|
||||
suppressionReason: null,
|
||||
listIds: [],
|
||||
...patch,
|
||||
})
|
||||
const routes = (sent: Sent[]) => sent.map((request) => `${request.method} ${request.path}`)
|
||||
|
||||
describe("OpenSend sign-up", () => {
|
||||
test("creates the contact, records consent from the form and adds it to the newsletter list", async () => {
|
||||
const server = openSend()
|
||||
expect(await subscribe(signup(server))).toBe("subscribed")
|
||||
expect(server.sent).toEqual([
|
||||
{
|
||||
method: "GET",
|
||||
path: "/v1/contacts?email=new%40example.com&limit=1",
|
||||
authorization: "Bearer os_test_key",
|
||||
body: undefined,
|
||||
},
|
||||
{ method: "POST", path: "/v1/contacts", authorization: "Bearer os_test_key", body: { email: "new@example.com" } },
|
||||
{
|
||||
method: "POST",
|
||||
path: "/v1/contacts/con_1/consent",
|
||||
authorization: "Bearer os_test_key",
|
||||
body: {
|
||||
status: "subscribed",
|
||||
source: "opencode.ai sign-up form",
|
||||
evidence: "Submitted the newsletter sign-up form on https://opencode.ai/",
|
||||
occurredAt: "2026-11-06T12:00:00.000Z",
|
||||
},
|
||||
},
|
||||
{
|
||||
method: "POST",
|
||||
path: `/v1/lists/${newsletterList}/members`,
|
||||
authorization: "Bearer os_test_key",
|
||||
body: { contactIds: ["con_1"] },
|
||||
},
|
||||
])
|
||||
expect(server.contacts[0]).toMatchObject({ marketingConsent: "subscribed", listIds: [newsletterList] })
|
||||
})
|
||||
|
||||
test("a repeated sign-up writes nothing and says the address is already on the list", async () => {
|
||||
const server = openSend()
|
||||
await subscribe(signup(server))
|
||||
server.sent.length = 0
|
||||
expect(await subscribe(signup(server))).toBe("already")
|
||||
expect(routes(server.sent)).toEqual(["GET /v1/contacts?email=new%40example.com&limit=1"])
|
||||
})
|
||||
|
||||
test("adds a subscribed contact from another list without recording consent again", async () => {
|
||||
const server = openSend([contact({ listIds: ["lst_other"] })])
|
||||
expect(await subscribe(signup(server, "known@example.com"))).toBe("subscribed")
|
||||
expect(routes(server.sent)).toEqual([
|
||||
"GET /v1/contacts?email=known%40example.com&limit=1",
|
||||
`POST /v1/lists/${newsletterList}/members`,
|
||||
])
|
||||
})
|
||||
|
||||
test("records consent for a listed contact whose consent was unknown", async () => {
|
||||
const server = openSend([contact({ marketingConsent: "unknown", listIds: [newsletterList] })])
|
||||
expect(await subscribe(signup(server, "known@example.com"))).toBe("subscribed")
|
||||
expect(routes(server.sent)).toEqual([
|
||||
"GET /v1/contacts?email=known%40example.com&limit=1",
|
||||
"POST /v1/contacts/con_existing/consent",
|
||||
])
|
||||
})
|
||||
|
||||
test("leaves unsubscribed and suppressed addresses alone", async () => {
|
||||
for (const existing of [
|
||||
contact({ marketingConsent: "unsubscribed", listIds: [newsletterList] }),
|
||||
contact({ suppressed: true, suppressionReason: "hard_bounce" }),
|
||||
]) {
|
||||
const server = openSend([existing])
|
||||
expect(await subscribe(signup(server, "known@example.com"))).toBe("error")
|
||||
expect(routes(server.sent)).toEqual(["GET /v1/contacts?email=known%40example.com&limit=1"])
|
||||
}
|
||||
})
|
||||
|
||||
test("an address OpenSend rejects is invalid", async () => {
|
||||
const server = openSend()
|
||||
expect(await subscribe(signup(server, "someone@"))).toBe("invalid")
|
||||
})
|
||||
|
||||
test("uses the contact another request created between the lookup and the create", async () => {
|
||||
const server = openSend([], (request) => {
|
||||
if (request.method === "GET" && server.sent.length === 1) return Response.json({ data: [], nextCursor: null })
|
||||
})
|
||||
server.contacts.push(contact({ email: "new@example.com", marketingConsent: "unknown" }))
|
||||
expect(await subscribe(signup(server))).toBe("subscribed")
|
||||
expect(routes(server.sent)).toEqual([
|
||||
"GET /v1/contacts?email=new%40example.com&limit=1",
|
||||
"POST /v1/contacts",
|
||||
"GET /v1/contacts?email=new%40example.com&limit=1",
|
||||
"POST /v1/contacts/con_existing/consent",
|
||||
`POST /v1/lists/${newsletterList}/members`,
|
||||
])
|
||||
})
|
||||
|
||||
test("a deleted address can't sign up again from the form", async () => {
|
||||
const server = openSend([contact({ email: "new@example.com", deleted: true })])
|
||||
expect(await subscribe(signup(server))).toBe("error")
|
||||
})
|
||||
|
||||
test("fails when OpenSend is down or refuses a step", async () => {
|
||||
const down = openSend([], () => Response.json({}, { status: 503 }))
|
||||
expect(await subscribe(signup(down))).toBe("error")
|
||||
const offline = { ...signup(openSend()), fetch: () => Promise.reject(new Error("offline")) }
|
||||
expect(await subscribe(offline)).toBe("error")
|
||||
const refused = openSend([], (request) =>
|
||||
request.path.endsWith("/members") ? Response.json({}, { status: 500 }) : undefined,
|
||||
)
|
||||
expect(await subscribe(signup(refused))).toBe("error")
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Reference in a new issue