feat(www): add /github landing page for the GitHub App#299
Draft
peaktwilight wants to merge 1 commit intomainfrom
Draft
feat(www): add /github landing page for the GitHub App#299peaktwilight wants to merge 1 commit intomainfrom
peaktwilight wants to merge 1 commit intomainfrom
Conversation
Astro page at foxguard.dev/github with the install CTA, what-it-flags grid, sandboxing/safety story, and a self-host fallback pointing at ghcr.io/pwnkit-labs/foxguard-github-app. Held as draft until the GitHub App is registered under PwnKit-Labs: - APP_INSTALL_URL is # for now - APP_REGISTERED is false - A "Coming soon — track #246" banner sits above the hero - Install button is visually disabled When the App is registered, three constants at the top of github.astro flip to the live values and the banner disappears. Easy single-PR follow-up. Tracking: #246. Build verified via 'cd www && npm run build' — /github/index.html lands in dist/.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
DRAFT — held until the GitHub App is registered under PwnKit-Labs and we have the real Marketplace install URL. Tracked in #246.
Summary
New Astro page at `foxguard.dev/github`. Hero, three-step "how it works," what-it-flags grid (8 categories), trust/safety story, self-host fallback, soft CTA back to the local CLI.
What flips when the App is registered
Three constants at the top of `www/src/pages/github.astro`:
```ts
const APP_INSTALL_URL = '#'; // → real Marketplace URL
const APP_HOMEPAGE = APP_INSTALL_URL; // → same
const SELF_HOST_IMAGE = 'ghcr.io/pwnkit-labs/foxguard-github-app';
const APP_REGISTERED = false; // → true
```
Flipping `APP_REGISTERED` to `true`:
That's the entire follow-up PR after registration.
Why ship the page in draft now rather than after registration
Build check
`cd www && npm run build` — `/github/index.html` is generated, no errors. Confirmed locally.
Test plan