mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
comments mock
This commit is contained in:
parent
bdf7ba1ccb
commit
2a6604afaf
18 changed files with 340 additions and 12 deletions
|
@ -1,9 +1,37 @@
|
|||
import React, { FC } from 'react';
|
||||
import { Card } from "~/components/containers/Card";
|
||||
import * as styles from './styles.scss';
|
||||
import { Group } from "~/components/containers/Group";
|
||||
import { Padder } from "~/components/containers/Padder";
|
||||
import range from 'ramda/es/range';
|
||||
import { Comment } from "~/components/node/Comment";
|
||||
|
||||
interface IProps {}
|
||||
|
||||
const ImageExample: FC<IProps> = () => (
|
||||
<div>image example</div>
|
||||
<Card>
|
||||
<Group>
|
||||
<div className={styles.image_container} />
|
||||
|
||||
<Padder horizontal>
|
||||
<Group horizontal>
|
||||
<Group className={styles.comments}>
|
||||
{
|
||||
range(1,6).map(el => (
|
||||
<Comment
|
||||
key={el}
|
||||
/>
|
||||
))
|
||||
}
|
||||
</Group>
|
||||
|
||||
<div className={styles.panel}>
|
||||
|
||||
</div>
|
||||
</Group>
|
||||
</Padder>
|
||||
</Group>
|
||||
</Card>
|
||||
);
|
||||
|
||||
export { ImageExample };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue