Commit e101ae33 authored by 박상호's avatar 박상호 🎼
Browse files

647

parent 590833cf
import React from 'react' import React from 'react'
import { Tab, Tabs, Card, Image, Button, Container, Row, Col } from 'react-bootstrap' import { Tab, Tabs, Card, Image, Container, Row, Col, Table, Badge } from 'react-bootstrap'
import mypagetiger from '../mypagetiger.svg'; import mypagetiger from '../mypagetiger.svg';
import person from '../person.svg'; import person from '../person.svg';
function Mypage() { function Mypage() {
return ( return (
<Container className="px-5 justify-content-center">
<Container className="justify-content-center py-5"> <h3 className="my-4 mx-3 font-weight-bold">My Page</h3>
<article id="top" class="wrapper style1"> <div className="p-3">
<Card className="px-3 py-3"> <Card md={3} className="p-3 mb-4" style={{ background: '#F7F3F3' }}>
<Row className="px-3"> <Row>
<Image src={person} roundedCircle className="img-thumbnail mx-3 justify-content-center" /> <Col md={4} className="text-center ">
<Image src={person} roundedCircle className="img-thumbnail" />
</Col>
<Col> <Col>
<Row> <Row className="my-4 text-center">
<Col className="text-size-adjust">
<h1 className="my-4 justify-content-center"> <h2>
<Image src={mypagetiger} width={"30px"} /> <Image src={mypagetiger} width={"30px"} />
<strong> Login.user </strong> 환영합니다! <strong> Login.user</strong> <small>님, 환영합니다. </small>
</h1> <Badge className="badge-secondary">New</Badge>
환영합니다.
</Row> </h2>
</Col>
<Row className="justify-content-center"> </Row>
<Tabs defaultActiveKey="mypage" id="uncontrolled-tab-example">
<Tab eventKey="주문현황" title="주문현황"> <Row className="my-3 px-3">
</Tab> <Card.Body>
<Tab eventKey="배송중" title="배송중"> <Card.Text>Email : </Card.Text>
</Tab> <Card.Text>Address : </Card.Text>
<Tab eventKey="배송완료" title="배송완료"> </Card.Body>
</Tab>
</Tabs>
</Row> </Row>
</Col> </Col>
</Row> </Row>
</Card> </Card>
</article> <Row className="my-3 px-3">
<Table>
<thead style={{ background: '#F7F3F3' }}>
<tr>
<th scope="col">주문현황</th>
<th scope="col">배송중</th>
<th scope="col">배송완료</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
</tr>
</tbody>
</Table>
</Row>
</div>
</Container > </Container >
...@@ -46,4 +72,4 @@ function Mypage() { ...@@ -46,4 +72,4 @@ function Mypage() {
export default Mypage export default Mypage
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment