Enhance Discord integration by adding optional bot permissions in environment files and updating the dashboard to include an "Add Bot to your Server" button. Refactor authentication logic to handle token refresh and improve error handling for Discord sessions. Update placeholder text for better clarity in the search input field.
This commit is contained in:
@@ -114,9 +114,11 @@ export default function LandingPage() {
|
||||
<LayoutDashboard className="h-6 w-6 group-hover:rotate-12 transition-transform" />
|
||||
Open Dashboard
|
||||
</Button>
|
||||
<Button variant="outline" className="w-full sm:w-auto rounded-2xl px-14 py-9 text-lg font-bold border-white/5 bg-white/[0.02] backdrop-blur-3xl hover:bg-white/[0.05] gap-3 text-white transition-all">
|
||||
Add to Server
|
||||
<ChevronRight className="h-5 w-5 opacity-40 group-hover:translate-x-1 transition-transform" />
|
||||
<Button variant="outline" className="w-full sm:w-auto rounded-2xl px-14 py-9 text-lg font-bold border-white/5 bg-white/[0.02] backdrop-blur-3xl hover:bg-white/[0.05] gap-3 text-white transition-all" asChild>
|
||||
<a href="/api/invite" target="_blank" rel="noopener noreferrer">
|
||||
Add to Server
|
||||
<ChevronRight className="h-5 w-5 opacity-40 group-hover:translate-x-1 transition-transform" />
|
||||
</a>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user