diff options
| author | Jay V <[email protected]> | 2025-09-10 11:47:29 -1000 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-09-10 11:47:41 -1000 |
| commit | 7b95190df3e8e5e8f11c7c9eb83fdad8f64e3c70 (patch) | |
| tree | 50333c8eda7a299d86a1a3fbd61ce4e5184d9898 | |
| parent | fa3e7bb9b08f650ebdbaba847fac23ab313c668f (diff) | |
| download | opencode-7b95190df3e8e5e8f11c7c9eb83fdad8f64e3c70.tar.gz opencode-7b95190df3e8e5e8f11c7c9eb83fdad8f64e3c70.zip | |
docs: add twitter
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | cloud/app/src/routes/index.css | 28 | ||||
| -rw-r--r-- | cloud/app/src/routes/index.tsx | 19 |
3 files changed, 24 insertions, 25 deletions
@@ -107,4 +107,4 @@ The other confusingly named repo has no relation to this one. You can [read the --- -**Join our community** [Discord](https://discord.gg/opencode) | [YouTube](https://www.youtube.com/c/sst-dev) | [X.com](https://x.com/anomaly_inv) +**Join our community** [Discord](https://discord.gg/opencode) | [X.com](https://x.com/opencode) diff --git a/cloud/app/src/routes/index.css b/cloud/app/src/routes/index.css index 02c730b12..1e8b25176 100644 --- a/cloud/app/src/routes/index.css +++ b/cloud/app/src/routes/index.css @@ -29,6 +29,9 @@ --heading-font-size: 1rem; } + display: flex; + gap: var(--vertical-padding); + flex-direction: column; font-family: var(--font-mono); color: var(--color-text); padding: calc(var(--padding) + 1rem); @@ -440,22 +443,8 @@ border-left: 1px solid var(--color-border); } - /* Small desktop: first two columns shrink to content, third expands */ - @media (max-width: 57rem) { - [data-slot="cell"]:nth-child(1), - [data-slot="cell"]:nth-child(2) { - flex: 0 0 auto; - padding-left: calc(var(--padding) / 2); - padding-right: calc(var(--padding) / 2); - } - - [data-slot="cell"]:nth-child(3) { - flex: 1; - } - } - /* Mobile: third column on its own row */ - @media (max-width: 40rem) { + @media (max-width: 30rem) { flex-wrap: wrap; [data-slot="cell"]:nth-child(1), @@ -470,4 +459,13 @@ } } } + + [data-component="legal"] { + color: var(--color-text-dimmed); + text-align: center; + + a { + color: var(--color-text-dimmed); + } + } } diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index fe355d79e..6ad6487eb 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -1,13 +1,11 @@ import "./index.css" import { Title } from "@solidjs/meta" -import { Match, onCleanup, onMount, Switch } from "solid-js" +import { onCleanup, onMount } from "solid-js" import logoLight from "../asset/logo-ornate-light.svg" import logoDark from "../asset/logo-ornate-dark.svg" import IMG_SPLASH from "../asset/lander/screenshot-splash.png" -import IMG_VSCODE from "../asset/lander/screenshot-vscode.png" -import IMG_GITHUB from "../asset/lander/screenshot-github.png" import { IconCopy, IconCheck } from "../component/icon" -import { createAsync, query, redirect, A } from "@solidjs/router" +import { createAsync, query } from "@solidjs/router" import { getActor } from "~/context/auth" import { withActor } from "~/context/auth.withActor" import { Account } from "@opencode/cloud-core/account.js" @@ -157,18 +155,21 @@ export default function Home() { <footer data-component="footer"> <div data-slot="cell"> - <a href="https://github.com/sst/opencode">GitHub</a> + <a href="https://x.com/opencode">X.com</a> </div> <div data-slot="cell"> - <a href="https://opencode.ai/discord">Discord</a> + <a href="https://github.com/sst/opencode">GitHub</a> </div> <div data-slot="cell"> - <span> - ©2025 <a href="https://anoma.ly">Anomaly Innovations</a> - </span> + <a href="https://opencode.ai/discord">Discord</a> </div> </footer> </div> + <div data-component="legal"> + <span> + ©2025 <a href="https://anoma.ly">Anomaly Innovations</a> + </span> + </div> </main> ) } |
