Commit 747b6c4
authored
feat: Mint Editorial preset + showcase v2 swap + redesign (#77)
* feat(cv-v2): add Mint Editorial preset + paired cover letter
Two-page two-column editorial CV ported from the Mint Editorial design:
centered spaced-caps masthead with a full-width mint accent rule, a left
sidebar (contact icon rows, interests, education, expertise, level-driven
skill bars, social) beside a main column (profile, experience, awards and
references two-column grids). MintEditorialLetter reuses the same theme and
masthead 1:1.
Layered additions:
- data: CvSkill(name, optional level) + SkillGroup leveled entries,
backward-compatible (name-only renderers and existing baselines unchanged).
- theme: CvTheme.mintEditorial() (Poppins; mint accent in palette.banner()).
- widgets: reusable SkillBar (proficiency bar) and IconTextRow.
- presets: MintEditorial (cv/v2) + MintEditorialLetter (coverletter/v2).
- examples: Rose Harris showcase dataset, local to the Mint example so the
shared sampleCvDocumentV2 stays untouched.
Local checkpoint of the visually-approved render. Parity 15/15 (no baseline
drift), Mint + widget + skills smoke tests green, full verify passes.
Follow-ups: parity baseline registration, docs/CHANGELOG, customizable
accent/header colour options.
* chore(showcase): guard + auto-bump docs/index.html version
docs/index.html hardcodes the version in five spots (JSON-LD
softwareVersion, JitPack downloadUrl, hero badge, Maven + Gradle install
snippets) that do not inherit from the pom — they had silently drifted
to v1.6.1 while the library shipped v1.6.4 because nothing bumped or
guarded them.
- VersionConsistencyGuardTest.showcaseSiteVersionMatchesTheProjectVersion:
fails the verify gate if any of the five spots lags behind the root
pom, matching the existing guard on the README install snippets.
- cut-release.ps1 Update-IndexHtmlVersion: bumps all five spots in
lockstep with README + poms during the release commit, and stages
docs/index.html alongside the rest of the release artefacts.
- SHOWCASE.md: rewritten to match reality — previews and the gallery
manifest are auto-generated by ShowcaseSync under docs/showcase/
(pdf + screenshots), not hand-edited under docs/assets/ as the old
doc claimed.
* feat(site): redesign showcase — light theme, display font, indigo accent
- Tokenize the colour system into semantic CSS variables and add an
html[data-theme="light"] override block. Inline no-FOUC theme init in
<head> reads localStorage before first paint; dark stays default.
- Sun/moon toggle in the header, persists to localStorage. Code panels
intentionally stay dark in both themes (code reads best dark).
- Space Grotesk display face on the major headings via Google Fonts
(hero h1, section h2, category headings, card titles); body stays
Inter.
- Unify the dual cyan + amber accents into a single premium indigo
(#6366f1) across buttons, tags, code tokens, focus rings.
- Gallery card previews now crop to the top band of each document
(object-fit cover, top-aligned, height ≈ 248px) for uniform,
scannable cards — the full A4 page is still one click away in the
lightbox.
- Bump the hardcoded site version 1.6.1 → 1.6.4 to match the current
pom (guarded by the test added in the previous commit).
- Fix a broken footer migration-guide link (docs/ → docs/roadmaps/).
* feat(showcase): swap gallery to v2 layered CV + cover letters (16 + 15)
The site gallery was rendering the deprecated Gen-2
CvTemplateGalleryFileExample / CoverLetterTemplateGalleryFileExample
outputs. CV authoring has moved to the v2 layered stack (cv/v2 +
coverletter/v2) where the rendered documents look better; this swap
brings the showcase site over.
- Add five missing v2 CV examples (CvBlueBannerExample,
CvCenteredHeadlineExample, CvClassicSerifExample, CvCompactMonoExample,
CvNordicCleanExample) mirroring the existing CvBoxedV2Example shape.
All 16 cv/v2 presets now have a runnable example.
- CvMinimalUnderlinedExample now writes cv-minimal-underlined-v2.pdf
(was cv-minimal-underlined.pdf) so the basename matches the v2 slug
convention every other preset already uses.
- GenerateAllExamples drops the Gen-2 gallery callers and runs all 16
individual v2 CV examples plus all 15 paired v2 cover-letter
examples (Cv<Name>LetterV2Example).
- ShowcaseMetadata: cv() / letter() helpers now take an explicit
exampleClass and point at /v2/ paths. The 14 cv entries grow to 16
(-v2 slugs plus Minimal Underlined and Mint Editorial); the 14 letter
entries grow to 15 (-v2 slugs plus the Mint Editorial paired letter).
- Regenerated docs/showcase/{pdf,screenshots} and docs/examples.json
via GenerateAllExamples then ShowcaseSync, and removed the orphaned
Gen-2 PDFs and PNGs they superseded.1 parent feeb665 commit 747b6c4
182 files changed
Lines changed: 2999 additions & 385 deletions
File tree
- docs
- showcase
- pdf
- features
- barcodes
- canvas
- chrome
- lists
- shapes
- snapshots
- streaming
- tables
- text
- themes
- transforms
- flagships/default
- templates
- coverletter
- cv
- invoice
- proposal
- schedule
- screenshots
- features/chrome
- flagships/default
- templates
- coverletter
- cv
- examples/src/main/java/com/demcha/examples
- support
- templates
- coverletter
- v2
- cv
- v2
- scripts
- src
- main
- java/com/demcha/compose/document/templates
- coverletter/v2/presets
- cv/v2
- data
- presets
- theme
- widgets
- resources/templates/cv/mint-editorial/icons
- test/java/com/demcha
- compose/document/templates
- coverletter/v2/presets
- cv/v2
- data
- presets
- widgets
- documentation
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
34 | 21 | | |
35 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
36 | 26 | | |
37 | | - | |
| 27 | + | |
38 | 28 | | |
39 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
40 | 52 | | |
41 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
42 | 64 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
48 | 81 | | |
49 | | - | |
| 82 | + | |
| 83 | + | |
50 | 84 | | |
51 | 85 | | |
0 commit comments