mirror of https://github.com/certusone/oyster.git
feat: art
This commit is contained in:
parent
9c4bca5f9c
commit
8637ffdd4e
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import { Row, Card } from 'antd';
|
||||
import { Row, Col, Card } from 'antd';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import { useArt } from './../../hooks';
|
||||
|
||||
|
@ -7,15 +7,32 @@ export const ArtView = () => {
|
|||
const { id } = useParams<{ id: string }>();
|
||||
const art = useArt(id);
|
||||
|
||||
const image = `/img/auction2.jpg`
|
||||
const image = `img/auction2.jpg`
|
||||
|
||||
return (
|
||||
<>
|
||||
<Row>
|
||||
<Card className="custom-card" cover={<img src={image} />}>
|
||||
<Row>
|
||||
<Col span={12} offset={6}>
|
||||
<Row>
|
||||
<Card className="custom-card" cover={<img src={image} />}>
|
||||
|
||||
</Card>
|
||||
</Row>
|
||||
</>
|
||||
</Card>
|
||||
</Row>
|
||||
<Row>
|
||||
<h2>Title</h2>
|
||||
</Row>
|
||||
<Row>
|
||||
<label>Created By</label>
|
||||
<h2>Title</h2>
|
||||
</Row>
|
||||
<Row>
|
||||
<label>Creator Royalties</label>
|
||||
<h2>Title</h2>
|
||||
</Row>
|
||||
<Row>
|
||||
<label>About the Creation</label>
|
||||
<h2>Title</h2>
|
||||
</Row>
|
||||
</Col>
|
||||
</Row>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue