QR tool: choose the centre, type any link, pick the colours

The centre can be nothing, the NGU dove, or any SVG dropped into
src/assets/qr, embedded in the code so downloads carry it. "A link I
type" takes a site path (sent to the live site), a full http(s)
address, or a bare domain. The code, background and dove colours can
be changed, with a warning under 4:1 contrast or for an inverted
code, which many scanners can't read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-27 23:20:55 -05:00
parent 9075cfb908
commit 9eeb13c5ec
5 changed files with 279 additions and 51 deletions

View file

@ -19,7 +19,7 @@ const SECTIONS = [
id: 'make',
title: 'Make a QR code',
blurb:
'Pick a page from the main navigation, or any event, organization, team, award, person or blog post on the site. The code always points at the live site.',
'Pick a page from the main navigation, any event, organization, team, award, person or blog post, or type any link. Site pages always point at the live site. Choose what sits in the centre and the colours; a warning shows if the code might not scan.',
accent: '#138ba0',
background: '#eef9fb',
content: (