Skip to content

Commit 132f0c2

Browse files
authored
Merge pull request #2 from parthratra11/dev
Copyright centered + Footer padding fixed
2 parents 2c77d70 + e25ca2c commit 132f0c2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/page.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ export default function LandingPage() {
232232
</div>
233233
</section>
234234
</main>
235-
<footer className="w-full py-12 px-4 md:px-6 border-t bg-secondary">
235+
<footer className="w-full pt-8 pb-4 px-4 md:px-6 border-t bg-secondary">
236+
{/* <-- Changed pt-12 into pt-8 and pb-4 to reduce unnecessary padding */}
237+
236238
<div className="container mx-auto">
237239
<div className="flex flex-col md:flex-row justify-between items-center mb-8">
238240
<div className="flex items-center space-x-4 mb-4 md:mb-0">
@@ -376,7 +378,8 @@ export default function LandingPage() {
376378
</ul>
377379
</div>
378380
</div>
379-
<div className="flex flex-col md:flex-row justify-between items-center pt-8 border-t border-border">
381+
<div className="flex flex-col md:flex-row justify-center items-center pt-8 border-t border-border">
382+
{/* <-- Changed justify-between into justify-center to center the copyright statement*/}
380383
<p className="text-sm text-muted-foreground mb-4 md:mb-0">
381384
© {currentYear} LeetCode Journal. All rights reserved.
382385
</p>

0 commit comments

Comments
 (0)