login.tsx 1.98 KB
Newer Older
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
1
import { Link, } from "react-router-dom";
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
2
3
import React from "react";

Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
4
5


Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
6
7
export default function Login () {
    return (
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
8
        
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
9
    <div>
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
10
        <div className="flex flex-row grid grid-rows-2">
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
11
        
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
12
            <div className=" p-12 w-1/2 h-1/2 md:w-40 md:h-40 bg-red-400 place-self-center rounded-2xl">
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
13
14
15
            <Link to="/">Travel Report</Link>
            </div>

Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
16
            <div className=" flex-row w-auto h-60 md:w-1/2 bg-white border-2 border-black grid place-items-center rounded-xl place-self-center">
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
17
                
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
18
                <div className="flex flex-col w-full  md:flex-row md:p-20 md:gap-10">
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
19

Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
20
                    <div className="flex flex-col md:w-2/3 md:gap-2">
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
21

Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
22
23
24
25
                        <input className="placeholder:text-slate-300
                        bg-white border border-slate-500 rounded-2xl
                        py-2 pl-9 pr-3 
                        focus:border-black
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
26
                        " placeholder="Id" type="text" name="Id"/>
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
27
28
29
30
                        <input className="placeholder:italic placeholder:text-slate-300
                        bg-white border border-slate-500 rounded-2xl
                        py-2 pl-9 pr-3 
                        focus:border-black
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
31
32
33
34
                        " placeholder="Password" type="text" name="Password"/>

                    </div>

Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
35
36
37
38
39
40
41
42
43
44
45
                    <button className="md:w-1/3 bg-sky-600 hover:bg-sky-700 rounded-xl">
                    login
                    </button>
                </div>
                <div className="flex-row grid grid-cols-3">
                    <button className="bg-white bottom-0 right-0">
                        <Link to="/signup">회원가입</Link>
                    </button>
                    <div></div>
                    <button className="bg-white inset-x-0">
                        <Link to="/forgot">비밀번호 찾기</Link>
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
46
47
48
49
50
51
                    </button>
                </div>
            </div>
        
        
        </div>
Kim, MinGyu's avatar
signup    
Kim, MinGyu committed
52
        
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
53
54
55
    </div> // Login Page
    );
  }