Skip to content

nuxt: privacy migration#4984

Merged
Yndira-E merged 11 commits into
mainfrom
zj-nuxt-privacy-migration
May 19, 2026
Merged

nuxt: privacy migration#4984
Yndira-E merged 11 commits into
mainfrom
zj-nuxt-privacy-migration

Conversation

@ZJvandeWeg
Copy link
Copy Markdown
Member

Description

Bit like the /terms PR.

Related Issue(s)

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

ZJvandeWeg and others added 2 commits May 8, 2026 13:07
Same pattern as /terms: static page with no data dependencies moved to
a Nuxt route so 11ty no longer owns it.

- pages/privacy-policy.vue: full legal content with noindex meta
- legacy.ts: add /privacy-policy to NUXT_ROUTES
- nuxt.config.ts: add /privacy-policy to prerender routes
- src/privacy-policy.md: removed (Nuxt owns the route now)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Strip trailing slashes before checking NUXT_ROUTES so each migrated
page only needs one entry in the set instead of two.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit 59c85fb
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/6a0c908ec690ba00085de1d3
😎 Deploy Preview https://deploy-preview-4984--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (🟢 up 3 from production)
Accessibility: 89 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

ZJvandeWeg and others added 2 commits May 8, 2026 13:27
Replaces the inline-HTML privacy-policy.vue with a proper content pipeline:
- Install @nuxt/content v3 and register it as a module
- content.config.ts: defines a 'pages' collection from content/*.md
- content/privacy-policy.md: source-of-truth Markdown (no HTML)
- pages/[...slug].vue: catch-all renderer; legacy middleware still gates
  which routes reach Nuxt, so 11ty routes are unaffected
- .gitignore: exclude .data/ (nuxt/content SQLite build cache)

Future content pages only need an .md file in content/ — no matching
.vue file required.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The handbook section has been migrated from 11ty to Nuxt. The 11ty
build no longer produces handbook pages, so testing _site/ alone would
leave broken links undetected.

In the unified build pipeline, 11ty outputs into nuxt/public/ which
Nuxt then copies verbatim into nuxt/.output/public/ alongside its own
generated pages. That directory is therefore the complete site output.

Switch the CI build step to build:nuxt:skip-images (added here) and
point hyperlink at nuxt/.output/public/ so the link check covers both
the 11ty and Nuxt portions of the site.
@ZJvandeWeg
Copy link
Copy Markdown
Member Author

@Yndira-E We needed an extra commit as the test used to fail. Every page links to the terms, and that page was now rendered through nuxt. But the _site output dir was being checked.

ZJvandeWeg and others added 3 commits May 15, 2026 11:13
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lic/)

Nuxt 4 outputs to dist/ instead of .output/public/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes the Rust-based hyperlink tool and replaces it with
nuxt-link-checker, which runs automatically during nuxt generate.
Skips trailing-slash and no-error-response inspections since 11ty
pages use trailing slashes intentionally and are absent from the
Nuxt-only static output. Also fixes missing aria-label on header
logo links.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Yndira-E and others added 2 commits May 19, 2026 17:42
@nuxt/content wraps heading text in <a> tags, which Tailwind Typography
styles as blue underlined links. Reset those styles inside .prose headings
and show the # anchor indicator on hover and keyboard focus (:focus-within).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment thread nuxt/content/privacy-policy.md Outdated
…tion

# Conflicts:
#	nuxt/package.json
#	package-lock.json
@Yndira-E Yndira-E merged commit 4a1a1f0 into main May 19, 2026
7 checks passed
@Yndira-E Yndira-E deleted the zj-nuxt-privacy-migration branch May 19, 2026 16:59
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.

2 participants