resto-epi/views/index.ejs
2025-08-27 09:19:44 +02:00

15 lines
321 B
Text

<!DOCTYPE html>
<html>
<head>
<title>Accueil</title>
</head>
<body>
<% if (user) { %>
<h1>Bienvenue, <%= user.username %>!</h1>
<a href="/logout">Déconnexion</a>
<% } else { %>
<h1>Bienvenue sur Resto-EPI</h1>
<a href="/auth/discord">Connexion/Inscription via Discord</a>
<% } %>
</body>
</html>