From ea4fe36612db76d8bbd7f7968a647f5515828190 Mon Sep 17 00:00:00 2001 From: DemchaAV Date: Mon, 6 Jul 2026 20:53:58 +0100 Subject: [PATCH] refactor(templates): move built-in CV icon resources into the templates module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CV preset icon SVGs (mint-editorial, monogram-sidebar, sidebar-portrait and timeline-minimal, plus the sidebar portrait and the mint expertise badge) shipped in graph-compose-core, but they are loaded only by graph-compose-templates through SvgGlyph.fromResource("/templates/cv/...") — the presets and the loader both live in that module. Move the 29 files so the resources sit with the code that reads them; the classpath path is unchanged, so there are no Java changes. Core now carries no template assets. --- .../main/resources/templates/cv/mint-editorial/icons/email.svg | 0 .../templates/cv/mint-editorial/icons/expertise-badge.svg | 0 .../main/resources/templates/cv/mint-editorial/icons/facebook.svg | 0 .../main/resources/templates/cv/mint-editorial/icons/linkedin.svg | 0 .../main/resources/templates/cv/mint-editorial/icons/location.svg | 0 .../main/resources/templates/cv/mint-editorial/icons/phone.svg | 0 .../resources/templates/cv/mint-editorial/icons/pinterest.svg | 0 .../main/resources/templates/cv/mint-editorial/icons/twitter.svg | 0 .../main/resources/templates/cv/mint-editorial/icons/website.svg | 0 .../main/resources/templates/cv/monogram-sidebar/icons/email.svg | 0 .../main/resources/templates/cv/monogram-sidebar/icons/github.svg | 0 .../resources/templates/cv/monogram-sidebar/icons/linkedin.svg | 0 .../resources/templates/cv/monogram-sidebar/icons/location.svg | 0 .../main/resources/templates/cv/monogram-sidebar/icons/phone.svg | 0 .../resources/templates/cv/sidebar-portrait/icons/dribbble.svg | 0 .../main/resources/templates/cv/sidebar-portrait/icons/email.svg | 0 .../main/resources/templates/cv/sidebar-portrait/icons/github.svg | 0 .../main/resources/templates/cv/sidebar-portrait/icons/google.svg | 0 .../resources/templates/cv/sidebar-portrait/icons/linkedin.svg | 0 .../resources/templates/cv/sidebar-portrait/icons/location.svg | 0 .../main/resources/templates/cv/sidebar-portrait/icons/phone.svg | 0 .../main/resources/templates/cv/sidebar-portrait/portrait.svg | 0 .../resources/templates/cv/timeline-minimal/icons/dribbble.svg | 0 .../main/resources/templates/cv/timeline-minimal/icons/email.svg | 0 .../main/resources/templates/cv/timeline-minimal/icons/github.svg | 0 .../main/resources/templates/cv/timeline-minimal/icons/google.svg | 0 .../resources/templates/cv/timeline-minimal/icons/linkedin.svg | 0 .../resources/templates/cv/timeline-minimal/icons/location.svg | 0 .../main/resources/templates/cv/timeline-minimal/icons/phone.svg | 0 29 files changed, 0 insertions(+), 0 deletions(-) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/email.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/expertise-badge.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/facebook.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/linkedin.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/location.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/phone.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/pinterest.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/twitter.svg (100%) rename {src => templates/src}/main/resources/templates/cv/mint-editorial/icons/website.svg (100%) rename {src => templates/src}/main/resources/templates/cv/monogram-sidebar/icons/email.svg (100%) rename {src => templates/src}/main/resources/templates/cv/monogram-sidebar/icons/github.svg (100%) rename {src => templates/src}/main/resources/templates/cv/monogram-sidebar/icons/linkedin.svg (100%) rename {src => templates/src}/main/resources/templates/cv/monogram-sidebar/icons/location.svg (100%) rename {src => templates/src}/main/resources/templates/cv/monogram-sidebar/icons/phone.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/dribbble.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/email.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/github.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/google.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/linkedin.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/location.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/icons/phone.svg (100%) rename {src => templates/src}/main/resources/templates/cv/sidebar-portrait/portrait.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/dribbble.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/email.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/github.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/google.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/linkedin.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/location.svg (100%) rename {src => templates/src}/main/resources/templates/cv/timeline-minimal/icons/phone.svg (100%) diff --git a/src/main/resources/templates/cv/mint-editorial/icons/email.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/email.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/email.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/email.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/expertise-badge.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/expertise-badge.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/expertise-badge.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/expertise-badge.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/facebook.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/facebook.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/facebook.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/facebook.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/linkedin.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/linkedin.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/linkedin.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/linkedin.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/location.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/location.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/location.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/location.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/phone.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/phone.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/phone.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/phone.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/pinterest.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/pinterest.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/pinterest.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/pinterest.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/twitter.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/twitter.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/twitter.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/twitter.svg diff --git a/src/main/resources/templates/cv/mint-editorial/icons/website.svg b/templates/src/main/resources/templates/cv/mint-editorial/icons/website.svg similarity index 100% rename from src/main/resources/templates/cv/mint-editorial/icons/website.svg rename to templates/src/main/resources/templates/cv/mint-editorial/icons/website.svg diff --git a/src/main/resources/templates/cv/monogram-sidebar/icons/email.svg b/templates/src/main/resources/templates/cv/monogram-sidebar/icons/email.svg similarity index 100% rename from src/main/resources/templates/cv/monogram-sidebar/icons/email.svg rename to templates/src/main/resources/templates/cv/monogram-sidebar/icons/email.svg diff --git a/src/main/resources/templates/cv/monogram-sidebar/icons/github.svg b/templates/src/main/resources/templates/cv/monogram-sidebar/icons/github.svg similarity index 100% rename from src/main/resources/templates/cv/monogram-sidebar/icons/github.svg rename to templates/src/main/resources/templates/cv/monogram-sidebar/icons/github.svg diff --git a/src/main/resources/templates/cv/monogram-sidebar/icons/linkedin.svg b/templates/src/main/resources/templates/cv/monogram-sidebar/icons/linkedin.svg similarity index 100% rename from src/main/resources/templates/cv/monogram-sidebar/icons/linkedin.svg rename to templates/src/main/resources/templates/cv/monogram-sidebar/icons/linkedin.svg diff --git a/src/main/resources/templates/cv/monogram-sidebar/icons/location.svg b/templates/src/main/resources/templates/cv/monogram-sidebar/icons/location.svg similarity index 100% rename from src/main/resources/templates/cv/monogram-sidebar/icons/location.svg rename to templates/src/main/resources/templates/cv/monogram-sidebar/icons/location.svg diff --git a/src/main/resources/templates/cv/monogram-sidebar/icons/phone.svg b/templates/src/main/resources/templates/cv/monogram-sidebar/icons/phone.svg similarity index 100% rename from src/main/resources/templates/cv/monogram-sidebar/icons/phone.svg rename to templates/src/main/resources/templates/cv/monogram-sidebar/icons/phone.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/dribbble.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/dribbble.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/dribbble.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/dribbble.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/email.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/email.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/email.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/email.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/github.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/github.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/github.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/github.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/google.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/google.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/google.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/google.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/linkedin.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/linkedin.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/linkedin.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/linkedin.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/location.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/location.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/location.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/location.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/icons/phone.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/icons/phone.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/icons/phone.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/icons/phone.svg diff --git a/src/main/resources/templates/cv/sidebar-portrait/portrait.svg b/templates/src/main/resources/templates/cv/sidebar-portrait/portrait.svg similarity index 100% rename from src/main/resources/templates/cv/sidebar-portrait/portrait.svg rename to templates/src/main/resources/templates/cv/sidebar-portrait/portrait.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/dribbble.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/dribbble.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/dribbble.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/dribbble.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/email.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/email.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/email.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/email.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/github.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/github.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/github.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/github.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/google.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/google.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/google.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/google.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/linkedin.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/linkedin.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/linkedin.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/linkedin.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/location.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/location.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/location.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/location.svg diff --git a/src/main/resources/templates/cv/timeline-minimal/icons/phone.svg b/templates/src/main/resources/templates/cv/timeline-minimal/icons/phone.svg similarity index 100% rename from src/main/resources/templates/cv/timeline-minimal/icons/phone.svg rename to templates/src/main/resources/templates/cv/timeline-minimal/icons/phone.svg