Feat/undraw asset library#64
Merged
Merged
Conversation
320 unDraw illustrations in the three brand accents (80 blue #4272EF, 120 coral #FF5E5E, 120 yellow #FFCF60), extracted from gallery pages saved by an unDraw supporter with the brand color applied. They live in assets/images/undraw/ — deliberately separate from the in-use bins (illustrations/, hub/) — and appear in the CMS Asset Library as a browsable, searchable image bank (search "undraw" or by name/color). Each file is named undraw_<title-slug>_<color>.svg. The gallery inlines SVGs with fill="currentColor" inherited from the page; the chosen hex is baked into each file so they render correctly standalone. All 320 validate as well-formed XML with no currentColor remnants. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sveltia's Asset Library only lists folders referenced in the config, so the 320 bank files were lumped into the global assets/images view. Bind /assets/images/undraw as the media_folder of the five illustration image fields (the three hub-page heroes, the Prepare a Study journey steps, and the Networks page sections): the bank gets its own folder in the Asset Library, leaves the global view, and those fields' image picker now opens straight into it. Existing pages keep their current /assets/images/hub/ paths until an editor re-picks an image. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
No description provided.