Skip to content

Commit 695fc77

Browse files
committed
chore: add linkedin icon (#113)
1 parent 8b6a91f commit 695fc77

File tree

3 files changed

+63
-25
lines changed

3 files changed

+63
-25
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"lint": "next lint"
1313
},
1414
"dependencies": {
15-
"@bitcoin-dev-project/bdp-ui": "^1.5.3",
15+
"@bitcoin-dev-project/bdp-ui": "^1.5.4",
1616
"@elastic/elasticsearch": "^8.16.2",
1717
"@tanstack/react-query": "^5.62.0",
1818
"@uiw/react-markdown-preview": "^5.1.3",

src/components/layout/FooterComponent.tsx

Lines changed: 57 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,48 @@ const FooterComponent = () => {
1515
const languageCode = useLang();
1616
const t = useTranslations(languageCode);
1717
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">
2427
{t("footer.tagline")}
2528
</p>
2629
</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+
>
3038
{t("shared.about")}
3139
</Link>
3240
</section>
3341
</section>
3442

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">
3848
{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+
>
4055
<Image
4156
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+
: ""
4360
}`}
4461
src={image}
4562
alt={alt}
@@ -52,8 +69,8 @@ const FooterComponent = () => {
5269
</section>
5370
</Wrapper>
5471

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">
5774
<Footer>
5875
<Footer.Socials
5976
platforms={[
@@ -80,16 +97,36 @@ const FooterComponent = () => {
8097
},
8198
{
8299
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/",
84110
iconProps: {
85111
className: "hover:text-orange-400",
86112
},
87113
},
88114
]}
89115
/>
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+
/>
93130
</Footer>
94131
</Wrapper>
95132
</div>

0 commit comments

Comments
 (0)