Repository navigation
Add Discord community CTA across web, book, and README - #226
Merged
Merged
Conversation
Surfaces the AIMX Discord (https://discord.gg/esWwA3YfK8) on the marketing site (topnav, hero, bottom page-cta, footer), in the book menu bar on every page, and in the top-level README so it is reachable from every entry point. Hero "Read the book" stays primary; Discord is a secondary CTA styled in Discord blurple (#5865F2) so it signals as the main community channel without outranking the product funnel.
The plain 'community' text link blended in with the other monospace nav items. Replace it with a Discord-blurple pill (icon + 'Discord' label) and move it to the end of the nav so it reads as the standout community CTA in the header.
… row Folds the standalone Discord shields badge into the new badge row so all badges sit together below the pitch (Discord first, then CI, release, downloads, platform, license). All use style=flat-square for visual consistency. Discord prose CTA remains directly below the row.
Use var(--ink) for the GitHub pill background (matches .btn.primary) so the two pills sit side by side at the right of the nav as balanced community CTAs. Hover swaps to the accent color, mirroring the rest of the site's hover treatment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://discord.gg/esWwA3YfK8) on the marketing site (topnavcommunitylink, hero secondary button, bottom page-cta button + inline link, footer link).{{fa "brands" "discord"}}via the existing FA helper) so it appears on every book page next to the GitHub repo link.README.md..btn.discordmodifier in Discord brand blurple (#5865F2/#4752C4hover) — Discord pops as the community channel without unseating "Read the book" as the hero's primary CTA.Test plan
cd website && makebuilds without new warningswebsite/dist/index.htmllocally and confirm: topnavcommunitylink, hero shows three buttons (Read the bookprimary, blurpleJoin Discord,Check out the code), bottom page-cta has bothGet started(dark) andJoin Discord(blurple), footer showsJoin the Discordwebsite/dist/book/<any-page>.htmland confirm the Discord icon renders in the menu bar (right side, before the GitHub repo icon)website/dist/book/index.htmland confirm the centered "Join the AIMX Discord →" callout under the intro paragraphREADME.mdon the PR page and confirm the Discord badge sits below the CAUTION block and the centered prose link sits below the description block