From 2c033028cf30536f30fe437d37a7cff34589b07d Mon Sep 17 00:00:00 2001 From: Emily Neighbour Date: Wed, 28 May 2025 22:31:45 +0100 Subject: [PATCH] bottom footer fix --- src/app/learn/page.tsx | 4 +- src/components/BottomFooter.tsx | 154 +++++++++++++++----------------- 2 files changed, 72 insertions(+), 86 deletions(-) diff --git a/src/app/learn/page.tsx b/src/app/learn/page.tsx index acb98f3..ad0542f 100644 --- a/src/app/learn/page.tsx +++ b/src/app/learn/page.tsx @@ -10,9 +10,9 @@ export default function LearnPage() { }} > {/* Overlay for readability */} -
+
-
+
{/* Title & subtitle OVER the background (not in the content box) */}

Earthquakes

diff --git a/src/components/BottomFooter.tsx b/src/components/BottomFooter.tsx index 04988fe..80f133c 100644 --- a/src/components/BottomFooter.tsx +++ b/src/components/BottomFooter.tsx @@ -1,88 +1,74 @@ // components/Footer.tsx import Link from "next/link"; -import { FaTwitter, FaFacebook, FaYoutube, FaLinkedin } from "react-icons/fa"; +import { FaFacebook, FaLinkedin, FaTwitter, FaYoutube } from "react-icons/fa"; export default function Footer() { - return ( -

-
- {/* Useful Links */} -
-

Useful links

-
    -
  • - - Gov.UK guidance - -
  • -
  • - - Privacy policy - -
  • -
  • - - Cookies policy - -
  • -
-
- {/* Donate Section */} -
-

Donate

-

- We are a nonprofit entirely funded by your donations, every penny helps provide life saving information. -

- - Donate Now - -
-
- {/* Bottom bar */} -
- {/* Bottom left: Copyright */} - - © TremorTracker 2025 - - {/* Bottom right: Social icons */} -
- Follow us on -
- {/* Replace src with your icon URLs, or use next/image if preferred */} - - instagram - - - linkedin - - - X - -
-
-
-
- ); -} \ No newline at end of file + return ( + + ); +}