1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-07 06:54:49 +00:00

Merge pull request #26 from andytudhope/master

Profile UI Fixes
This commit is contained in:
Andy Tudhope 2019-08-07 10:24:33 +02:00 committed by GitHub
commit e904a9c5f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ import { DappState } from '../../common/data/dapp'
const ProfileContent = ({
name,
url,
desc,
description,
image,
category,
highestRankedPosition,
@ -50,19 +50,7 @@ const ProfileContent = ({
</div>
<div className={styles.description}>
<span className={styles.heading}>Description</span>
<span className="wrapper">{desc || 'Not available'}</span>
</div>
<div className={styles.chat}>
<ReactImageFallback
className={styles.chat_image}
src={image}
fallbackImage={icon}
alt="App icon"
/>
<img src={chat} className={styles.chat_icon} alt="Chat" />
<span className={styles.chat_link + ' link'}>
{`Open ${name} chat`}
</span>
<span className="wrapper">{description || 'Not available'}</span>
</div>
<div className={styles.url}>
<span className={styles.heading}>URL</span>