Files
flint/apps/web/app/login/page.tsx
T
Puechberty Arthur 3063796eb0 feat: introduce web dashboard with multi-bot management
- add Discord OAuth2 authentication
- allow users to register their bots via token
- implement dynamic bot start/stop system
- store bots in database (multi-tenant)
- replace single-bot env setup with scalable architecture
2026-04-18 01:39:12 +02:00

20 lines
647 B
TypeScript

const apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL ?? "http://localhost:4000";
export default function LoginPage() {
return (
<main className="page-shell">
<section className="panel panel-login reveal-up">
<p className="eyebrow">Discord Bot SaaS Platform</p>
<h1>Connecte ton compte Discord</h1>
<p>
Authentifie-toi via OAuth2 pour accéder à ton espace multi-tenant et piloter les bots de ton
organisation.
</p>
<a className="button-primary" href={`${apiBaseUrl}/auth/discord/login`}>
Continuer avec Discord
</a>
</section>
</main>
);
}