Repository navigation
feat(docs): OG cover layer (paper cards on Workers image origin) - #4
Merged
Merged
Conversation
Wire the shared OG layer (v0.1.0) like void: Nuxt extends, github dependency, ogCovers app config, and cover precedence for Content routes. Non-content pages get Paper cards from page titles; og:url stays on ui.froq.me while og:image is absolute on ui.sayhola.workers.dev. Bump Nuxt to 4.6.1 for nuxt-og-image v7 compatibility and drop docs postinstall to avoid a pnpm workspace loop with layer install:true. Co-authored-by: froQ <sayhola@froq.me>
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
eslint --fix had moved docs to catalog: without regenerating pnpm-lock, which broke frozen-lockfile on GitHub Actions and Workers Builds. Co-authored-by: froQ <sayhola@froq.me>
Without postinstall, CI lint needs generated .nuxt/eslint.config.mjs. Co-authored-by: froQ <sayhola@froq.me>
This was referenced Oct 15, 2026
0froq
added a commit
that referenced
this pull request
Oct 15, 2026
PR #4 moved nuxt back into docs dependencies. cf deploy at the monorepo root then runs `pnpm nuxt build`, but nuxt is not on the root PATH. Restore the peerDependency pattern from #2 so generate stays in docs and cf bundles ./dist via Wrangler after Workers Build runs pnpm generate. Co-authored-by: Cursor Agent <cursoragent@cursor.com>
0froq
added a commit
that referenced
this pull request
Oct 19, 2026
feat(ui): share paper signature and node selector
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
Adopts the shared
0froq/og-layerNuxt layer (v0.1.0,@froq/og-covers-layer) on the docs site only, matching how void@7bab868 wires it:extends: [['github:0froq/og-layer#v0.1.0', { install: true }]]"@froq/og-covers-layer": "github:0froq/og-layer#v0.1.0"app.configogCovers(paper palette +froQwatermark)countCardWordshook; cover precedence via layer helpersdefineOgImage('Paper', …)on Content routes and on Vue routes (components, home, etc.) from page titlesog:url→https://ui.froq.me;og:image→ absolute onhttps://ui.sayhola.workers.dev(X-safe)public/og.pngremains the fallback when share meta owns the imageOther changes
nuxt-og-imagev7 is not disabled on 4.5.xdocspostinstall: nuxt prepare— withinstall: trueon the layer, pnpm workspace installs recurse infinitely;nuxt generatestill runsprepareVerification
WORKERS_CI=1 NODE_ENV=production pnpm generate— exit 0, no credentialsdist/HTML):/—og:urlhttps://ui.froq.me,og:imagehttps://ui.sayhola.workers.dev/_og/s/o_f43143daf0254033.png/docs/install—og:urlhttps://ui.froq.me/docs/install,og:imagehttps://ui.sayhola.workers.dev/_og/s/o_10cbceb51aa2e165.png/components/button/button—og:urlhttps://ui.froq.me/components/button/button,og:imagehttps://ui.sayhola.workers.dev/_og/s/o_217875c6f2e6b60a.pngOG card: home
OG card: docs install
Deploy pipeline unchanged (Workers Builds /
cf deploy); no wrangler changes.To show artifacts inline, enable in settings.