diff --git a/components/Header.tsx b/components/Header.tsx
index b7213e4d..61d145d1 100644
--- a/components/Header.tsx
+++ b/components/Header.tsx
@@ -450,6 +450,13 @@ export default function Header() {
variant="accent"
size="lg"
className="w-full py-6 text-lg md:text-xl shadow-2xl hover:scale-105 transition-transform"
+ onClick={() => {
+ setIsMobileMenuOpen(false);
+ trackEvent(AnalyticsEvents.BUTTON_CLICK, {
+ label: t('contact'),
+ location: 'mobile_menu_cta',
+ });
+ }}
>
{t('contact')}
diff --git a/components/ui/Button.tsx b/components/ui/Button.tsx
index 6a853078..d95a573a 100644
--- a/components/ui/Button.tsx
+++ b/components/ui/Button.tsx
@@ -82,8 +82,13 @@ export function Button({
);
if (href) {
+ const { type, disabled, ...linkProps } = props as any;
return (
-
+
{content}
);