Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/docs/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ export default async function HomePage({ params }: { params: Promise<{ locale: s

<div className="flex flex-col sm:flex-row gap-4 justify-center items-center animate-in fade-in slide-in-from-bottom-8 duration-1000 delay-300">
<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"
Comment on lines 62 to 71
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
>
{dict.home.viewOnGithub}
Expand Down Expand Up @@ -363,14 +363,14 @@ export default async function HomePage({ params }: { params: Promise<{ locale: s
<p className="text-lg text-muted-foreground mb-10 max-w-2xl mx-auto leading-relaxed">{dict.home.ctaSubtitle}</p>
<div className="flex flex-col sm:flex-row justify-center gap-4">
<Link
href="/signup"
href="https://demo.hotcrm.com"
className="inline-flex h-12 items-center justify-center rounded-lg bg-foreground text-background px-8 text-base font-medium transition-all hover:bg-foreground/90 hover:shadow-lg"
>
{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}
Comment on lines 369 to 376
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

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.

Copilot generated this review using guidance from organization custom instructions.
Expand Down
Loading