joschan21 / quill

Quill - A Modern SaaS-Platform Built With Next.js 13
1.91k stars 514 forks source link

Navbar issues #46

Open DokLaw opened 12 months ago

DokLaw commented 12 months ago

Hello there! Sign in, Get started, Pricing don't appear in the Navbar even though everything is correct in the code. Can anybody help? Thanks a lot.

baxsm commented 12 months ago

share your navbar code

DokLaw commented 12 months ago

import Link from 'next/link' import MaxWidthWrapper from './MaxWidthWrapper' import { buttonVariants } from './ui/button' import { LoginLink, RegisterLink, getKindeServerSession, } from '@kinde-oss/kinde-auth-nextjs/server' import { ArrowRight } from 'lucide-react'

const Navbar = () => { const { getUser } = getKindeServerSession() const user = getUser()

return (

) }

export default Navbar

DokLaw commented 12 months ago

import Link from 'next/link' import MaxWidthWrapper from './MaxWidthWrapper' import { buttonVariants } from './ui/button' import { LoginLink, RegisterLink, getKindeServerSession, } from '@kinde-oss/kinde-auth-nextjs/server' import { ArrowRight } from 'lucide-react'

const Navbar = () => { const { getUser } = getKindeServerSession() const user = getUser()

return (

) }

export default Navbar

DokLaw commented 12 months ago

import Link from 'next/link' import MaxWidthWrapper from './MaxWidthWrapper' import { buttonVariants } from './ui/button' import { LoginLink, RegisterLink, getKindeServerSession, } from @.***/kinde-auth-nextjs/server' import { ArrowRight } from 'lucide-react'

const Navbar = () => { const { getUser } = getKindeServerSession() const user = getUser()

return (

baxsm commented 12 months ago

The Pricing, Sign in etc will only show to users which are not logged in also in the latest kinde auth use await to get user

const { getUser } = getKindeServerSession()
const user = await getUser()
DokLaw commented 12 months ago

Thanks so much. It works. Again thank you. John.

On Mon, Dec 4, 2023 at 9:32 AM Bobby Aleem @.***> wrote:

The Pricing, Sign in etc will only show to users which are not logged in also in the latest kinde auth use await to get user

const { getUser } = getKindeServerSession() const user = await getUser()

— Reply to this email directly, view it on GitHub https://github.com/joschan21/quill/issues/46#issuecomment-1839138182, or unsubscribe https://github.com/notifications/unsubscribe-auth/BENH2WAL2ZMFM63FWHBJWSDYHYCMHAVCNFSM6AAAAABAFLIYUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGEZTQMJYGI . You are receiving this because you authored the thread.Message ID: @.***>

--

Dr. John Adu, LLM, Ph.D.

CEO & Founder, Negus & Co. 1142 Florida Street, # 5, San Francisco, CA

  1. Tel: 415-678-7296. Email: @.*** www.neguco.com
LukeWebster-Khan commented 10 months ago

@DokLaw if this is fixed can you mark the issue as resolved please? Cheers