Repository navigation
Host the ros2_medkit README images next to the profile - #4
Merged
Merged
Conversation
The ros2_medkit README is going back to plain GitHub markdown: badges on top, real headings, commands as text. It keeps three drawn pieces, the selfpatch.ai logo, a compact header and a how-it-works diagram. They live here instead of in ros2_medkit, so that repository carries no image binaries, and its README links to them on raw.githubusercontent.com. profile/design/ros2_medkit.html draws them with the same fonts, colours and Medkit drawing as the profile, and adds the website's wordmark. render.mjs now renders a list of sheets into their own folders (`node profile/design/render.mjs ros2_medkit` for one), and sizes each asset to whole pixels before capturing it. Before, a text-sized button landed on a fractional width and the capture shaved off its right border. The profile's images are not re-rendered in this change.
2 of 7 tasks
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.
Summary
Adds the three images the redesigned ros2_medkit README uses, so that repository carries no image binaries (suggested in review of selfpatch/ros2_medkit#709). Each image comes in a light and a dark version:
profile/assets/ros2_medkit/logo-*.png: the selfpatch.ai wordmark, linked to the websiteprofile/assets/ros2_medkit/header-*.png:ros2_medkitand its one-line claim, beside the Medkit drawingprofile/assets/ros2_medkit/how-it-works-*.png: your robot, then what ros2_medkit does (listens, records, serves), then where you read itAll six PNGs come to about 460 KB. The README loads them from
raw.githubusercontent.com/selfpatch/.github/main/profile/assets/ros2_medkit/.How they're made
profile/design/ros2_medkit.htmldraws them with the profile's fonts, colours and Medkit drawing, plus the website's wordmark, now inprofile/design/images/.render.mjsrenders a list of sheets into their own folders.node profile/design/render.mjsrenders all of them,node profile/design/render.mjs ros2_medkitjust this one.render.mjsalso sizes each asset to whole pixels before capturing it. Before, a text-sized button could land on a fractional width and lose its right border.Merge order
Merge this before selfpatch/ros2_medkit#709. The ros2_medkit README points at these files on
main, so until this lands its logo, header and diagram show as broken images.