docs(card): add business card design spec and visual mockup - #3
Merged
Conversation
This was referenced Apr 28, 2026
Deploying with
|
| 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
force-pushed
the
docs/business-card-design
branch
from
May 7, 2026 22:57
f586506 to
5fb8f01
Compare
… 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
force-pushed
the
docs/business-card-design
branch
from
May 8, 2026 06:56
7f9440a to
6556c49
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mjs—node scripts/render-business-card.mjsexports 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 JukeboxPrint correctness
All 8 QRs are redirect-backed
Every QR encodes
doyled-it.com/<slug>, resolved bysrc/_data/redirects.json. If anything ever needs to change post-print — phone number, scheduling tool, scholar profile, anything — edit one line inredirects.jsonand ship. The cards never need to change.Test plan
docs/business-card-mockup.htmlin a browser and confirm both sides render cleanlynode scripts/render-business-card.mjsand verify 4 PNGs land in~/Downloads