Skip to content

docs(card): add business card design spec and visual mockup - #3

Merged
doyled-it merged 11 commits into
mainfrom
docs/business-card-design
May 8, 2026
Merged

docs(card): add business card design spec and visual mockup#3
doyled-it merged 11 commits into
mainfrom
docs/business-card-design

Conversation

@doyled-it

@doyled-it doyled-it commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Locks in the business card design and the tooling to regenerate the print-ready PNGs from any checkout.

What's in the branch

  • docs/business-card-design.md — full design spec. Card format, both sides' visual design, color palette, typography, the 8-QR redirect map, Jukebox print specs (bleed/safety/trim, ICC profile, DPI, font outlining), companion deliverables, and a "rejected ideas" section so future-me remembers why we passed on lenticular, work email, dot stego, etc.
  • docs/business-card-mockup.html — single-file rendered front + back. Opens in any browser; serves as the visual source of truth.
  • scripts/render-business-card.mjsnode scripts/render-business-card.mjs exports four PNGs to ~/Downloads:
    • *-with-guides.png — trim size with the dashed safety overlay (designer review)
    • *.png — bleed size 3.75×2.25in, ready to upload to Jukebox

Print correctness

  • Trim 3.5×2in, bleed 3.75×2.25in, safety 3.25×1.75in (Jukebox 0.125" all around)
  • 1/4" rounded corners (Jukebox "Rounded .25"" finish)
  • All text inside safety; pink→yellow titlebar gradient and black separator line extend past trim with a single seamless strip (no progression mismatch between wrap and inner titlebar)
  • Background extends to all bleed edges so cut tolerance never exposes white

All 8 QRs are redirect-backed

Every QR encodes doyled-it.com/<slug>, resolved by src/_data/redirects.json. If anything ever needs to change post-print — phone number, scheduling tool, scholar profile, anything — edit one line in redirects.json and ship. The cards never need to change.

Test plan

  • Open docs/business-card-mockup.html in a browser and confirm both sides render cleanly
  • Run node scripts/render-business-card.mjs and verify 4 PNGs land in ~/Downloads
  • Upload the bleed-size PNGs to Jukebox and confirm no safety/bleed warnings

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 7, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
doyled-it 6556c49 Commit Preview URL

Branch Preview URL
May 08 2026, 06:59 AM

@doyled-it
doyled-it force-pushed the docs/business-card-design branch from f586506 to 5fb8f01 Compare May 7, 2026 22:57
@doyled-it doyled-it added version:patch Trigger patch version bump on merge documentation Improvements or additions to documentation and removed version:patch Trigger patch version bump on merge labels May 8, 2026
doyled-it added 11 commits May 7, 2026 23:56
Adds the locked design spec for the business card (printed at Jukebox,
32pt soft-touch, 1/8" rounded corners, spot UV titlebar, no edge paint)
and a self-contained HTML mockup that renders the front and back as a
visual reference for whoever opens the print files.

Refs: #1, #2
… safety area, drop trim-edge border

Per Jukebox 3.5x2 template:
- Bleed area 3.75x2.25in (background must extend here)
- Trim 3.5x2in (cut line)
- Safety area 3.25x1.75in (content must stay inside)

Changes:
- Drop the 2px black outer border at trim — with rounded cuts and ±1mm
  cut tolerance it would print uneven
- Add 14px (≈0.125in at mockup scale) inner padding on every side so
  text/QRs/mascot all sit inside the safety area
- Mascot pulled inward (was bottom:6px right:8px → bottom:18px right:20px),
  also shrunk slightly to clear the rounded-corner cut
- Footer micro-text repositioned absolute inside safety, shortened so
  it fits on one line at 6px without wrapping past the safety line
- Render two PNG sets to ~/Downloads: with-guides (dashed safety
  outline visible) for designer review, and clean (no-guides) for export
- Update spec doc with exact bleed/safety/trim numbers + ICC profile +
  300dpi + outlined-fonts requirements
Previous PNG export was at trim size (3.5x2in / 380x218px) which left
the bleed area empty in the Jukebox upload preview — risky if the cut
shifts even slightly.

scripts/render-business-card.mjs now produces both:
- *-with-guides.png — trim size + dashed safety overlay (designer review)
- *.png             — bleed size 3.75x2.25in (405x242px), cream + titlebar
                      gradient extend past trim on all sides, no rounded
                      corners (printer cuts those per the Rounded .25" finish)

Run: node scripts/render-business-card.mjs
…side-safety rule)

Titlebar text was at padding-top:5px which put 'michael.doyle.exe' /
'contact.txt' / window controls outside the 0.125" safety area.
Increased titlebar padding-top to 14px so text top edge sits at the
safety line. Titlebar grew ~8px (24→32) but visual proportion is
nearly identical. Bleed-export gradient strip grew 36→44px to match
the taller titlebar so the gradient stays seamless past trim.
…stem footer, rename Ask Me row

Three issues from Jukebox upload preview:
1) Wrap gradient (full bleed width) and inner titlebar gradient (trim
   width) had different progressions -> visible color seam at trim edge.
   Fix: in bleed export, hide the inner titlebar's own background +
   border-bottom so a single full-bleed strip + line covers everything.
   Inner titlebar text is lifted via z-index (no nested stacking
   context on the bizcard so it competes with the wrap's pseudos).
2) Black titlebar separator stopped at trim. Now drawn by the wrap's
   ::after, spanning full bleed width.
3) System footer (<|system|>... ) was overlapping the QR row. Dropped
   it. Renamed '★ ASK ME / doyled-it.com/c' to '★ ASK BOTTY /
   chatbot helper' (QR still encodes /c).
@doyled-it
doyled-it force-pushed the docs/business-card-design branch from 7f9440a to 6556c49 Compare May 8, 2026 06:56
@doyled-it
doyled-it merged commit eb2c170 into main May 8, 2026
1 check passed
@doyled-it
doyled-it deleted the docs/business-card-design branch May 8, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant