LoginPage.tsx 1.17 KB
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
3
import React from "react";
import "tailwindcss/tailwind.css";

Jiwon Yoon's avatar
Jiwon Yoon committed
4
// type LoginProps = {
Jiwon Yoon's avatar
Jiwon Yoon committed
5

Jiwon Yoon's avatar
Jiwon Yoon committed
6
// };
Jiwon Yoon's avatar
Jiwon Yoon committed
7

Jiwon Yoon's avatar
Jiwon Yoon committed
8
const LoginPage = () => (
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
    <div className="flex justify-center mt-3">
        <div className="text-slate-300 text-xl font-bold">
            <label className="block text-gray-700 text-sm font-bold mb-2 mt-3">
                이메일
            </label>
            <input
                className="shadow appearance-none border rounded  py-2 px-3 text-gray-70"
                id="email"
                type="email"
                placeholder="이메일을 입력하세요"
            />

            <label className="block text-gray-700 text-sm font-bold mb-2 mt-3">
                비밀번호
            </label>
            <input
                className="shadow appearance-none border rounded py-2 px-3 text-gray-70"
                id="username"
                type="password"
                placeholder="비밀번호를 입력하세요"
            />
            <div className='text-center'>
                <button className="bg-themeColor text-white border rounded w-100 py-2 px-3 mt-3">로그인</button>
            </div>
        </div>
Jiwon Yoon's avatar
Jiwon Yoon committed
34
    </div>
35
36
);

Jiwon Yoon's avatar
Jiwon Yoon committed
37
export default LoginPage;