lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design LLMs/AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Bedrock / Azure / Mistral / Perplexity ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT chat application.
https://chat-preview.lobehub.com
Other
34.6k stars 8.12k forks source link

[Request] disable/hidden Clerk auth signup button #2915

Open nexusdiscord opened 2 weeks ago

nexusdiscord commented 2 weeks ago

🥰 Feature Description

Hello, I really like the Clerk look, can you provide an option to disable/hide the signup button on Clerk login?

🧐 Proposed Solution

like providing an option in the environment

📝 Additional Information

No response

lobehubbot commented 2 weeks ago

👀 @nexusdiscord

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 2 weeks ago

it seems a good idea to have a feature flag to disable/ hide the clerk signup button / page

hassnain9166 commented 1 week ago

please add this feature too thank you

hassni12 commented 1 week ago

🎉 Success! 🎉

I used the following code snippet to hide the footer action in the sign-in component, and it worked like a charm for me! 🚀

<ClerkLoaded>
  <SignIn
    path="/sign-in"
    appearance={{
      elements: {
        footerAction: { display: "none" },
      },
    }}
  />
</ClerkLoaded>

Give it a try and watch the magic happen! ✨💻


nexusdiscord commented 4 days ago

🎉 Success! 🎉

I used the following code snippet to hide the footer action in the sign-in component, and it worked like a charm for me! 🚀

<ClerkLoaded>
  <SignIn
    path="/sign-in"
    appearance={{
      elements: {
        footerAction: { display: "none" },
      },
    }}
  />
</ClerkLoaded>

Give it a try and watch the magic happen! ✨💻

I am not familiar with this. Where should I put this code?

arvinxx commented 2 days ago

@hassni12 PR welcome with a feature flag