From a26b79d84d980d19de4d6b1febd0aeff4cffdc59 Mon Sep 17 00:00:00 2001 From: Bhav Beri Date: Tue, 11 Jun 2024 10:33:46 +0530 Subject: [PATCH] Made changes for accomodating new life website --- .../{clubs-council => }/cc-members/page.jsx | 0 src/app/about/{clubs-council => }/content.mdx | 0 src/app/about/life/page.jsx | 5 +++++ src/app/about/{clubs-council => }/page.jsx | 0 .../{clubs-council => }/tech-members/page.jsx | 0 src/components/Layout.jsx | 16 +++++++++++----- 6 files changed, 16 insertions(+), 5 deletions(-) rename src/app/about/{clubs-council => }/cc-members/page.jsx (100%) rename src/app/about/{clubs-council => }/content.mdx (100%) create mode 100644 src/app/about/life/page.jsx rename src/app/about/{clubs-council => }/page.jsx (100%) rename src/app/about/{clubs-council => }/tech-members/page.jsx (100%) diff --git a/src/app/about/clubs-council/cc-members/page.jsx b/src/app/about/cc-members/page.jsx similarity index 100% rename from src/app/about/clubs-council/cc-members/page.jsx rename to src/app/about/cc-members/page.jsx diff --git a/src/app/about/clubs-council/content.mdx b/src/app/about/content.mdx similarity index 100% rename from src/app/about/clubs-council/content.mdx rename to src/app/about/content.mdx diff --git a/src/app/about/life/page.jsx b/src/app/about/life/page.jsx new file mode 100644 index 00000000..ce181910 --- /dev/null +++ b/src/app/about/life/page.jsx @@ -0,0 +1,5 @@ +import { redirect } from "next/navigation"; + +export default async function Life() { + redirect('https://life.iiit.ac.in/'); +} diff --git a/src/app/about/clubs-council/page.jsx b/src/app/about/page.jsx similarity index 100% rename from src/app/about/clubs-council/page.jsx rename to src/app/about/page.jsx diff --git a/src/app/about/clubs-council/tech-members/page.jsx b/src/app/about/tech-members/page.jsx similarity index 100% rename from src/app/about/clubs-council/tech-members/page.jsx rename to src/app/about/tech-members/page.jsx diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index d45130e7..1fdd3aad 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -111,11 +111,11 @@ function Drawer({ drawerOpen, onCloseDrawer }) { path="/clubs" icon={} /> - } - /> + /> */} } + path="/about" + icon={} + // icon={} /> } + /> + {/* } - /> + /> */} );