Add buy link to settings page

This commit is contained in:
Kieran 2023-01-12 22:50:48 +00:00
parent 0d7b60e078
commit 038f484623
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,8 @@ import Nostrich from "../nostrich.jpg";
import { useEffect, useState } from "react";
import { useDispatch, useSelector } from "react-redux";
import { useNavigate } from "react-router-dom";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faShop } from "@fortawesome/free-solid-svg-icons";
import useEventPublisher from "../feed/EventPublisher";
import useProfile from "../feed/ProfileFeed";
@ -128,7 +130,12 @@ export default function SettingsPage(props) {
<div className="form-group">
<div>NIP-05:</div>
<div>
<input type="text" value={nip05} onChange={(e) => setNip05(e.target.value)} />
<input type="text" className="mr10" value={nip05} onChange={(e) => setNip05(e.target.value)} />
<div className="btn" onClick={() => navigate("/verification")}>
<FontAwesomeIcon icon={faShop} />
&nbsp;
Buy
</div>
</div>
</div>
<div className="form-group">