Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The missing login button in <ChatHeader>component #550

Open
rockywangxiaolei opened this issue Nov 17, 2024 · 2 comments
Open

The missing login button in <ChatHeader>component #550

rockywangxiaolei opened this issue Nov 17, 2024 · 2 comments

Comments

@rockywangxiaolei
Copy link

rockywangxiaolei commented Nov 17, 2024

Accroding to the https://chat.vercel.ai/, there supposed to be a login button on the right top of the page.

however if we check the source code in (under chat-header), there is no login button actucally.

Am i wrong maybe it has been moved to another place?

<ModelSelector selectedModelId={selectedModelId} className="order-1 md:order-2" /> <Button className="bg-zinc-900 dark:bg-zinc-100 hover:bg-zinc-800 dark:hover:bg-zinc-200 text-zinc-50 dark:text-zinc-900 hidden md:flex py-1.5 px-2 h-fit md:h-[34px] order-4 md:ml-auto" asChild > <Link href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fai-chatbot&env=AUTH_SECRET,OPENAI_API_KEY&envDescription=Learn%20more%20about%20how%20to%20get%20the%20API%20Keys%20for%20the%20application&envLink=https%3A%2F%2Fgithub.com%2Fvercel%2Fai-chatbot%2Fblob%2Fmain%2F.env.example&demo-title=AI%20Chatbot&demo-description=An%20Open-Source%20AI%20Chatbot%20Template%20Built%20With%20Next.js%20and%20the%20AI%20SDK%20by%20Vercel.&demo-url=https%3A%2F%2Fchat.vercel.ai&stores=%5B%7B%22type%22:%22postgres%22%7D,%7B%22type%22:%22blob%22%7D%5D" target="_noblank" > <VercelIcon size={16} /> Deploy with Vercel </Link> </Button> **_### <missing login button/>_** </header>

@angelhodar
Copy link

angelhodar commented Nov 17, 2024

The version in https://chat.vercel.ai is probably a fork of this template with custom logic and some changes

@rockywangxiaolei
Copy link
Author

The version in https://chat.vercel.ai is probably a fork of this template with custom logic and some changes

maybe, but i see the the whole auth login in the source code, only missing the login button or link, so a little confused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants