diff --git a/index.html b/index.html index 6c2148b..9ae4e0b 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ LUGVITC +
diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index e3285bb..92888df 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -3,6 +3,7 @@ import { Link } from "react-router-dom"; import "./navbar.scss"; import { useContext, useEffect, useRef } from "react"; import { SessionContext, supabase } from "../supabase"; +import { booking, rec_open, results } from "../pages"; export default function NavBar() { const session = useContext(SessionContext); @@ -28,7 +29,7 @@ export default function NavBar() {
Home - Results + { results ? (Results) : (booking ? (Book) : (rec_open ? (Apply) : ""))} {session !== null ? (
)) : ""} - {values.apps.length + count < 2 && ( + {values.apps.length + count < preferences && ( <>