* Add initial invitation framework for chat channels * Update chat_channel specs * Add DIY concept of accepting invite * Add some js and fix spec * Add full invite accept functionality * Remove console.log from chat
24 lines
No EOL
691 B
JavaScript
24 lines
No EOL
691 B
JavaScript
|
|
|
|
import { h, Component } from 'preact';
|
|
|
|
export default class UserDetails extends Component {
|
|
render() {
|
|
const user = this.props.user
|
|
return <div><img
|
|
src={user.profile_image}
|
|
style={{height: "210px",
|
|
width: "210px",
|
|
margin:" 15px auto",
|
|
display: "block",
|
|
borderRadius: "500px"}} />
|
|
<h1 style={{textAlign: "center"}}>
|
|
<a href={"/"+user.username}>{user.name}</a>
|
|
</h1>
|
|
<div style={{fontStyle: "italic"}}>
|
|
{user.summary}
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
} |