Merged
Conversation
Agent-Logs-Url: https://github.com/aleexwong/trainpace/sessions/39e9789e-4b18-411f-96a0-ca4f3950a698 Co-authored-by: aleexwong <65264501+aleexwong@users.noreply.github.com>
…nner slogan badge Agent-Logs-Url: https://github.com/aleexwong/trainpace/sessions/517c371d-bf98-4c76-9ceb-dd765f6ac950 Co-authored-by: aleexwong <65264501+aleexwong@users.noreply.github.com>
Agent-Logs-Url: https://github.com/aleexwong/trainpace/sessions/517c371d-bf98-4c76-9ceb-dd765f6ac950 Co-authored-by: aleexwong <65264501+aleexwong@users.noreply.github.com>
✅ Deploy Preview for trainpace ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the landing page hero messaging and “dashboard mock” to better reflect the race-course feature set and drive traffic to the race browsing experience.
Changes:
- Refreshes hero badge + CTA copy (“Get Started”).
- Replaces the hero mockup content with a race-courses preview and makes it navigable to
/race. - Updates one pain point to focus on per-km pacing guidance.
Comments suppressed due to low confidence (1)
vite-project/src/components/layout/Landing.tsx:128
- The mockup is made keyboard-focusable and given
role="link", but it isn’t a real link (nohref) and the key handling triggers navigation on Space without preventing default scrolling. For correct semantics + expected browser behavior (open in new tab, screen reader link behavior, etc.), prefer rendering this as a real<Link to="/race">/<a href="/race">. If you keep the div approach, align semantics and keyboard interaction (e.g., userole="button"for Space activation, calle.preventDefault()for Space, and add a visiblefocus-visiblestyle).
<div
className="relative rounded-2xl bg-white shadow-2xl border border-slate-200 overflow-hidden cursor-pointer hover:shadow-emerald-200 hover:border-emerald-300 transition-all duration-200 group"
onClick={() => navigate("/race")}
onKeyDown={(e) => (e.key === "Enter" || e.key === " ") && navigate("/race")}
role="link"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
TIP This summary will be updated as you push new changes. Give us feedback
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.

No description provided.