Profile.js 1.17 KB
Newer Older
이재연's avatar
이재연 committed
1
2
import { Link } from "react-router-dom";

Kim, Chaerin's avatar
Kim, Chaerin committed
3
const Profile = () => {
이재연's avatar
이재연 committed
4
  const id = 1;
이재연's avatar
이재연 committed
5
  return (
이재연's avatar
이재연 committed
6
    <div className="container" style={{ background: "#FCF4FF" }}>
이재연's avatar
이재연 committed
7
8
9
10
11
12
13
14
15
      <>
        <div className="row">
          <form>
            <label
              class="form-label mx-2 my-4"
              style={{ fontSize: "18px", fontWeight: "bold" }}
            >
              프로필 정보
            </label>
이재연's avatar
이재연 committed
16
17
18
19
20
21
22
23
24
25
26
27
28
            <Link to={`/profile/${id}/update`}>
              <button
                type="button"
                className="btn btn-outline-white "
                style={{
                  background: "#E8B7FF",
                  fontSize: "13px",
                  fontWeight: "bold",
                }}
              >
                수정
              </button>
            </Link>
이재연's avatar
이재연 committed
29
30
31
          </form>
          <div className="col"></div>
          <div className="col">
이재연's avatar
이재연 committed
32
33
34
          <div className="d-flex justify-content-center">
                <img src="/image2.jpg" className="rounded-circle" style={{height:'320px', width:'320px'}}/>
              </div>
이재연's avatar
이재연 committed
35
36
          </div>
          <div className="col"></div>
Kim, Chaerin's avatar
Kim, Chaerin committed
37
        </div>
이재연's avatar
이재연 committed
38
39
40
      </>
    </div>
  );
Kim, Chaerin's avatar
Kim, Chaerin committed
41
42
43
};

export default Profile;