Skip to content

Commit

Permalink
Create Footer.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanAnsari authored Oct 10, 2024
1 parent c2eb786 commit dd5430f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import React from "react";
import Link from "next/link"; // Importing Link from Next.js

const Footer: React.FC = () => {
return (
<footer className="bg-gray-900 text-gray-300 py-8">
<div className="max-w-6xl mx-auto px-4 flex flex-col md:flex-row justify-between items-center">
{/* Left Section: Links */}
<div className="mb-4 md:mb-0">
<nav className="flex flex-col md:flex-row gap-4">
<Link href="/dashboard" className="hover:underline">
Dashboard
</Link>
<Link href="/dashboard/upgrade" className="hover:underline">
Upgrade
</Link>
<Link href="https://arhanansari.vercel.app" target="_blank" rel="noopener noreferrer" className="hover:underline">
Portfolio
</Link>
</nav>
</div>

{/* Right Section: Credits */}
<div className="text-center">
<p>Developed by <Link href="https://arhanansari.vercel.app" target="_blank" className="text-blue-500 hover:underline">Arhan Ansari</Link></p>
</div>
</div>
</footer>
);
};

export default Footer;

0 comments on commit dd5430f

Please sign in to comment.