summaryrefslogtreecommitdiffhomepage
path: root/packages/web
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-07-07 14:44:37 -0400
committerJay V <[email protected]>2025-07-07 14:44:37 -0400
commit76b2e4539cb97bae5812ed2d832ce49d02e70c64 (patch)
treec4aa3b81f1f8f1a42009c81d3e6d653839cf9218 /packages/web
parentd87922c0eb83e335a654f091f560262337b7fcfe (diff)
downloadopencode-76b2e4539cb97bae5812ed2d832ce49d02e70c64.tar.gz
opencode-76b2e4539cb97bae5812ed2d832ce49d02e70c64.zip
docs: discord
Diffstat (limited to 'packages/web')
-rw-r--r--packages/web/astro.config.mjs5
-rw-r--r--packages/web/config.mjs1
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs
index 0c3a5ecc5..5095edc5c 100644
--- a/packages/web/astro.config.mjs
+++ b/packages/web/astro.config.mjs
@@ -31,7 +31,10 @@ export default defineConfig({
starlight({
title: "opencode",
expressiveCode: { themes: ["github-light", "github-dark"] },
- social: [{ icon: "github", label: "GitHub", href: config.github }],
+ social: [
+ { icon: "github", label: "GitHub", href: config.github },
+ { icon: "discord", label: "Dscord", href: config.discord }
+ ],
head: [
{
tag: "link",
diff --git a/packages/web/config.mjs b/packages/web/config.mjs
index b6ec26e37..f4c2fe994 100644
--- a/packages/web/config.mjs
+++ b/packages/web/config.mjs
@@ -2,6 +2,7 @@ export default {
url: "https://opencode.ai",
socialCard: "https://social-cards.sst.dev",
github: "https://github.com/sst/opencode",
+ discord: "https://discord.gg/opencode",
headerLinks: [
{ name: "Home", url: "/" },
{ name: "Docs", url: "/docs/" },