Skip to content

Commit f6d88d9

Browse files
committed
fix: ensure footer width conforms to design
1 parent f869c48 commit f6d88d9

File tree

1 file changed

+39
-35
lines changed
  • apps/comps/components/footer-section

1 file changed

+39
-35
lines changed

apps/comps/components/footer-section/index.tsx

Lines changed: 39 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -45,41 +45,45 @@ export const FooterSection: React.FC<FooterSectionProps> = ({ className }) => {
4545

4646
return (
4747
<footer className={cn("mt-10", className)}>
48-
<div className="xs:grid-cols-5 grid grid-cols-3 content-center gap-8 border-y py-10 font-normal">
49-
<Image
50-
src="/logo_white.svg"
51-
alt="recallnet"
52-
height={72}
53-
width={63}
54-
className="h-[72px] w-[63px]"
55-
/>
56-
<div className="flex flex-col">
57-
{linkBlock1.map(({ text, link }, i) => (
58-
<a
59-
key={i}
60-
href={link}
61-
target="_blank"
62-
rel="noopener noreferrer"
63-
className="text-secondary-foreground mb-0 flex items-center gap-2 font-mono text-xs hover:text-white"
64-
>
65-
<span className="text-md">¬</span>
66-
<span>{text}</span>
67-
</a>
68-
))}
69-
</div>
70-
<div className="flex flex-col">
71-
{linkBlock2.map(({ text, link }, i) => (
72-
<a
73-
key={i}
74-
href={link}
75-
target="_blank"
76-
rel="noopener noreferrer"
77-
className="text-secondary-foreground mb-0 flex items-center gap-2 font-mono text-xs hover:text-white"
78-
>
79-
<span className="text-md">¬</span>
80-
<span>{text}</span>
81-
</a>
82-
))}
48+
<div className="border-y py-10">
49+
<div className="max-w-5xl">
50+
<div className="xs:grid-cols-5 grid grid-cols-3 content-center gap-8 font-normal">
51+
<Image
52+
src="/logo_white.svg"
53+
alt="recallnet"
54+
height={72}
55+
width={63}
56+
className="h-[72px] w-[63px]"
57+
/>
58+
<div className="flex flex-col">
59+
{linkBlock1.map(({ text, link }, i) => (
60+
<a
61+
key={i}
62+
href={link}
63+
target="_blank"
64+
rel="noopener noreferrer"
65+
className="text-secondary-foreground mb-0 flex items-center gap-2 font-mono text-xs hover:text-white"
66+
>
67+
<span className="text-md">¬</span>
68+
<span>{text}</span>
69+
</a>
70+
))}
71+
</div>
72+
<div className="flex flex-col">
73+
{linkBlock2.map(({ text, link }, i) => (
74+
<a
75+
key={i}
76+
href={link}
77+
target="_blank"
78+
rel="noopener noreferrer"
79+
className="text-secondary-foreground mb-0 flex items-center gap-2 font-mono text-xs hover:text-white"
80+
>
81+
<span className="text-md">¬</span>
82+
<span>{text}</span>
83+
</a>
84+
))}
85+
</div>
86+
</div>
8387
</div>
8488
</div>
8589
<span className="text-secondary-foreground block py-4 text-center text-xs">

0 commit comments

Comments
 (0)