diff --git a/src/components/DisplayChapterInfo.tsx b/src/components/DisplayChapterInfo.tsx index 4b94caa1..01aa4c14 100644 --- a/src/components/DisplayChapterInfo.tsx +++ b/src/components/DisplayChapterInfo.tsx @@ -107,7 +107,7 @@ const DisplayChapterInfo = ({ ].map((value) => (
{value}
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 8ce36b3b..fc20d302 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -6,6 +6,7 @@ import Link from "next/link"; import { useAuth } from "@hooks"; import logoicon from "../../public/landing/newlegacy-logo.svg"; import Image from "next/image"; +import { usePathname } from "next/navigation"; const NAV_ITEMS = [ { @@ -27,6 +28,7 @@ const Navbar = () => { const handleMenuClick: React.MouseEventHandler = () => { setDropdownVisible((visible) => !visible); }; + const path = usePathname(); const { status, onSignIn } = useAuth(); useEffect(() => { @@ -91,14 +93,18 @@ const Navbar = () => { href={href} onClick={() => setDropdownVisible(false)} > -
+
{name}
))} diff --git a/src/components/NewChapterForm.tsx b/src/components/NewChapterForm.tsx index b8edffd6..1eb54433 100644 --- a/src/components/NewChapterForm.tsx +++ b/src/components/NewChapterForm.tsx @@ -55,14 +55,14 @@ const NewChapterForm = () => { return (
-
+
-
First Name
+
First Name
{ className="text-sunset-orange" size="xs" /> -

{message}

+

{message}

)} />
-
Last Name
+
Last Name
{ className="text-sunset-orange" size="xs" /> -

{message}

+

{message}

)} />
-
University Email
+
University Email
{ className="text-sunset-orange" size="xs" /> -

{message}

+

{message}

)} />
-
Phone Number
+
Phone Number
{ className="text-sunset-orange" size="xs" /> -

{message}

+

{message}

)} />
-
College / University
+
College / University
{ className="text-sunset-orange" size="xs" /> -

{message}

+

{message}

)} />
-
College / University Address
+
College / University Address
{ className="text-sunset-orange" size="xs" /> -

{message}

+

{message}

)} /> @@ -187,13 +187,13 @@ const NewChapterForm = () => {
-
+
Do you have any experience in student leadership / club organization / storytelling?