45 lines
3.1 KiB
HTML
45 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Hello Web - URL Shortener</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0f172a; color: #e2e8f0; }
|
|
.container { max-width: 900px; margin: 0 auto; padding: 2rem; }
|
|
h1 { text-align: center; font-size: 2.5rem; margin-bottom: 0.5rem; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
|
.subtitle { text-align: center; color: #94a3b8; margin-bottom: 2rem; }
|
|
.card { background: #1e293b; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
|
|
.input-group { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
|
|
input { flex: 1; padding: 0.75rem 1rem; border: 2px solid #334155; border-radius: 8px; background: #0f172a; color: #e2e8f0; font-size: 1rem; outline: none; transition: border-color 0.2s; }
|
|
input:focus { border-color: #667eea; }
|
|
button { padding: 0.75rem 1.5rem; background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform 0.1s, opacity 0.2s; }
|
|
button:hover { opacity: 0.9; transform: translateY(-1px); }
|
|
button:active { transform: translateY(0); }
|
|
.result { padding: 1rem; background: #0f172a; border-radius: 8px; margin-top: 1rem; word-break: break-all; }
|
|
.result a { color: #667eea; text-decoration: none; }
|
|
.result a:hover { text-decoration: underline; }
|
|
.error { color: #f87171; margin-top: 0.5rem; }
|
|
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
|
|
.stat-card { background: #0f172a; padding: 1rem; border-radius: 8px; text-align: center; }
|
|
.stat-value { font-size: 2rem; font-weight: 700; color: #667eea; }
|
|
.stat-label { color: #94a3b8; font-size: 0.875rem; margin-top: 0.25rem; }
|
|
table { width: 100%; border-collapse: collapse; }
|
|
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #334155; }
|
|
th { color: #94a3b8; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; }
|
|
td a { color: #667eea; text-decoration: none; }
|
|
td a:hover { text-decoration: underline; }
|
|
.badge { display: inline-block; padding: 0.25rem 0.5rem; background: #667eea22; color: #667eea; border-radius: 4px; font-size: 0.875rem; }
|
|
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
|
|
.tab { padding: 0.5rem 1rem; background: #0f172a; border: 2px solid #334155; border-radius: 8px; cursor: pointer; transition: all 0.2s; }
|
|
.tab.active { border-color: #667eea; background: #667eea22; }
|
|
.custom-alias { margin-bottom: 1rem; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.jsx"></script>
|
|
</body>
|
|
</html>
|