Skip to content

feat: style homepage and counter with clean modern design#5

Merged
haydenfowler merged 4 commits into
mainfrom
agent/issue-4-20260611-0428
Jun 11, 2026
Merged

feat: style homepage and counter with clean modern design#5
haydenfowler merged 4 commits into
mainfrom
agent/issue-4-20260611-0428

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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 button aria-label attributes added so role-based queries (Increment/Decrement) continue to work. TypeScript type-check, ESLint, and production build all pass cleanly.

Co-authored-by: Hayden Fowler <haydenfowler@users.noreply.github.com>
@github-actions
github-actions Bot requested a review from haydenfowler as a code owner June 11, 2026 04:30
@github-actions github-actions Bot added the review-requested QA agent trigger — ready for review label Jun 11, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) June 11, 2026 04:31
auto-merge was automatically disabled June 11, 2026 05:12

Pull request was closed

@haydenfowler haydenfowler reopened this Jun 11, 2026
@github-actions

Copy link
Copy Markdown
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
haydenfowler enabled auto-merge June 11, 2026 05:13
@github-actions

Copy link
Copy Markdown
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.

@github-actions

Copy link
Copy Markdown
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.

@github-actions

Copy link
Copy Markdown
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
haydenfowler merged commit 703d048 into main Jun 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-requested QA agent trigger — ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Style the homepage and counter with a clean, modern design

1 participant