Skip to content

feat(footer): use @profullstack/footer - #9

Merged
ralyodio merged 1 commit into
mainfrom
feat/profullstack-footer
Oct 10, 2026
Merged

ralyodio merged 1 commit into
mainfrom
feat/profullstack-footer

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Renders the copyright line and the Profullstack ring nav (<< Profullstack >>, random, vote) with @profullstack/footer (latest), server-side, so template updates published to the package reach this site without a redeploy. The hand-written ring nav is removed so the ring appears once.

The site's own footer (brand, creed, link columns) is kept, minus the old ring nav. Every page's foot() leaves a <!--pfs-footer--> slot, and the html() helper and the 404 handler fill it per request with footerHtml({ site: 'https://moshcode.sh/', nonce }). CSP: style-src was 'self' only, so each response now gets a random nonce (style-src 'self' 'nonce-…') that is passed to the footer's inline <style>. bun test passes (18/18). Booted locally: /, /blog and the 404 page carry data-pfs-footer, and the nonce in the header matches the one on the <style>. Screenshot-checked at 1280px.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​profullstack/​footer@​0.2.17410010090100

View full report

@ralyodio
ralyodio merged commit f8247f0 into main Oct 10, 2026
2 of 3 checks passed
@ralyodio
ralyodio deleted the feat/profullstack-footer branch October 10, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant