import { Link } from 'react-router-dom'; const PROVIDERS = [ { id: 'discord', label: 'Discord' }, { id: 'github', label: 'GitHub' }, { id: 'google', label: 'Google' }, { id: 'twitch', label: 'Twitch' }, ] as const; export default function LoginPage() { const base = import.meta.env.VITE_SUPEROAUTH_URL; const redirectUrl = encodeURIComponent(window.location.origin + '/callback'); return (
OD

Connexion

Choisis ton provider pour continuer

{PROVIDERS.map(({ id, label }) => ( {label} ))}
← Retour
); }