heystreamer/views/login.ejs
2026-11-20 18:55:47 +01:00

34 lines
1.4 KiB
Text

<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HeyStreamer — Login</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
<style>
body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { width: 100%; max-width: 380px; text-align: center; }
.login-box h1 { margin-bottom: 0.25rem; }
.login-box p { color: var(--pico-muted-color); margin-bottom: 2rem; }
.twitch-btn {
display: inline-flex; align-items: center; gap: 0.5rem;
background: #9146ff; color: #fff; border: none;
padding: 0.75rem 1.5rem; border-radius: 6px;
font-size: 1rem; font-weight: 600; cursor: pointer;
text-decoration: none;
}
.twitch-btn:hover { background: #7c2ff5; color: #fff; }
</style>
</head>
<body>
<div class="login-box">
<h1>HeyStreamer</h1>
<p>Self-hosted Twitch stream overlay</p>
<a class="twitch-btn" href="/auth/twitch">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714z"/></svg>
Login with Twitch
</a>
</div>
</body>
</html>