Skip to content

Commit ea84d85

Browse files
committed
fix: adjust ui spacing of footer elements
1 parent 14d1e45 commit ea84d85

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
@@ -86,7 +86,7 @@ function Footer() {
8686

8787
return (
8888
<footer className="bg-secondary text-white">
89-
<div className="md:p-12 py-8 px-4 relative max-w-[1440px] mx-auto">
89+
<div className="md:px-12 py-8 px-4 relative max-w-[1440px] mx-auto">
9090
<div className="flex lg:flex-row flex-col md:gap-16 gap-8">
9191
<div className="flex-3 flex flex-col items-center">
9292
{/* logo */}
@@ -126,17 +126,17 @@ function Footer() {
126126
</div>
127127

128128
{/* Footer links */}
129-
<div className="grid grid-cols-1 sm:grid-cols-3 gap-12 sm:gap-8">
129+
<div className="grid grid-cols-1 sm:grid-cols-3 md:gap-12 gap-8">
130130
{footerLinks.map((section) => (
131131
<div
132132
key={crypto.randomUUID()}
133-
className="flex flex-col gap-8 text-center lg:text-left"
133+
className="flex flex-col gap-2 md:gap-4 text-center lg:text-left"
134134
>
135-
<h2 className="text-green-footer font-bold sm:text-xl text-lg leading-9">
135+
<h2 className="text-green-footer font-bold sm:text-xl text-lg md:leading-9">
136136
{section.title}
137137
</h2>
138138

139-
<ul className="flex flex-col gap-5 list-none text-sm font-light">
139+
<ul className="flex flex-col gap-3 md:gap-5 list-none text-sm font-light">
140140
{section.links.map((link) =>
141141
link.href ? (
142142
<li key={crypto.randomUUID()}>
@@ -162,7 +162,7 @@ function Footer() {
162162

163163
{/* Newsletter */}
164164
<div className="flex-2">
165-
<div className="flex flex-col md:gap-8">
165+
<div className="flex flex-col gap-2 md:gap-4">
166166
<h2 className="text-green-footer font-bold sm:text-xl text-lg md:leading-9 mx-auto lg:mx-0 text-center lg:text-left">
167167
Subscribe to our Newsletter
168168
</h2>

0 commit comments

Comments
 (0)