bottom footer fix
This commit is contained in:
parent
3cb2033046
commit
2c033028cf
@ -10,9 +10,9 @@ export default function LearnPage() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* Overlay for readability */}
|
{/* Overlay for readability */}
|
||||||
<div className="absolute inset-0 bg-black bg-opacity-50 z-0"></div>
|
<div className="absolute inset-0 bg-black bg-opacity-50"></div>
|
||||||
|
|
||||||
<main className="flex-1 flex flex-col items-center justify-start pt-16 px-4 relative z-10">
|
<main className="flex-1 flex flex-col items-center justify-start pt-16 px-4 relative z-20">
|
||||||
{/* Title & subtitle OVER the background (not in the content box) */}
|
{/* Title & subtitle OVER the background (not in the content box) */}
|
||||||
<h1 className="text-4xl font-bold mb-4 text-white text-center drop-shadow-lg">Earthquakes</h1>
|
<h1 className="text-4xl font-bold mb-4 text-white text-center drop-shadow-lg">Earthquakes</h1>
|
||||||
<p className="max-w-2xl text-lg text-white mb-8 text-center font-bold drop-shadow">
|
<p className="max-w-2xl text-lg text-white mb-8 text-center font-bold drop-shadow">
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
// components/Footer.tsx
|
// components/Footer.tsx
|
||||||
import Link from "next/link";
|
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() {
|
export default function Footer() {
|
||||||
return (
|
return (
|
||||||
<footer className="bg-[#16424b] text-white pt-12 pb-4 px-6 mt-12">
|
<footer className="bg-[#16424b] text-white pt-12 pb-4 px-6 mt-12 z-0">
|
||||||
<div className="max-w-6xl mx-auto flex flex-col md:flex-row justify-between gap-8">
|
<div className="max-w-6xl mx-auto flex flex-col md:flex-row justify-between gap-8">
|
||||||
{/* Useful Links */}
|
{/* Useful Links */}
|
||||||
<div className="min-w-[200px] mb-8 md:mb-0 flex-1">
|
<div className="min-w-[200px] mb-8 md:mb-0 flex-1">
|
||||||
@ -21,14 +21,12 @@ export default function Footer() {
|
|||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link href="https://www.dysoninstitute.ac.uk/about-us/governance/privacy-notices/"
|
<Link href="https://www.dysoninstitute.ac.uk/about-us/governance/privacy-notices/" className="hover:underline">
|
||||||
className="hover:underline">
|
|
||||||
Privacy policy
|
Privacy policy
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link href="https://privacy.dyson.com/en/globalcookiepolicy.aspx"
|
<Link href="https://privacy.dyson.com/en/globalcookiepolicy.aspx" className="hover:underline">
|
||||||
className="hover:underline">
|
|
||||||
Cookies policy
|
Cookies policy
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
@ -60,25 +58,13 @@ export default function Footer() {
|
|||||||
<div className="flex space-x-3">
|
<div className="flex space-x-3">
|
||||||
{/* Replace src with your icon URLs, or use next/image if preferred */}
|
{/* Replace src with your icon URLs, or use next/image if preferred */}
|
||||||
<a href="#" target="_blank" rel="noopener noreferrer">
|
<a href="#" target="_blank" rel="noopener noreferrer">
|
||||||
<img
|
<img src="instagram.png" alt="instagram" className="h-7 w-7 rounded-full shadow" />
|
||||||
src="instagram.png"
|
|
||||||
alt="instagram"
|
|
||||||
className="h-7 w-7 rounded-full shadow"
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
<a href="#" target="_blank" rel="noopener noreferrer">
|
<a href="#" target="_blank" rel="noopener noreferrer">
|
||||||
<img
|
<img src="linkedin.png" alt="linkedin" className="h-7 w-7 rounded-full shadow" />
|
||||||
src="linkedin.png"
|
|
||||||
alt="linkedin"
|
|
||||||
className="h-7 w-7 rounded-full shadow"
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
<a href="#" target="_blank" rel="noopener noreferrer">
|
<a href="#" target="_blank" rel="noopener noreferrer">
|
||||||
<img
|
<img src="x_logo.jpg" alt="X" className="h-7 w-7 rounded-full shadow" />
|
||||||
src="x_logo.jpg"
|
|
||||||
alt="X"
|
|
||||||
className="h-7 w-7 rounded-full shadow"
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user