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.
Some checks failed
CI / Bot (Python) (push) Successful in 12s
CI / Dashboard (Next.js) (push) Failing after 8s

This commit is contained in:
TheOnlyMace
2026-07-21 22:19:13 +02:00
parent 8294c1b4f7
commit 9006b06c09
10 changed files with 229 additions and 59 deletions

View File

@@ -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>