Home.js 6.08 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import React, { useState, useEffect, useRef } from 'react';
Kim, Subin's avatar
Kim, Subin committed
2
import { Card, Container, Row } from 'react-bootstrap';
3

Kim, Subin's avatar
Kim, Subin committed
4
5

function Home() {
kusang96's avatar
kusang96 committed
6
7
8
    


Kim, Subin's avatar
Kim, Subin committed
9
10
    return (
        <div>
kusang96's avatar
kusang96 committed
11
12
            <Container className="my-5">
                <div className="my-4">
kusang96's avatar
kusang96 committed
13
                    <h2 style={{ marginRight: "5rem", marginLeft: "3rem", marginBottom: "2rem" }}><u>Best</u></h2>
kusang96's avatar
kusang96 committed
14
15
                    <Row className="justify-content-center mx-0">
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
16
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
17
18
19
20
21
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
22
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
23
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
24
25
26
27
28
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
29
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
30
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
31
32
33
34
35
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
36
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
37
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
38
39
40
41
42
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
43
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
44
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
45
46
47
48
49
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
50
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
51
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
52
53
54
55
56
57
58
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
                    </Row>
                </div>
kusang96's avatar
kusang96 committed
59
                <div className="my-4">
kusang96's avatar
kusang96 committed
60
                    <h2 style={{ marginRight: "5rem", marginLeft: "3rem", marginBottom: "2rem", marginTop: "2rem" }}><u>New Arrival</u></h2>
kusang96's avatar
kusang96 committed
61
62
                    <Row className="justify-content-center mx-0">
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
63
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
64
65
66
67
68
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
69
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
70
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
71
72
73
74
75
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
76
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
77
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
78
79
80
81
82
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
83
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
84
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
85
86
87
88
89
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
90
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
91
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
92
93
94
95
96
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
kusang96's avatar
kusang96 committed
97
                        <Card className="mx-1 my-2" style={{ width: '18rem' }}>
이재연's avatar
zz    
이재연 committed
98
                            <Card.Img className="img-fluid" variant="top" src="/icon/asd.jpg" />
99
100
101
102
103
104
105
106
                            <Card.Body>
                                <Card.Title className="font-weight-bold">제품명</Card.Title>
                                <Card.Text>가격</Card.Text>
                            </Card.Body>
                        </Card>
                    </Row>
                </div>
            </Container>
Kim, Subin's avatar
Kim, Subin committed
107
108
109
110
111
        </div>
    )
}

export default Home