Repository navigation
Home: Community in place of Examples, OG-ratio covers, four to a row - #185
Merged
Merged
Conversation
…our to a row The examples are a click away in the community, so the home page ends on the community's latest instead: shared projects first, then the examples, each opening as it does from the community page. A project's cover takes the Open Graph image's shape that thumbnails are drawn at, and the grid holds four cards a row until a quarter of it is narrower than 220px. The card's count joins its last-edited line, which fits at that width. Adds the release-notes lines #183 left out: the community, and sandboxed boards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Deploying super-prototyping with
|
| Latest commit: |
a450f64
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://38c09166.super-prototyping.pages.dev |
| Branch Preview URL: | https://home-community.super-prototyping.pages.dev |
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.
useCommunity()inCommunity.tsxis the one fetch both pages use..home-file__thumbusesaspect-ratio, andCardderives the stage height from its width.minmax(max(min(220px, 100%), (100% - 3 × gap) / 4), 1fr), so it holds four cards until a quarter of the row is under 220px, then three, two or one. The card's count moved onto the last-edited line ("6 canvases · 14 hours ago") so the footer fits at that width.Target.projectis required.Tests:
tsc, oxlint and vitest (228 passed) are clean. Checked on the dev server at 1440 px (4 columns of 236 px) and 900 px (2 columns).🤖 Generated with Claude Code