Skip to content

feat(links): brand short-link QR codes with the CTC mark - #48

Draft
brennenho wants to merge 1 commit into
brennen/demo-ctc-42from
brennen/demo-ctc-43
Draft

brennenho wants to merge 1 commit into
brennen/demo-ctc-42from
brennen/demo-ctc-43

Conversation

@brennenho

Copy link
Copy Markdown
Contributor

Summary

Short-link QR codes now carry the CTC mark in the preview and the downloaded SVG. The export embeds the existing vector mark, so it also works offline.

Implements CTC-43 on top of CTC-42.

Changes

  • Center the shared CTC mark on a white backing and preserve the four-module quiet zone.
  • Use high error correction for branded codes and preserve the existing custom-logo option.

Testing

  • Ran pnpm check. Formatting, lint, types, and all 96 tests passed.
  • Opened the component in headless Chrome with three short URLs covering production, preview, and localhost origins. Clicked its download button and opened each saved SVG as a standalone file.
  • Scanned each 256 px preview and standalone export with jsQR and ZXing. Both returned the original URL in every case. Each export matched its preview pixel for pixel, and both decoders also read the exports at 160 px.

@linear-code

linear-code Bot commented Nov 19, 2026

Copy link
Copy Markdown

CTC-43

@github-actions

Copy link
Copy Markdown

Preview deployment

Open preview ↗

Last deployed 2026-11-19T04:18:38Z

Commit Workflow
99ae153 Run #75 · attempt 1

Fallback preview

This branch was successfully deployed

1 active deployment
pr-48 — 99ae1535 Deployed Nov 19, 2026 by github-actions[bot]
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