@@ -8,25 +8,47 @@ const socialLinks = [
88 kind: " linkedin" as const ,
99 href: " https://www.linkedin.com/in/ar10dev" ,
1010 label: " LinkedIn" ,
11+ trackId: " footer_open_linkedin" ,
1112 },
1213 {
1314 kind: " github" as const ,
1415 href: " https://github.com/AR10Dev" ,
1516 label: " GitHub" ,
17+ trackId: " footer_open_github" ,
1618 },
1719];
1820
1921const footerLinks = {
2022 services: [
21- { label: " AI & Automation" , href: " /services/ai-automation/" },
22- { label: " Web Development" , href: " /services/web-development/" },
23- { label: " SEO & Growth" , href: " /services/seo-growth/" },
23+ {
24+ label: " AI & Automation" ,
25+ href: " /services/ai-automation/" ,
26+ trackId: " footer_service_ai_automation" ,
27+ },
28+ {
29+ label: " Web Development" ,
30+ href: " /services/web-development/" ,
31+ trackId: " footer_service_web_development" ,
32+ },
33+ {
34+ label: " SEO & Growth" ,
35+ href: " /services/seo-growth/" ,
36+ trackId: " footer_service_seo_growth" ,
37+ },
2438 ],
2539 company: [
26- { label: " About" , href: " /about/" },
27- { label: " Portfolio" , href: " /portfolio/" },
28- { label: " Blog" , href: " /blog/" },
29- { label: " Contact" , href: " /contact/" },
40+ { label: " About" , href: " /about/" , trackId: " footer_company_about" },
41+ {
42+ label: " Portfolio" ,
43+ href: " /portfolio/" ,
44+ trackId: " footer_company_portfolio" ,
45+ },
46+ { label: " Blog" , href: " /blog/" , trackId: " footer_company_blog" },
47+ {
48+ label: " Contact" ,
49+ href: " /contact/" ,
50+ trackId: " footer_company_contact" ,
51+ },
3052 ],
3153};
3254
@@ -42,7 +64,7 @@ const contactInfo = {
4264 <div class =" grid gap-10 md:grid-cols-2 lg:grid-cols-4" >
4365 { /* Brand Column */ }
4466 <div class =" lg:col-span-1" >
45- <a href =" /" class =" text-xl font-bold text-[var(--text-strong)]" >
67+ <a href =" /" class =" text-xl font-bold text-[var(--text-strong)]" data-track = " footer_brand_home " >
4668 Avaab Razzaq
4769 </a >
4870 <p class =" mt-3 text-sm text-[var(--text-muted)] leading-relaxed" >
@@ -61,6 +83,7 @@ const contactInfo = {
6183 <li >
6284 <a
6385 href = { link .href }
86+ data-track = { link .trackId }
6487 class = " text-sm text-[var(--text-muted)] hover:text-[var(--accent-strong)] transition-colors"
6588 >
6689 { link .label }
@@ -80,6 +103,7 @@ const contactInfo = {
80103 <li >
81104 <a
82105 href = { link .href }
106+ data-track = { link .trackId }
83107 class = " text-sm text-[var(--text-muted)] hover:text-[var(--accent-strong)] transition-colors"
84108 >
85109 { link .label }
@@ -114,13 +138,14 @@ const contactInfo = {
114138 <path d =" M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" />
115139 <polyline points =" 22,6 12,13 2,6" />
116140 </svg >
117- <a href ={ ` mailto:${contactInfo .email } ` } class =" hover:text-[var(--accent-strong)] transition-colors" >
141+ <a href ={ ` mailto:${contactInfo .email } ` } data-track = " footer_contact_email " class =" hover:text-[var(--accent-strong)] transition-colors" >
118142 { contactInfo .email }
119143 </a >
120144 </li >
121145 </ul >
122146 <a
123147 href =" /contact/"
148+ data-track =" footer_contact_cta"
124149 class =" mt-5 inline-flex items-center gap-2 rounded-lg bg-[linear-gradient(120deg,#db7a38,#b05422)] px-4 py-2 text-sm font-bold text-white shadow-md hover:shadow-lg transition-shadow"
125150 >
126151 Get in Touch
0 commit comments