11'use client' ;
22
33import Image from 'next/image' ;
4+ import { SOCIAL_LINKS , CONTACT_INFO } from '../constants/socialLinks' ;
45import posthog from 'posthog-js' ;
56
67export const Footer = ( ) => {
@@ -28,10 +29,10 @@ export const Footer = () => {
2829 < span className = "uppercase text-[#D4D4D4]" > contact</ span >
2930 < div className = "flex flex-col gap-y-4" >
3031 < a
31- href = " mailto:info@playgrounds.com"
32+ href = { ` mailto:${ CONTACT_INFO . email } ` }
3233 className = "hover:underline"
3334 >
34- info@playgrounds.com
35+ { CONTACT_INFO . email }
3536 </ a >
3637 </ div >
3738 </ div >
@@ -63,7 +64,7 @@ export const Footer = () => {
6364 < span className = "uppercase text-[#D4D4D4]" > contact</ span >
6465 < div className = "flex flex-col gap-y-4" >
6566 < a
66- href = " mailto:info@playgrounds.com"
67+ href = { ` mailto:${ CONTACT_INFO . email } ` }
6768 className = "hover:underline"
6869 onClick = { ( ) => {
6970 posthog . capture ( 'cta_click' , {
@@ -72,7 +73,7 @@ export const Footer = () => {
7273 } ) ;
7374 } }
7475 >
75- info@playgrounds.com
76+ { CONTACT_INFO . email }
7677 </ a >
7778 </ div >
7879 </ div >
@@ -86,7 +87,7 @@ export const Footer = () => {
8687 < span className = "uppercase text-[#D4D4D4]" > follow us</ span >
8788 < div className = "flex flex-col gap-y-4" >
8889 < a
89- href = "https://github.com/0xPlaygrounds"
90+ href = { SOCIAL_LINKS . github }
9091 target = "_blank"
9192 className = "hover:underline"
9293 onClick = { ( ) => {
@@ -99,7 +100,7 @@ export const Footer = () => {
99100 Github
100101 </ a >
101102 < a
102- href = "https://www .youtube.com/@arcdotfun"
103+ href = { SOCIAL_LINKS . youtube }
103104 target = "_blank"
104105 className = "hover:underline"
105106 onClick = { ( ) => {
@@ -112,7 +113,7 @@ export const Footer = () => {
112113 Youtube
113114 </ a >
114115 < a
115- href = "https://x.com/Playgrounds0x"
116+ href = { SOCIAL_LINKS . x }
116117 target = "_blank"
117118 className = "hover:underline"
118119 onClick = { ( ) => {
0 commit comments