login.tsx 1.99 KB
Newer Older
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
1
2
3
4
5
6
7
8
import { Link, Outlet } from "react-router-dom";
import React from "react";

export default function Login () {
    return (
    <div>
        <div className="flex flex-col grid grid-rows-2 place-items-center">
        
Kim, MinGyu's avatar
Kim, MinGyu committed
9
            <div className="w-1/2 h-1/2 md:w-40 md:h-40 bg-red-400 place-self-center ">
Kim, MinGyu's avatar
처음    
Kim, MinGyu committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
            <Link to="/">Travel Report</Link>
            </div>

            <div className="flex-row w-full h-80 md:w-1/2 bg-amber-300 grid place-items-center">
                
                <div className="flex flex-col w-full md:flex-row ">

                    <div className="flex flex-col w-full">

                        <input className="placeholder:italic placeholder:text-slate-300 block
                        bg-white border border-slate-500 rounded-md 
                        py-2 pl-9 pr-3 shadow-sm 
                        focus:outline-none focus:border-sky-500 focus:ring-sky-500 focus:ring-2 
                        " placeholder="Id" type="text" name="Id"/>
                        <input className="placeholder:italic placeholder:text-slate-300 block 
                        bg-white border border-slate-500 rounded-md 
                        py-2 pl-9 pr-3 shadow-sm 
                        focus:outline-none focus:border-sky-500 focus:ring-sky-500 focus:ring-1 
                        " placeholder="Password" type="text" name="Password"/>

                    </div>

                    <button className="w-full bg-sky-600 hover:bg-sky-700 ...">
                    Log-in
                    </button>
                </div>
            
            </div>
        
        
        </div>
        <div className="flex-row relative w-full h-20 grid place-items-center">
            <button className="bg-white  left-1 top-0">
                <Link to="/signup">회원가입</Link>
            </button>
            <button className="bg-white  left-2 top-0">
                <Link to="/forgot">비밀번호 찾기</Link>
            </button>
        </div>
    </div> // Login Page
    );
  }