@@ -15,31 +15,48 @@ const FooterComponent = () => {
15
15
const languageCode = useLang ( ) ;
16
16
const t = useTranslations ( languageCode ) ;
17
17
return (
18
- < div className = 'flex flex-col items-center justify-center w-full' >
19
- < Wrapper className = 'pt-16 pb-20 gap-6 flex justify-between max-md:flex-col max-md:px-6 max-md:gap-8 max-md:pt-6 max-md:pb-8 w-full' >
20
- < section className = 'flex justify-between w-[50%] gap-8 max-md:flex-col max-md:w-full' >
21
- < section className = 'flex flex-col gap-6 max-w-[400px] max-md:gap-4 max-md:max-w-full max-md:w-full' >
22
- < Logo iconStyles = 'w-14 max-xl:w-[45px]' textStyles = 'text-5xl text-black max-xl:text-[32px]' />
23
- < p className = 'font-medium sm:text-sm md:text-base xl:text-lg text-gray-custom-800 max-xl:text-base max-md:text-sm' >
18
+ < div className = "flex flex-col items-center justify-center w-full" >
19
+ < Wrapper className = "pt-16 pb-20 gap-6 flex justify-between max-md:flex-col max-md:px-6 max-md:gap-8 max-md:pt-6 max-md:pb-8 w-full" >
20
+ < section className = "flex justify-between w-[50%] gap-8 max-md:flex-col max-md:w-full" >
21
+ < section className = "flex flex-col gap-6 max-w-[400px] max-md:gap-4 max-md:max-w-full max-md:w-full" >
22
+ < Logo
23
+ iconStyles = "w-14 max-xl:w-[45px]"
24
+ textStyles = "text-5xl text-black max-xl:text-[32px]"
25
+ />
26
+ < p className = "font-medium sm:text-sm md:text-base xl:text-lg text-gray-custom-800 max-xl:text-base max-md:text-sm" >
24
27
{ t ( "footer.tagline" ) }
25
28
</ p >
26
29
</ section >
27
- < section className = 'flex flex-col gap-12 text-black font-bold text-xl underline max-xl:text-base max-xl:gap-8 max-md:gap-4' >
28
- < Link href = { generateNewUrlForLanguage ( '/categories' , languageCode ) } > { t ( "shared.categories" ) } </ Link >
29
- < Link href = { generateNewUrlForLanguage ( '/about' , languageCode ) } className = '' >
30
+ < section className = "flex flex-col gap-12 text-black font-bold text-xl underline max-xl:text-base max-xl:gap-8 max-md:gap-4" >
31
+ < Link href = { generateNewUrlForLanguage ( "/categories" , languageCode ) } >
32
+ { t ( "shared.categories" ) }
33
+ </ Link >
34
+ < Link
35
+ href = { generateNewUrlForLanguage ( "/about" , languageCode ) }
36
+ className = ""
37
+ >
30
38
{ t ( "shared.about" ) }
31
39
</ Link >
32
40
</ section >
33
41
</ section >
34
42
35
- < section className = 'flex flex-col gap-6 max-md:gap-4' >
36
- < h4 className = 'text-black text-xl max-md:text-base' > { t ( "footer.products" ) } </ h4 >
37
- < section className = 'flex max-w-[400px] gap-6 flex-wrap max-xl:gap-6 max-md:max-w-full max-lg:gap-4' >
43
+ < section className = "flex flex-col gap-6 max-md:gap-4" >
44
+ < h4 className = "text-black text-xl max-md:text-base" >
45
+ { t ( "footer.products" ) }
46
+ </ h4 >
47
+ < section className = "flex max-w-[400px] gap-6 flex-wrap max-xl:gap-6 max-md:max-w-full max-lg:gap-4" >
38
48
{ menuApps . slice ( 3 ) . map ( ( { href, image, alt } ) => (
39
- < Link href = { href } target = '_blank' rel = 'noopener noreferrer' key = { alt } >
49
+ < Link
50
+ href = { href }
51
+ target = "_blank"
52
+ rel = "noopener noreferrer"
53
+ key = { alt }
54
+ >
40
55
< Image
41
56
className = { `rounded-xl w-[54px] h-[54px] lg:w-16 lg:h-16 border border-gray-custom-200 ${
42
- alt === "Bitcoin search" || alt === "Bitcoin TLDR" ? "border border-gray-custom-200" : ""
57
+ alt === "Bitcoin search" || alt === "Bitcoin TLDR"
58
+ ? "border border-gray-custom-200"
59
+ : ""
43
60
} `}
44
61
src = { image }
45
62
alt = { alt }
@@ -52,8 +69,8 @@ const FooterComponent = () => {
52
69
</ section >
53
70
</ Wrapper >
54
71
55
- < div className = ' border-b-[0.5px] border-b-gray-custom-400 max-md:mx-6 w-full' > </ div >
56
- < Wrapper className = ' py-10 max-md:pt-8 max-md:pb-[67px] max-lg:px-2 w-full' >
72
+ < div className = " border-b-[0.5px] border-b-gray-custom-400 max-md:mx-6 w-full" > </ div >
73
+ < Wrapper className = " py-10 max-md:pt-8 max-md:pb-[67px] max-lg:px-2 w-full" >
57
74
< Footer >
58
75
< Footer . Socials
59
76
platforms = { [
@@ -80,16 +97,36 @@ const FooterComponent = () => {
80
97
} ,
81
98
{
82
99
entity : "nostr" ,
83
- entityLink : "https://njump.me/npub10p33xu03t8q7d9nxtks63dq4gmt4v4d3ppd5lcdp4rg9hxsd0f8q7mn2l2" ,
100
+ entityLink :
101
+ "https://njump.me/npub10p33xu03t8q7d9nxtks63dq4gmt4v4d3ppd5lcdp4rg9hxsd0f8q7mn2l2" ,
102
+ iconProps : {
103
+ className : "hover:text-orange-400" ,
104
+ } ,
105
+ } ,
106
+ {
107
+ entity : "linkedin" ,
108
+ entityLink :
109
+ "https://www.linkedin.com/company/bitcoin-dev-project/" ,
84
110
iconProps : {
85
111
className : "hover:text-orange-400" ,
86
112
} ,
87
113
} ,
88
114
] }
89
115
/>
90
- < Footer . About entityText = { t ( "footer.built-by" ) } entityLink = 'https://bitcoindevs.xyz' entityName = 'Bitcoin Dev Project' />
91
- < Footer . Public entityText = { t ( "footer.public-dashboard" ) } dashboardLink = 'https://visits.bitcoindevs.xyz/share/7hL0ysupLrZQsKRw/btc-transcripts' />
92
- < Footer . Feedback entityText = { t ( "footer.feedback.description" ) } entityCtaText = { t ( "footer.feedback.cta" ) } feedbackLink = 'https://forms.gle/aLtBMjAeLZiKCFxn8' />
116
+ < Footer . About
117
+ entityText = { t ( "footer.built-by" ) }
118
+ entityLink = "https://bitcoindevs.xyz"
119
+ entityName = "Bitcoin Dev Project"
120
+ />
121
+ < Footer . Public
122
+ entityText = { t ( "footer.public-dashboard" ) }
123
+ dashboardLink = "https://visits.bitcoindevs.xyz/share/7hL0ysupLrZQsKRw/btc-transcripts"
124
+ />
125
+ < Footer . Feedback
126
+ entityText = { t ( "footer.feedback.description" ) }
127
+ entityCtaText = { t ( "footer.feedback.cta" ) }
128
+ feedbackLink = "https://forms.gle/aLtBMjAeLZiKCFxn8"
129
+ />
93
130
</ Footer >
94
131
</ Wrapper >
95
132
</ div >
0 commit comments