feat: style homepage and counter with clean modern design#5
Merged
Conversation
Co-authored-by: Hayden Fowler <haydenfowler@users.noreply.github.com>
auto-merge was automatically disabled
June 11, 2026 05:12
Pull request was closed
Contributor
Author
|
Amplify preview: https://pr-5.d163cp9q9g4ufo.amplifyapp.com Note: Preview may take a few minutes to build. Check the Amplify console for build status. |
haydenfowler
enabled auto-merge
June 11, 2026 05:13
Contributor
Author
|
Amplify preview: https://pr-5.d163cp9q9g4ufo.amplifyapp.com Note: Preview may take a few minutes to build. Check the Amplify console for build status. |
Contributor
Author
|
Amplify preview: https://pr-5.d163cp9q9g4ufo.amplifyapp.com Note: Preview may take a few minutes to build. Check the Amplify console for build status. |
Contributor
Author
|
Amplify preview: https://pr-5.d163cp9q9g4ufo.amplifyapp.com Note: Preview may take a few minutes to build. Check the Amplify console for build status. |
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.
Closes #4
What changed
Added a clean, modern design to the homepage and counter using CSS modules. The page is now centred with a max-width container, the counter displays the count in a large prominent number that changes colour (green for positive, neutral for zero, red for negative), and the increment/decrement buttons are styled circular buttons with hover and active states. Layout is responsive for both desktop and mobile.
Tests
All existing unit tests pass (3/3) —
data-testid="count"attribute preserved and buttonaria-labelattributes added so role-based queries (Increment/Decrement) continue to work. TypeScript type-check, ESLint, and production build all pass cleanly.