kootaeng2 commited on
Commit
96b3478
ยท
1 Parent(s): 03e7aa0

Feat: Implement user login and registration system

Browse files
Files changed (1) hide show
  1. src/templates/login.html +90 -11
src/templates/login.html CHANGED
@@ -3,18 +3,97 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <title>๋กœ๊ทธ์ธ</title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  </head>
7
  <body>
8
- <h1>๋กœ๊ทธ์ธ</h1>
9
- <form method="post">
10
- <label for="username">์‚ฌ์šฉ์ž ์ด๋ฆ„:</label>
11
- <input type="text" id="username" name="username" required>
12
- <br><br>
13
- <label for="password">๋น„๋ฐ€๋ฒˆํ˜ธ:</label>
14
- <input type="password" id="password" name="password" required>
15
- <br><br>
16
- <button type="submit">๋กœ๊ทธ์ธ</button>
17
- </form>
18
- <p>๊ณ„์ •์ด ์—†์œผ์‹ ๊ฐ€์š”? <a href="/signup">ํšŒ์›๊ฐ€์ž…</a></p>
 
 
 
 
19
  </body>
20
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <title>๋กœ๊ทธ์ธ</title>
6
+ <style>
7
+ body {
8
+ font-family: "Spoqa Han Sans Neo", Arial, sans-serif;
9
+ padding: 50px;
10
+ background: linear-gradient(135deg, #ece9f7, #cacae0);
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ min-height: 100vh;
15
+ margin: 0;
16
+ }
17
+ .container {
18
+ background: white;
19
+ border-radius: 20px;
20
+ padding: 40px;
21
+ box-shadow: 0 8px 32px #0001;
22
+ width: 100%;
23
+ max-width: 450px;
24
+ box-sizing: border-box;
25
+ }
26
+ h1 {
27
+ color: #6598e5;
28
+ margin-bottom: 25px;
29
+ text-align: center;
30
+ font-size: 28px;
31
+ }
32
+ .form-group {
33
+ margin-bottom: 20px;
34
+ }
35
+ label {
36
+ display: block;
37
+ margin-bottom: 8px;
38
+ color: #555;
39
+ font-size: 16px;
40
+ }
41
+ input[type="text"],
42
+ input[type="password"] {
43
+ width: 100%;
44
+ border-radius: 8px;
45
+ border: 1px solid #d0d0e0;
46
+ padding: 14px;
47
+ font-size: 16px;
48
+ background: #f7f7fb;
49
+ box-sizing: border-box;
50
+ }
51
+ button {
52
+ width: 100%;
53
+ background: #6598e5;
54
+ color: white;
55
+ padding: 14px;
56
+ border-radius: 8px;
57
+ border: none;
58
+ font-size: 18px;
59
+ font-weight: bold;
60
+ cursor: pointer;
61
+ transition: 0.2s;
62
+ margin-top: 10px;
63
+ }
64
+ button:hover {
65
+ background: #5540a3;
66
+ }
67
+ p {
68
+ text-align: center;
69
+ margin-top: 20px;
70
+ color: #666;
71
+ }
72
+ a {
73
+ color: #6598e5;
74
+ text-decoration: none;
75
+ font-weight: bold;
76
+ }
77
+ a:hover {
78
+ text-decoration: underline;
79
+ }
80
+ </style>
81
  </head>
82
  <body>
83
+ <div class="container">
84
+ <h1>๋กœ๊ทธ์ธ</h1>
85
+ <form method="post">
86
+ <div class="form-group">
87
+ <label for="username">์‚ฌ์šฉ์ž ์ด๋ฆ„</label>
88
+ <input type="text" id="username" name="username" required>
89
+ </div>
90
+ <div class="form-group">
91
+ <label for="password">๋น„๋ฐ€๋ฒˆํ˜ธ</label>
92
+ <input type="password" id="password" name="password" required>
93
+ </div>
94
+ <button type="submit">๋กœ๊ทธ์ธ</button>
95
+ </form>
96
+ <p>๊ณ„์ •์ด ์—†์œผ์‹ ๊ฐ€์š”? <a href="/signup">ํšŒ์›๊ฐ€์ž…</a></p>
97
+ </div>
98
  </body>
99
  </html>