feat(docs): an asymmetric hero, and the card names this project - #101
Merged
Merged
Conversation
The art is new: nodes in loose formation, one telemetry trace each, braiding rightward into a single ribbon, with the left third left empty. That empty ground is what the layout needed. The copy now sits left against it rather than centred over a symmetric mandala, so the scrim no longer has to be dense enough to carry text across the whole frame. The scrim is derived from the copy column, not from a share of the viewport, because the two cannot be kept in step by hand -- the sister site's hero lost the end of every line that way. The column is stated in vw for the same reason: as a percentage it resolved against the hero's content box and collapsed to 440px. The social card no longer reads "InteFL - Federated learning, under fire - 10 strategies, 6 attacks, Byzantine-robust". That is a different project and none of those figures describe this one; it carries this project's name and line now, set in the site's own face. All three assets move to JPEG. Together they were 5MB and are now 846KB.
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.
The landing page centred its copy because the artwork was square and symmetric, so there was nowhere clean to set a left-aligned column. New art with an empty left third is what unblocks the layout the sister sites use.
The layout
Copy sits left against empty ground; the art anchors right and keeps its braid. Two things are worth calling out because both were mistakes on the way:
The scrim is derived from the copy column, not from a share of the viewport. A gradient stated in percentages cannot track a column sized in
rem— that is exactly how ariadne's hero lost the last words of every line (ajbarea/ariadne#46). Here the column and the scrim are both built from--hero-copy-width, so they cannot drift.The column is stated in
vw, not%. Stated as42%it resolved against the hero's content box rather than the viewport and collapsed the column to 440px, which cramped the wordmark onto two lines and stacked the buttons.42vwmeans what it says.The social card
It read InteFL — Federated learning, under fire — 10 strategies · 6 attacks · Byzantine-robust, over
github.com/ajbarea/phalanx-fl. That is a different project's name and figures, and none of the three describes this one. Every unfurl of a Phalanx link has been carrying it. The card now carries this project's name and its actual line, set in Inter, the site's own face.Weight
5MB to 846KB. All three move to JPEG, including the card: the brief had called for PNG on the grounds that JPEG ringing shows on letterforms, but measured against the PNG at q92 the text regions differ by at most 21/255 with under 0.5% of pixels past a delta of 8. Not visible, and 6.6x smaller.
Verification
Built locally and checked at 1440, 1024 and 390, in both schemes:
zensical build --clean— "No issues found".README.mdandoverrides/main.htmlfollow the renamed assets;IMPL.mdrecords what shipped against what the brief asked for.