From 8acaea30568228c7b4413f3bb0b907c92b55c5a1 Mon Sep 17 00:00:00 2001 From: Yigit Gurbulak Date: Thu, 8 Oct 2026 00:52:53 +0300 Subject: [PATCH 1/2] feat(contact): add discord link Co-Authored-By: Claude Opus 5.5 --- app/llms-full.txt/route.ts | 2 +- components/site/Contact.tsx | 29 +++++++++++++++++++++++++++-- docs/docs.json | 6 ++++-- lib/links.ts | 1 + lib/schema.test.ts | 11 ++++++++++- lib/schema.ts | 2 +- 6 files changed, 44 insertions(+), 7 deletions(-) diff --git a/app/llms-full.txt/route.ts b/app/llms-full.txt/route.ts index 546f478c..a957e4b8 100644 --- a/app/llms-full.txt/route.ts +++ b/app/llms-full.txt/route.ts @@ -230,7 +230,7 @@ ${CONTACT_HEADLINE.join(" ")} ${CONTACT_LEAD} -Email ${EMAIL} · GitHub ${links.github} · X ${links.x} · LinkedIn ${links.linkedin} +Email ${EMAIL} · GitHub ${links.github} · X ${links.x} · LinkedIn ${links.linkedin} · Discord ${links.discord} ## Field notes diff --git a/components/site/Contact.tsx b/components/site/Contact.tsx index 9f564ef4..10295c04 100644 --- a/components/site/Contact.tsx +++ b/components/site/Contact.tsx @@ -11,8 +11,8 @@ import { FleetStatus } from "@/components/site/FleetStatus"; // shrink-0 keeps the box from compressing in the inline-flex link. The // envelope is an original geometric glyph; the X and LinkedIn glyphs are from // Simple Icons (CC0 / public domain) — the marks are trademarks of their -// owners, shown nominatively as links to our own profiles. The GitHub glyph is -// likewise from Simple Icons (CC0 / public domain). +// owners, shown nominatively as links to our own profiles. The GitHub and +// Discord glyphs are likewise from Simple Icons (CC0 / public domain). const iconClass = "size-[1.05em] shrink-0"; function MailIcon() { @@ -57,6 +57,19 @@ function GitHubIcon() { ); } +function DiscordIcon() { + return ( + + + + ); +} + function XIcon() { return ( + + + discord + + → + + diff --git a/docs/docs.json b/docs/docs.json index b777a521..edeb869e 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -35,7 +35,8 @@ "sameAs": [ "https://github.com/decdn", "https://x.com/decdn_", - "https://www.linkedin.com/company/decdn" + "https://www.linkedin.com/company/decdn", + "https://discord.gg/HeJt6nvkk4" ] } }, @@ -96,7 +97,8 @@ "website": "https://decdn.org", "github": "https://github.com/decdn", "x": "https://x.com/decdn_", - "linkedin": "https://www.linkedin.com/company/decdn" + "linkedin": "https://www.linkedin.com/company/decdn", + "discord": "https://discord.gg/HeJt6nvkk4" }, "links": [ { diff --git a/lib/links.ts b/lib/links.ts index 1b595b85..5647f7ed 100644 --- a/lib/links.ts +++ b/lib/links.ts @@ -5,6 +5,7 @@ export const links = { github: "https://github.com/decdn", x: "https://x.com/decdn_", linkedin: "https://www.linkedin.com/company/decdn", + discord: "https://discord.gg/HeJt6nvkk4", litepaper: "/decdn_litepaper.pdf", presskit: "/presskit/decdn-presskit.zip", docs: "https://docs.decdn.org/overview/introduction", diff --git a/lib/schema.test.ts b/lib/schema.test.ts index 12ad171e..315397aa 100644 --- a/lib/schema.test.ts +++ b/lib/schema.test.ts @@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest"; import { blogPostingNode, listPosts, postImageUrl } from "./blog"; import { FAQ_ITEMS } from "./faq"; import { getLegalDoc, LEGAL_SLUGS } from "./legal"; -import { EMAIL, ORG_ID, SERVICE_ID, SITE_ID } from "./links"; +import { EMAIL, links, ORG_ID, SERVICE_ID, SITE_ID } from "./links"; import { blogNode, breadcrumbNode, @@ -25,6 +25,15 @@ describe("site-level @ids", () => { expect(faqPageNode["@id"]).toBe("https://decdn.org/#faq"); }); + it("lists every social profile as sameAs", () => { + expect(organizationNode.sameAs).toEqual([ + links.github, + links.x, + links.linkedin, + links.discord, + ]); + }); + it("builds each node from the shared constant", () => { expect(organizationNode["@id"]).toBe(ORG_ID); expect(websiteNode["@id"]).toBe(SITE_ID); diff --git a/lib/schema.ts b/lib/schema.ts index 83574280..7c1ae321 100644 --- a/lib/schema.ts +++ b/lib/schema.ts @@ -37,7 +37,7 @@ export const organizationNode: Schema<"Organization"> = { description: "Organization developing deCDN, a decentralized content delivery network with per-megabyte settlement in USDC.", email: EMAIL, - sameAs: [links.github, links.x, links.linkedin], + sameAs: [links.github, links.x, links.linkedin, links.discord], }; export const websiteNode: Schema<"WebSite"> = { From 75bfffd9f75143727c93ef6e3ec05103c0a36ec7 Mon Sep 17 00:00:00 2001 From: Yigit Gurbulak Date: Thu, 8 Oct 2026 01:09:37 +0300 Subject: [PATCH 2/2] fix(contact): update discord invite Co-Authored-By: Claude Opus 5.5 --- docs/docs.json | 4 ++-- lib/links.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index edeb869e..8cd5c23d 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -36,7 +36,7 @@ "https://github.com/decdn", "https://x.com/decdn_", "https://www.linkedin.com/company/decdn", - "https://discord.gg/HeJt6nvkk4" + "https://discord.gg/vVbNswKVGX" ] } }, @@ -98,7 +98,7 @@ "github": "https://github.com/decdn", "x": "https://x.com/decdn_", "linkedin": "https://www.linkedin.com/company/decdn", - "discord": "https://discord.gg/HeJt6nvkk4" + "discord": "https://discord.gg/vVbNswKVGX" }, "links": [ { diff --git a/lib/links.ts b/lib/links.ts index 5647f7ed..d1a29c65 100644 --- a/lib/links.ts +++ b/lib/links.ts @@ -5,7 +5,7 @@ export const links = { github: "https://github.com/decdn", x: "https://x.com/decdn_", linkedin: "https://www.linkedin.com/company/decdn", - discord: "https://discord.gg/HeJt6nvkk4", + discord: "https://discord.gg/vVbNswKVGX", litepaper: "/decdn_litepaper.pdf", presskit: "/presskit/decdn-presskit.zip", docs: "https://docs.decdn.org/overview/introduction",