initial
This commit is contained in:
26
web/components/StickyCallButton.tsx
Normal file
26
web/components/StickyCallButton.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
'use client';
|
||||
import { track } from '@/lib/analytics';
|
||||
|
||||
export default function StickyCallButton() {
|
||||
return (
|
||||
<div className="fixed md:hidden bottom-0 left-0 right-0 z-50 bg-white border-t border-gray-200 p-4">
|
||||
<div className="flex gap-3">
|
||||
<a
|
||||
href="tel:+13618850315"
|
||||
onClick={() => track('phone_click', { placement: 'sticky_mobile' })}
|
||||
className="flex-1 btn-primary text-center"
|
||||
aria-label="Call Now 24/7"
|
||||
>
|
||||
📞 Call Now
|
||||
</a>
|
||||
<a
|
||||
href="#quote-form"
|
||||
className="flex-1 btn-secondary text-center"
|
||||
aria-label="Get Free Quote"
|
||||
>
|
||||
📝 Free Quote
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user