Repository navigation
docs: show books reaching their devices in the readme hero - #22
Merged
Merged
Conversation
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.
What
Replaces the README hero with a new animated SVG: Kindle books with a padlock travel past the Anzu mark, lose the padlock, gain their title and arrive on an e-reader, a phone and a tablet. The alt text in both READMEs now describes it.
Why
The earlier hero showed books leaving as EPUB files, which says little to someone who is not technical. The new one shows the result people care about: their own books, with their titles, open on the devices they read on.
How
Overwrites
assets/hero.src.svg(source),assets/hero-dark.svgandassets/hero-light.svgwith the new hero. The<picture>block at the top ofREADME.mdandREADME.es.mdkeeps its markup and file names; only thealttext changes, in English and Spanish. Nothing else in the READMEs is touched, and the older files underassets/motionstay where they are.Evidence
The hero renders in this PR's README preview (view
README.mdandREADME.es.mdon the branch), in light and dark theme; images cannot be attached from the CLI. Docs and assets only, no Rust code changed, so the cargo checks are left to CI.Checklist
cargo test --workspaceandcargo clippy --workspace --all-targets -- -D warningspasscrates/anzu/src/i18n.rs, or there is none