Repository navigation
feat(site): pit.world global footer; trim the site footer (0.5.5) - #118
Merged
Merged
Conversation
- PitFooter: server-fetched https://pit.world/snippets/footer.html?site=nightcell7.com, revalidated hourly, 3s timeout, renders nothing on failure; last in <body>. - Footer: the four-column grid (29 links: every package manager, each character, careers, credits) and the @profullstack/footer webring bar become one link row (Downloads, FAQ, Support, Status, Press, Source, Privacy, Terms, Refunds, Licenses, Guidelines) and one paragraph: copyright plus the required fiction and photosensitivity notice (PRD §32). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| if (!res.ok) return null; | ||
| const html = await res.text(); | ||
| if (!html.includes("data-pit-footer")) return null; | ||
| return <div dangerouslySetInnerHTML={{ __html: html }} />; |
ThreatCrush Security Scan1 finding(s) MEDIUM: 1
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Adds the pit.world global footer as an async server component (fetch revalidated hourly, 3s timeout, renders nothing on failure), last in . No CSP on the site.
Trims the footer: the four-column grid (29 links, incl. every package manager anchor, each character, careers, credits) and the @profullstack/footer webring bar become one link row (Downloads, FAQ, Support, Status, Press, Source, Privacy, Terms, Refunds, Licenses, Guidelines) and one paragraph with the copyright and the required fiction + photosensitivity notice (PRD §32). The ad unit already sits at the top of
(#117).Checked: eslint on changed files, vitest (site), packages + next build; the prerendered home page has one pit footer.
🤖 Generated with Claude Code