feat: clickable links on about page

This commit is contained in:
Alejandro Gomez
2023-01-06 12:05:27 +01:00
parent 8b37980da3
commit 416dc66621
3 changed files with 92 additions and 87 deletions

View File

@ -17,6 +17,7 @@ import FollowButton from "../element/FollowButton";
import VoidUpload from "../feed/VoidUpload";
import { openFile } from "../Util";
import Timeline from "../element/Timeline";
import { extractLinks } from '../Text'
export default function ProfilePage() {
const dispatch = useDispatch();
@ -177,7 +178,7 @@ export default function ProfilePage() {
<FollowButton pubkey={id} />
</div>
</div>
<p>{about}</p>
<p>{extractLinks([about])}</p>
{website ? <a href={website} target="_blank" rel="noreferrer">{website}</a> : null}
{lud16 ? <div className="flex">