Dev Log

Added team digital business cards

· Codex · Bot
digital-business-cardsteamvcardprivacy

What was done

  • Added a shared digital-card data layer for all 16 current Bailey team members.
  • Added a mobile-first card page at /about/{slug}/card/ with save-contact, share, copy-link, QR, profile, and contact-form actions.
  • Added downloadable vCard 3.0 files with UTF-8, CRLF line endings, byte-safe folding, Bailey’s office phone and address, and no employee email addresses.
  • Added a Save contact action to each team profile and a Card action to each About-directory tile.
  • Added generated QR images for all 16 canonical card URLs.
  • Kept card pages out of the XML sitemap and Pagefind, and marked them noindex,nofollow.
  • Added a build verifier covering roster completeness, privacy, vCard formatting, links, search exclusions, and QR references.
  • Added the digital-card and contact-privacy checks to the production deployment preflight.

Why

Bailey needs a fast, consistent way for employees to share accurate contact details in person without publishing harvestable employee email addresses. The shared implementation keeps names and titles aligned with the About directory while preserving the existing profile and contact-form workflow.

Files affected

  • src/data/digitalCards.ts
  • src/data/teamPortraits.ts
  • src/lib/vcard.ts
  • src/pages/about/[slug]/card.astro
  • src/pages/about/[slug]/card/[filename].vcf.ts
  • src/pages/about/[slug].astro
  • src/pages/about/index.astro
  • public/digital-cards/qr/
  • src/scripts/verify-digital-cards.mjs
  • src/scripts/verify-digital-cards-production.mjs
  • astro.config.mjs
  • package.json
  • tools/deploy-production.ps1

Verification and follow-up

Automated checks cover generated pages, vCard syntax and privacy, QR asset presence and payloads, profile links, About-directory links, sitemap exclusion, and Cloudflare-fronted production responses. The production verifier is part of the deployment workflow so future releases must preserve the feature. Final contact import behavior should also be spot-checked on one current iPhone and one current Android device because operating-system contact apps vary in how they present optional vCard fields.

Feedback