first commit

This commit is contained in:
hayato5246
2026-03-31 19:32:59 +09:00
commit d10b794c9f
78 changed files with 1671595 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
{{define "login.html"}}
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>로그인 - 주식 시세</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 min-h-screen flex items-center justify-center">
<div class="bg-white rounded-2xl shadow-lg w-full max-w-sm p-8">
<div class="text-center mb-8">
<h1 class="text-2xl font-bold text-gray-800">📈 주식 시세</h1>
<p class="text-sm text-gray-400 mt-1">로그인이 필요한 서비스입니다.</p>
</div>
{{ if .Error }}
<div class="mb-4 px-4 py-3 bg-red-50 border border-red-200 rounded-lg">
<p class="text-sm text-red-600">{{ .Error }}</p>
</div>
{{ end }}
<form method="POST" action="/login" class="space-y-4">
<input type="hidden" name="next" value="{{ .Next }}">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">아이디</label>
<input
type="text"
name="id"
placeholder="아이디를 입력하세요"
autocomplete="username"
required
class="w-full px-4 py-2.5 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400"
>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">비밀번호</label>
<input
type="password"
name="password"
placeholder="비밀번호를 입력하세요"
autocomplete="current-password"
required
class="w-full px-4 py-2.5 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400"
>
</div>
<button
type="submit"
class="w-full py-2.5 px-4 bg-blue-600 hover:bg-blue-700 text-white text-sm font-semibold rounded-lg transition-colors mt-2">
로그인
</button>
</form>
</div>
</body>
</html>
{{end}}