1
0
mirror of https://github.com/fazo96/ipfs-boards synced 2025-01-30 15:44:20 +01:00
ipfs-boards/pages/b/[board]/p/[post].js

34 lines
891 B
JavaScript
Raw Normal View History

2019-10-22 23:38:21 +02:00
import React from 'react'
import { Fab, Card, CardContent, CardContentText, CardHeader, List, ListItem, ListItemAvatar, ListItemText } from '@material-ui/core'
import AddIcon from '@material-ui/icons/Add'
import ProfileIcon from '@material-ui/icons/AccountCircle'
const Post = () => {
return (
<React.Fragment>
<Card>
<CardHeader
title="First Post"
subheader="Last Activity X Time Ago"
/>
<CardContent>
<CardContentText>Lorem Ipsum...</CardContentText>
</CardContent>
</Card>
<List>
<ListItem>
<ListItemAvatar><ProfileIcon /></ListItemAvatar>
<ListItemText
primary="Username"
secondary="Discovered X Time Ago"
/>
</ListItem>
</List>
<Fab color="primary"><AddIcon /></Fab>
</React.Fragment>
)
}
export default Post