Repository navigation
Add the pit.world global footer, trim the site footer - #102
Merged
Merged
Conversation
Fetch https://pit.world/snippets/footer.html?site=smshub.dev on the server (1h revalidate, 3s timeout, renders nothing on failure) as the last thing in <body> for the smshub brand (white-label brands are untouched). Cut the four-column footer (logo + tagline, Product, Platforms, Providers, the @profullstack/footer webring bar) to one row: copyright, Pricing, Rent a number, Docs, API, Privacy, Terms, GitHub. Move the CrawlProof ad unit from between <main> and the footer to the top of the content, under the header (standing rule: no ads pressed against footers). 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 Scan11 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 3 | LOW: 6
Snippets are redacted; ThreatCrush never prints matched credential material. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The webring row is being rolled out fleet-wide on purpose. The trimmed links now go through @profullstack/footer (links + copyright + ring) as the only footer row; the pit.world footer still follows it. 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.
Adds the pit.world global footer to smshub.dev (server-fetched from
https://pit.world/snippets/footer.html?site=smshub.dev, 1h cache, 3s timeout, renders nothing on any failure) as the last thing in<body>, after the site footer. Only the smshub brand; white-label (Number Station) layouts are unchanged.Trims the site footer from four columns (logo + tagline, Product, emoji Platforms list, Providers) plus the @profullstack/footer bar to just the @profullstack/footer row (links, copyright, Profullstack ring) with: Pricing, Rent a number, Docs, API, Privacy, Terms, GitHub.
The ad unit move landed separately in #101 (top of
); this PR keeps that placement. CSP already has style-src 'unsafe-inline'; no change.🤖 Generated with Claude Code