Skip to content

Commit

Permalink
Merge pull request #7 from PjrCodes/main
Browse files Browse the repository at this point in the history
add redirect for foundation day
  • Loading branch information
ThisAbhinav authored Feb 17, 2024
2 parents 9d011e3 + d8d7081 commit b281509
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/Topnav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import leap_logo from "@/media/images/leap_logo.svg";
import Link from "next/link";
const TopNav = () => {
return (
<div className="p-3">
<div className="p-3 flex justify-between items-stretch">
<Link href="/">
<Image src={leap_logo} width={100} alt="Picture of the author" />
</Link>

<div className="self-center mr-6">Exciting new website coming soon!</div>
</div>
);
};
Expand Down
12 changes: 11 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
async redirects() {
return [
{
source: "/redirect-event",
destination: "/",
permanent: true,
},
];
},
};

module.exports = nextConfig;

0 comments on commit b281509

Please sign in to comment.