HomeProfile.js 889 Bytes
Newer Older
Kim, Chaerin's avatar
Kim, Chaerin committed
1
import { Link } from "react-router-dom";
우지원's avatar
0628    
우지원 committed
2

Kim, Chaerin's avatar
Kim, Chaerin committed
3
const HomeProfile = () => {
Kim, Chaerin's avatar
Kim, Chaerin committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  const id = 1;
  return (
    <Link to={`/profile/${id}`} className="text-decoration-none text-dark">
      <form className="flex-column align-items-center justify-content-center m-2">
        <div className="d-flex justify-content-center">
          <img
            src="cherry.jpg"
            className="rounded-circle"
            style={{
              width: "157px",
              height: "157px",
              borderStyle: "solid",
              borderColor: "#262626",
            }}
          />
        </div>
        <h1 className="d-flex justify-content-center"> CHERRY </h1>
        <h2 className="d-flex justify-content-center"> #0805 </h2>
      </form>
      <div
        style={{ backgroundColor: "#262626", width: "auto", height: "2px" }}
      />
    </Link>
  );
Kim, Chaerin's avatar
Kim, Chaerin committed
28
29
30
};

export default HomeProfile;