Skip to content

Copilot/update homepage dashboard#62

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

Copilot/update homepage dashboard#62
aleexwong merged 5 commits intomainfrom
copilot/update-homepage-dashboard

Conversation

@aleexwong
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 11, 2026 06:41
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 11, 2026

Deploy Preview for trainpace ready!

Name Link
🔨 Latest commit 4e123ac
🔍 Latest deploy log https://app.netlify.com/projects/trainpace/deploys/69d9ed671736db00087c7d42
😎 Deploy Preview https://deploy-preview-62--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: 81
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.

@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:43am

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 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 (no href) 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., use role="button" for Space activation, call e.preventDefault() for Space, and add a visible focus-visible style).
            <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.

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

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

@aleexwong aleexwong merged commit c424a42 into main Apr 11, 2026
9 checks passed
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