summaryrefslogtreecommitdiffhomepage
path: root/packages/console/app/src
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-09 20:18:42 -0600
committerAdam <[email protected]>2026-01-09 20:18:42 -0600
commite30562d5f4e7bf4b76c6453fa3904d0dc753081d (patch)
treee4f88fc5b43c5395c4bf962d8cac3fffa3aff7b8 /packages/console/app/src
parent7c06ef24772bb787232fd560c25d08b1dcf31af9 (diff)
downloadopencode-e30562d5f4e7bf4b76c6453fa3904d0dc753081d.tar.gz
opencode-e30562d5f4e7bf4b76c6453fa3904d0dc753081d.zip
chore: prep
Diffstat (limited to 'packages/console/app/src')
-rw-r--r--packages/console/app/src/routes/black/index.css26
-rw-r--r--packages/console/app/src/routes/black/index.tsx24
2 files changed, 45 insertions, 5 deletions
diff --git a/packages/console/app/src/routes/black/index.css b/packages/console/app/src/routes/black/index.css
index 737cfca90..eb0ec87d3 100644
--- a/packages/console/app/src/routes/black/index.css
+++ b/packages/console/app/src/routes/black/index.css
@@ -105,6 +105,32 @@
transform: scale(0.98);
}
}
+ [data-slot="back-soon"] {
+ color: rgba(255, 255, 255, 0.59);
+ text-align: center;
+ font-size: 13px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 160%; /* 20.8px */
+ }
+ [data-slot="follow-us"] {
+ display: inline-flex;
+ height: 40px;
+ padding: 0 12px;
+ justify-content: center;
+ align-items: center;
+ gap: 8px;
+ border-radius: 4px;
+ border: 1px solid rgba(255, 255, 255, 0.17);
+ color: rgba(255, 255, 255, 0.59);
+ font-family: "JetBrains Mono Nerd Font";
+ font-size: 14px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: normal;
+ text-decoration: none;
+ }
+
[data-slot="fine-print"] {
color: rgba(255, 255, 255, 0.39);
text-align: center;
diff --git a/packages/console/app/src/routes/black/index.tsx b/packages/console/app/src/routes/black/index.tsx
index 6fa2cbb5f..c83ccd251 100644
--- a/packages/console/app/src/routes/black/index.tsx
+++ b/packages/console/app/src/routes/black/index.tsx
@@ -2,7 +2,7 @@ import { A, createAsync } from "@solidjs/router"
import "./index.css"
import { Title } from "@solidjs/meta"
import { github } from "~/lib/github"
-import { createMemo } from "solid-js"
+import { createMemo, Match, Switch } from "solid-js"
import { config } from "~/config"
export default function Black() {
@@ -15,6 +15,10 @@ export default function Black() {
}).format(githubData()!.stars!)
: config.github.starsFormatted.compact,
)
+
+ // TODO: Frank, toggle this based on availability
+ const available = false
+
return (
<div data-page="black">
<Title>opencode</Title>
@@ -143,10 +147,20 @@ export default function Black() {
</p>
<p data-slot="subheading">Including Claude, GPT, Gemini, and more</p>
</div>
- <a href="/black/subscribe" data-slot="button">
- Subscribe $200/mo
- </a>
- <p data-slot="fine-print">Fair usage limits apply</p>
+ <Switch>
+ <Match when={available}>
+ <a href="/black/subscribe" data-slot="button">
+ Subscribe $200/mo
+ </a>
+ <p data-slot="fine-print">Fair usage limits apply</p>
+ </Match>
+ <Match when={!available}>
+ <p data-slot="back-soon">We’ll be back soon with more availability.</p>
+ <a data-slot="follow-us" href="https://x.com/opencode" target="_blank">
+ Follow @opencode
+ </a>
+ </Match>
+ </Switch>
</section>
</main>
<footer data-component="footer">