From 79f6756239105164eac7aa5618844ffd9bdf41e5 Mon Sep 17 00:00:00 2001
From: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Date: Sat, 10 Oct 2026 00:00:09 -0700
Subject: [PATCH] docs(website): link the Discord community and REA on X
(#1469)
Add an X link beside the GitHub and Discord header icons on every content
page, name the footer links "Join the community" and "Follow us on X", and
close the homepage with a "Join the community" section.
On narrow screens, pad the footer so the floating Top link no longer
covers its last row of links.
Co-authored-by: Claude Opus 5.5
---
website/README.md | 4 +-
website/public/assets/styles.css | 12 ++++--
website/public/examples/dino-lab/index.html | 22 +++++++++-
website/public/faq/index.html | 22 +++++++++-
website/public/first-investigation/index.html | 22 +++++++++-
website/public/get-started/index.html | 22 +++++++++-
website/public/guides/browser/index.html | 22 +++++++++-
website/public/guides/index.html | 22 +++++++++-
website/public/guides/javascript/index.html | 22 +++++++++-
website/public/guides/native/index.html | 22 +++++++++-
website/public/index.html | 40 ++++++++++++++++++-
website/public/showcase/aegis/index.html | 22 +++++++++-
website/public/showcase/ctf/index.html | 22 +++++++++-
website/public/showcase/dx-ball/index.html | 22 +++++++++-
website/public/showcase/index.html | 22 +++++++++-
website/public/showcase/notion/index.html | 22 +++++++++-
website/public/showcase/th04/index.html | 22 +++++++++-
17 files changed, 345 insertions(+), 19 deletions(-)
diff --git a/website/README.md b/website/README.md
index 2005c633d..4262ccb24 100644
--- a/website/README.md
+++ b/website/README.md
@@ -181,7 +181,9 @@ the analysis guides. Case-study previews live on the Showcases page.
The closing section offers copyable project prompts, from cloning `rea.tools`
to reconstructing a game from its executable. The experienced-reader shortcut
lands directly on the guide links below these prompts.
-The page ends with FAQ, Discord and issue-report links under “Any questions?”.
+“Any questions?” offers FAQ, Discord and issue-report links. The page ends
+with “Join the community”, which links Discord and REA's X account.
+Every content page's header and footer link GitHub, Discord and X.
A right-side table of contents stays visible at widths of 1440px and above.
On narrower screens it becomes a sticky, native disclosure; selecting a link
closes the menu and focuses the destination. The homepage script follows
diff --git a/website/public/assets/styles.css b/website/public/assets/styles.css
index fb7093b9e..2020fd5f8 100644
--- a/website/public/assets/styles.css
+++ b/website/public/assets/styles.css
@@ -178,7 +178,8 @@ section[id] {
gap: 8px;
}
.nav-github,
-.nav-discord {
+.nav-discord,
+.nav-x {
display: inline-flex;
align-items: center;
justify-content: center;
@@ -192,12 +193,14 @@ section[id] {
text-decoration: none;
}
.nav-github:hover,
-.nav-discord:hover {
+.nav-discord:hover,
+.nav-x:hover {
background: var(--soft);
color: var(--ink);
}
.nav-github svg,
-.nav-discord svg {
+.nav-discord svg,
+.nav-x svg {
display: block;
flex-shrink: 0;
}
@@ -2117,6 +2120,9 @@ pre code {
right: calc(1rem + env(safe-area-inset-right, 0px));
bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
+ .site-footer {
+ padding-bottom: calc(2rem + 44px + env(safe-area-inset-bottom, 0px));
+ }
.container {
width: calc(100% - 2.5rem);
}
diff --git a/website/public/examples/dino-lab/index.html b/website/public/examples/dino-lab/index.html
index bfae79460..d0bc84c76 100644
--- a/website/public/examples/dino-lab/index.html
+++ b/website/public/examples/dino-lab/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -383,7 +402,8 @@
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/faq/index.html b/website/public/faq/index.html
index 60fe1183d..fa4a64a83 100644
--- a/website/public/faq/index.html
+++ b/website/public/faq/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -482,7 +501,8 @@
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/first-investigation/index.html b/website/public/first-investigation/index.html
index 349ece913..a642735c2 100644
--- a/website/public/first-investigation/index.html
+++ b/website/public/first-investigation/index.html
@@ -106,6 +106,25 @@
/>
+
+
+
@@ -420,7 +439,8 @@ JS
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/get-started/index.html b/website/public/get-started/index.html
index b86987e9e..d13ad67ba 100644
--- a/website/public/get-started/index.html
+++ b/website/public/get-started/index.html
@@ -106,6 +106,25 @@
/>
+
+
+
@@ -479,7 +498,8 @@ npx rea-agents@latest setup
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/guides/browser/index.html b/website/public/guides/browser/index.html
index 95a0aaaae..b1567f9f1 100644
--- a/website/public/guides/browser/index.html
+++ b/website/public/guides/browser/index.html
@@ -100,6 +100,25 @@
/>
+
+
+
@@ -403,7 +422,8 @@ link.click();
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/guides/index.html b/website/public/guides/index.html
index babd58bdf..eeed0e7f1 100644
--- a/website/public/guides/index.html
+++ b/website/public/guides/index.html
@@ -100,6 +100,25 @@
/>
+
+
+
@@ -186,7 +205,8 @@
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/guides/javascript/index.html b/website/public/guides/javascript/index.html
index 5212b579d..8e77022fe 100644
--- a/website/public/guides/javascript/index.html
+++ b/website/public/guides/javascript/index.html
@@ -106,6 +106,25 @@
/>
+
+
+
@@ -405,7 +424,8 @@
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/guides/native/index.html b/website/public/guides/native/index.html
index a0e19caf5..f3c4a658a 100644
--- a/website/public/guides/native/index.html
+++ b/website/public/guides/native/index.html
@@ -100,6 +100,25 @@
/>
+
+
+
@@ -335,7 +354,8 @@ return (DxBallInt)pan;
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/index.html b/website/public/index.html
index 0282d64de..11d70c1d9 100644
--- a/website/public/index.html
+++ b/website/public/index.html
@@ -109,6 +109,25 @@
/>
+
+
+
@@ -134,6 +153,7 @@
Try REA
Go deeper
Help & feedback
+ Community
@@ -1052,6 +1072,23 @@ SPEED: 6
+
diff --git a/website/public/showcase/aegis/index.html b/website/public/showcase/aegis/index.html
index 05a230501..7949addfd 100644
--- a/website/public/showcase/aegis/index.html
+++ b/website/public/showcase/aegis/index.html
@@ -108,6 +108,25 @@
/>
+
+
+
@@ -718,7 +737,8 @@ npx rea-agents@latest inspect-android-package \
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/showcase/ctf/index.html b/website/public/showcase/ctf/index.html
index ed2002924..afe735fee 100644
--- a/website/public/showcase/ctf/index.html
+++ b/website/public/showcase/ctf/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -688,7 +707,8 @@ chmod +x ms_flag_checker
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/showcase/dx-ball/index.html b/website/public/showcase/dx-ball/index.html
index d47449978..d89d2bf5b 100644
--- a/website/public/showcase/dx-ball/index.html
+++ b/website/public/showcase/dx-ball/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -696,7 +715,8 @@
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/showcase/index.html b/website/public/showcase/index.html
index f0a537f69..168afcde9 100644
--- a/website/public/showcase/index.html
+++ b/website/public/showcase/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -228,7 +247,8 @@
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/showcase/notion/index.html b/website/public/showcase/notion/index.html
index 5120d8ca6..c276d16c9 100644
--- a/website/public/showcase/notion/index.html
+++ b/website/public/showcase/notion/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -534,7 +553,8 @@ mimeTypes:
SourceMIT licenseCommunity
+ >Join the communityFollow us on X
diff --git a/website/public/showcase/th04/index.html b/website/public/showcase/th04/index.html
index e08f8f2a3..9a89af639 100644
--- a/website/public/showcase/th04/index.html
+++ b/website/public/showcase/th04/index.html
@@ -107,6 +107,25 @@
/>
+
+
+
@@ -711,7 +730,8 @@ no_aim:
SourceMIT licenseCommunity
+ >Join the communityFollow us on X