Skip to content

Copilot/update homepage dashboard#61

Merged
aleexwong merged 3 commits intomainfrom
copilot/update-homepage-dashboard
Apr 11, 2026
Merged

Copilot/update homepage dashboard#61
aleexwong merged 3 commits intomainfrom
copilot/update-homepage-dashboard

Conversation

@aleexwong
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI and others added 3 commits April 10, 2026 02:57
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>
Copilot AI review requested due to automatic review settings April 11, 2026 06:36
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trainpace Ready Ready Preview, Comment Apr 11, 2026 6:36am

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 11, 2026

Deploy Preview for trainpace ready!

Name Link
🔨 Latest commit 03f7229
🔍 Latest deploy log https://app.netlify.com/projects/trainpace/deploys/69d9ec089bddb80008f67ec9
😎 Deploy Preview https://deploy-preview-61--trainpace.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76
Accessibility: 89
Best Practices: 100
SEO: 100
PWA: 60
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@aleexwong aleexwong merged commit 8dcbbad into main Apr 11, 2026
8 of 10 checks passed
@codacy-production
Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 2 medium

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
ErrorProne 2 medium

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Landing page homepage dashboard/hero content to better promote race-course browsing and adjust CTA/copy messaging.

Changes:

  • Updated Hero badge + primary CTA copy (“Get Started”).
  • Reworked the Hero “dashboard mockup” into a clickable preview that navigates to /race and updated its content/iconography.
  • Updated a PainPoints entry and aligned CTA button copy (“Get Started”).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +124 to +128
<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"
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This clickable card is implemented as a

with role="link" and custom keyboard handling. For better accessibility/semantics (and to get correct keyboard behavior + SEO for free), consider using a real <Link to="/race"> (or an <a href>), rather than a generic div with ARIA role.

Copilot uses AI. Check for mistakes.
<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")}
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onKeyDown triggers navigation on Space but doesn’t call preventDefault(), so Space can also scroll the page while the element is focused. Also, Space activation is expected for role="button" rather than role="link" (links generally activate on Enter). Align the role/keyboard interaction and prevent the default Space behavior when handling it.

Suggested change
onKeyDown={(e) => (e.key === "Enter" || e.key === " ") && navigate("/race")}
onKeyDown={(e) => e.key === "Enter" && navigate("/race")}

Copilot uses AI. Check for mistakes.
problem: "Coaches are expensive ($150+/mo).",
solution: "TrainPace is 100% free, forever.",
problem: "I want to know what pace I should be going per km.",
solution: "Get your exact per-km pace zones from any recent race time.",
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy consistency: this problem statement uses “per km” while the solution right below uses “per-km”. Consider standardizing the phrasing (either both “per km” or both “per-km”) to avoid inconsistent UI copy.

Suggested change
solution: "Get your exact per-km pace zones from any recent race time.",
solution: "Get your exact per km pace zones from any recent race time.",

Copilot uses AI. Check for mistakes.
@aleexwong
Copy link
Copy Markdown
Owner Author

@copilot apply changes based on the comments in this thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants