Skip to content

Commit 2cbb570

Browse files
author
sonal
committed
Improve footer spacing and layout
1 parent c412f85 commit 2cbb570

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/Footer.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const footerLinks = [
4141

4242
function FooterUi() {
4343
return (
44-
<footer className="border-t border-slate-800 px-12 pb-4 pt-4 dark:bg-slate-900">
45-
<div className="mx-auto max-w-screen-2xl overflow-hidden px-6 py-4 lg:px-8">
44+
<footer className="border-t border-slate-800 px-4 py-2 dark:bg-slate-900">
45+
<div className="mx-auto max-w-screen-2xl px-2 py-2 ">
4646
<nav
4747
aria-label="Footer"
48-
className="relative z-10 -mb-6 flex justify-center gap-5 sm:space-x-12"
48+
className="relative z-10 flex justify-center gap-5 sm:space-x-12"
4949
>
5050
{footerLinks.map((item) => (
51-
<div key={item.title} className="pb-6">
51+
<div key={item.title} className="pb-2">
5252
<Link
5353
href={item.link}
5454
target={item?.target_blank ? '_blank' : '_self'}
@@ -59,7 +59,7 @@ function FooterUi() {
5959
</div>
6060
))}
6161
</nav>
62-
<div className="mt-8 flex justify-center space-x-10">
62+
<div className="mt-4 flex justify-center space-x-6">
6363
{socialMediaLinks.map((item, idx) => {
6464
const { Icon, Link: link } = item
6565
return (
@@ -70,7 +70,7 @@ function FooterUi() {
7070
target="_blank"
7171
aria-label="social media link"
7272
>
73-
<Icon className="h-6 w-6 fill-slate-400 hover:fill-slate-300 dark:hover:fill-slate-300"></Icon>
73+
<Icon className="h-5 w-5 fill-slate-400 hover:fill-slate-300 dark:hover:fill-slate-300"></Icon>
7474
</Link>
7575
)
7676
})}

0 commit comments

Comments
 (0)