diff --git a/tubearchivist/www/src/components/Nav.tsx b/tubearchivist/www/src/components/Nav.tsx index 897bfdd..5fd443a 100644 --- a/tubearchivist/www/src/components/Nav.tsx +++ b/tubearchivist/www/src/components/Nav.tsx @@ -1,33 +1,40 @@ import NextImage from "next/image"; +import NextLink from "next/link"; import BannerDark from "../images/banner-tube-archivist-dark.png"; import IconSearch from "../images/icon-search.svg"; import IconGear from "../images/icon-gear.svg"; import IconExit from "../images/icon-exit.svg"; +import { signIn, signOut, useSession } from "next-auth/react"; /** TODO: Fix these nav links */ export const Nav = () => { + const { data: session } = useSession(); return (
- - {/* {% if colors == 'dark */} - - {/* {% endif %} */} - {/* {% if colors == 'light */} - {/* tube-archivist-banner */} - {/* {% endif %} */} - + + + {/* {% if colors == 'dark */} + + {/* {% endif %} */} + {/* {% if colors == 'light */} + {/* tube-archivist-banner */} + {/* {% endif %} */} + +
- -
home
-
+ + +
home
+
+
channels
@@ -57,7 +64,10 @@ export const Nav = () => { title="Settings" /> - + signOut() : () => signIn()} + >