mrfakename's picture
fix ui
a2bc252
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spaces Dashboard</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: #0a0a0a;
color: #e5e5e5;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
text-align: center;
padding: 2rem;
}
h1 {
font-size: 1.5rem;
font-weight: 500;
letter-spacing: -0.02em;
margin-bottom: 0.5rem;
}
.subtitle {
color: #666;
font-size: 0.875rem;
margin-bottom: 3rem;
}
.login-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: transparent;
color: #e5e5e5;
padding: 10px 20px;
border: 1px solid #333;
border-radius: 6px;
text-decoration: none;
font-size: 0.875rem;
transition: border-color 0.2s, background 0.2s;
}
.login-btn:hover {
border-color: #555;
background: #111;
}
.login-btn svg {
width: 18px;
height: 18px;
}
</style>
</head>
<body>
<div class="container">
<h1>Spaces Dashboard</h1>
<p class="subtitle">Manage your Hugging Face Spaces</p>
<a href="/login" target="_blank" class="login-btn">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<path fill="#fff" d="M50 5C25.1 5 5 25.1 5 50s20.1 45 45 45 45-20.1 45-45S74.9 5 50 5z"/>
<path fill="#0a0a0a" d="M35 40c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm30 0c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z"/>
</svg>
Sign in with Hugging Face
</a>
</div>
</body>
</html>