Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit a3af717

Browse files
authored
fix: footer mobile (#663)
1 parent bb164cc commit a3af717

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

src/components/Footer.tsx

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,36 +61,38 @@ function SocialLink({
6161
function SmallPrint() {
6262
return (
6363
<div className="flex flex-col gap-10 border-t border-zinc-900/5 pt-8 dark:border-white/5">
64-
<div className="flex flex-col items-center justify-between gap-5 sm:flex-row">
64+
<div className="flex flex-col items-center justify-between gap-6 sm:flex-row">
6565
<div className="flex gap-4">
6666
<p className="text-xs text-zinc-500 dark:text-zinc-300">
6767
&copy; {new Date().getFullYear()} Nitric Inc.
6868
</p>
69-
<span className="text-xs text-zinc-500"></span>
70-
<Link
71-
href={'/misc/contributions'}
72-
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
73-
>
74-
Contributions
75-
</Link>
76-
<Link
77-
href={'/misc/support'}
78-
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
79-
>
80-
Support
81-
</Link>
82-
<Link
83-
href={'/get-started/foundations/why-nitric'}
84-
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
85-
>
86-
Foundations
87-
</Link>
88-
<Link
89-
href={'/guides'}
90-
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
91-
>
92-
Guides
93-
</Link>
69+
<span className="hidden text-xs text-zinc-500 sm:block"></span>
70+
<div className="grid grid-cols-2 gap-4 sm:flex">
71+
<Link
72+
href={'/misc/contributions'}
73+
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
74+
>
75+
Contributions
76+
</Link>
77+
<Link
78+
href={'/misc/support'}
79+
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
80+
>
81+
Support
82+
</Link>
83+
<Link
84+
href={'/get-started/foundations/why-nitric'}
85+
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
86+
>
87+
Foundations
88+
</Link>
89+
<Link
90+
href={'/guides'}
91+
className="text-xs text-zinc-600 hover:underline dark:text-zinc-400"
92+
>
93+
Guides
94+
</Link>
95+
</div>
9496
</div>
9597
<div className="flex gap-4">
9698
<SocialLink href="https://x.com/nitric_io" icon={XIcon}>

0 commit comments

Comments
 (0)