Repository navigation
feat(site): add a stable /slack link and Slack community calls to action - #1616
Merged
Merged
Conversation
The site gets a stable <site>/slack/ path. It redirects to the current Slack community invite. The invite URL is in one place in astro.config.mjs, so a new invite changes one line. GitHub Pages has no server redirects, so Astro writes a static page that redirects at once. The landing page gets a "Join the community" module before Start. The footer of every marketing page gets a "Join our Slack community" button. Both point at /slack/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A lime bar at the top of the sticky masthead links to /slack/ on every marketing page. It is part of the masthead, so it stays in view while the page scrolls, and --masthead-h includes its height for the sticky offsets, the menu panel, and the hero height. On a phone it shows a shorter label. A dark gap keeps the bar apart from the lime in the stripe below it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review feedback on the banner and the community module: - The banner is now orange and sits above the masthead, so it scrolls away with the page. A visitor can close it. The choice is kept in localStorage, and a head script hides the banner before first paint, so a closed banner does not flash on the next page. - --masthead-h no longer includes the banner. The hero subtracts --banner-h (0 when closed), and the phone menu panel starts where the masthead ends when it opens. - The "Join the Slack" button in the community module uses the outline style, so "Run it locally" stays the only lime action at the bottom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review feedback: the Slack link does not belong in the Cortex strip. It is now a plain link after Architecture, Compare, Docs, and GitHub, in the same style. The footer nav wraps, so the longer row fits on a phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
<site>/slack/. It redirects to the current Slack community invite. The invite URL is in one place (site/astro.config.mjs), so a new invite changes one line. GitHub Pages has no server redirects, so Astro writes a static page with an immediate meta refresh.All CTAs point at
/slack/, not at the invite URL.Validation
pnpm buildinsite/passes (leak and style lint,astro check, build, link validator).dist/slack/index.htmlredirects to the invite. In a browser,/slack/goes tojoin.slack.com.🤖 Generated with Claude Code