fix: add missing href to all broken buttons across site

- services/page.tsx: 'Book Free Consultation' bottom CTA → /contact
- services/[slug]/page.tsx: hero + final CTA 'Book Free Consultation' → /contact;
  fix nested <Link> inside secondary Button (invalid HTML) → href prop
- blog/page.tsx: 'Subscribe to newsletter' → /contact (no newsletter service yet)
- blog/[slug]/page.tsx: inline 'Book Free Consultation' CTA → /contact

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-02-23 13:03:32 +00:00
parent e4fcc5b9c8
commit 9d4bb7ad34
4 changed files with 7 additions and 6 deletions

View file

@ -388,7 +388,7 @@ export default async function BlogPostPage({ params }: { params: Promise<{ slug:
<p className="text-muted mb-5">
Book a free 30-minute consultation with one of our qualified accountants.
</p>
<Button size="lg" trailingArrow>
<Button size="lg" trailingArrow href="/contact">
Book Free Consultation
</Button>
</div>

View file

@ -145,7 +145,7 @@ export default function BlogPage() {
<p className="mx-auto mb-8 max-w-xl text-lg text-white/70">
Monthly tax tips, deadline reminders and practical guides free, no spam.
</p>
<Button size="lg" trailingArrow>
<Button size="lg" trailingArrow href="/contact">
Subscribe to newsletter
</Button>
</FadeIn>

View file

@ -235,7 +235,7 @@ export default async function ServicePage({ params }: { params: Promise<{ slug:
{svc.tagline}
</p>
<p className="text-muted mb-8 text-xl leading-relaxed">{svc.intro}</p>
<Button size="lg" trailingArrow>
<Button size="lg" trailingArrow href="/contact">
Book Free Consultation
</Button>
</div>
@ -332,15 +332,16 @@ export default async function ServicePage({ params }: { params: Promise<{ slug:
Book a free consultation and we&apos;ll have you set up in days.
</p>
<div className="flex flex-wrap justify-center gap-3">
<Button size="lg" trailingArrow>
<Button size="lg" trailingArrow href="/contact">
Book Free Consultation
</Button>
<Button
size="lg"
variant="secondary"
href="/services"
className="border-white/30 text-white hover:bg-white/10"
>
<Link href="/services">View all services</Link>
View all services
</Button>
</div>
</FadeIn>

View file

@ -171,7 +171,7 @@ export default function ServicesPage() {
Book a free 30-minute consultation. We&apos;ll assess your situation and recommend
exactly what your business needs.
</p>
<Button size="lg" trailingArrow>
<Button size="lg" trailingArrow href="/contact">
Book Free Consultation
</Button>
</FadeIn>