diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 98bb707..066108d 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -6,10 +6,8 @@ export default function Footer() { <>

- -

- alex@alexavfrantz.com -

+ + alex@alexavfrantz.com

diff --git a/src/components/header.tsx b/src/components/header.tsx index 2c11efa..3560833 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -1,5 +1,4 @@ import {useSession, signIn, signOut} from 'next-auth/react'; -import Head from 'next/head'; import HeaderItem from "./HeaderItem"; export default function Header() { @@ -12,7 +11,13 @@ export default function Header() {

- + { + if (status == "unauthenticated") { + await signIn() + } else { + await signOut() + } + }} linkTo="" />