Conversation
Agent-Logs-Url: https://github.com/objectstack-ai/hotcrm/sessions/3d26a726-586f-47a5-a01d-5a988e4db9fe Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Updates the HotCRM docs homepage CTAs to route users to the live demo environment (https://demo.hotcrm.com) rather than local, non-existent routes, improving the trial/demo flow for the marketing site.
Changes:
- Updated Hero section CTA links to
https://demo.hotcrm.com. - Updated Final CTA section links to
https://demo.hotcrm.com.
| <Link | ||
| href="/signup" | ||
| href="https://demo.hotcrm.com" | ||
| className="hero-cta-primary inline-flex h-12 items-center justify-center rounded-lg bg-primary px-8 text-base font-medium text-primary-foreground shadow-lg transition-all hover:shadow-primary/25 hover:shadow-xl" | ||
| > | ||
| {dict.home.getStarted} | ||
| <ArrowRight className="ml-2 w-5 h-5" /> | ||
| </Link> | ||
| <Link | ||
| href="/book-demo" | ||
| href="https://demo.hotcrm.com" | ||
| className="inline-flex h-12 items-center justify-center rounded-lg border border-border bg-background/50 backdrop-blur-sm px-8 text-base font-medium shadow-sm transition-all hover:bg-accent hover:text-accent-foreground" |
There was a problem hiding this comment.
https://demo.hotcrm.com is duplicated across multiple CTA links in this file. Consider extracting it into a single constant (or config/env value) and referencing that constant in each href to reduce the chance of future inconsistencies when the demo URL changes again.
| {dict.home.readDocs} | ||
| <ArrowRight className="ml-2 w-5 h-5" /> | ||
| </Link> | ||
| <Link | ||
| href="/book-demo" | ||
| href="https://demo.hotcrm.com" | ||
| className="inline-flex h-12 items-center justify-center rounded-lg border border-border bg-background/50 backdrop-blur-sm px-8 text-base font-medium shadow-sm transition-all hover:bg-accent hover:text-accent-foreground" | ||
| > | ||
| {dict.home.starOnGithub} |
There was a problem hiding this comment.
The i18n keys used for these CTAs are misleading (viewOnGithub, readDocs, starOnGithub) given the button text (e.g. “Book a Demo”, “Start Free Trial”, “Talk to Sales”) and now point to the demo URL. Consider renaming these dictionary keys to reflect their intent (and updating references) to reduce the chance of wiring the wrong destination in future edits.
Description
Updated homepage CTA buttons to point to the live demo instance at
https://demo.hotcrm.cominstead of non-existent local routes.Type of Change
Related Issues
N/A
Changes Made
/signupand/book-demo→https://demo.hotcrm.com)Testing
npm test)npm run lint)npm run build)Screenshots
N/A
Checklist
Additional Notes
All homepage call-to-action buttons now direct users to the centralized demo environment. This provides a consistent user experience for trial and demo access.