-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2eb786
commit dd5430f
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |