all-page-under-session
This commit is contained in:
@@ -3,7 +3,7 @@ import Link from 'next/link'
|
||||
|
||||
|
||||
export default function NavBar() {
|
||||
const { data: session } = useSession()
|
||||
const { data: session } = useSession()
|
||||
// console.log(session)
|
||||
if (session) {
|
||||
return (
|
||||
@@ -32,6 +32,18 @@ export default function NavBar() {
|
||||
<button onClick={() => signIn()}>Sign in</button>
|
||||
</>
|
||||
)
|
||||
// return (
|
||||
// <div className='container mx-auto flex-col justify-center place-items-center 2xl:px-[500px] mt-24 '>
|
||||
// <>
|
||||
// <div className='grid grid-rows-2 lg:py-56 rounded-xl place-items-center bg-[#FFF6F2]'>
|
||||
// <p className='text-center text-2xl italic'>Logged out Successfully </p>
|
||||
// <button onClick={() => signIn()} className="bg-[#FE4501] w-fit px-6 py-1.5 rounded-lg text-white font-bold text-xl">Sign in Now</button>
|
||||
// </div>
|
||||
|
||||
// </>
|
||||
// </div>
|
||||
|
||||
// )
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user