2023-02-03 18:20:17 +00:00
|
|
|
import { Link } from "react-router-dom";
|
2023-11-17 11:52:10 +00:00
|
|
|
import { KieranPubKey } from "@/Const";
|
2023-10-17 13:02:59 +00:00
|
|
|
import { FormattedMessage } from "react-intl";
|
2023-08-17 19:06:04 +00:00
|
|
|
import { TLVEntryType, encodeTLVEntries, NostrPrefix } from "@snort/system";
|
2023-11-17 11:52:10 +00:00
|
|
|
import { bech32ToHex } from "@/SnortUtils";
|
2023-02-03 18:20:17 +00:00
|
|
|
|
|
|
|
export default function HelpPage() {
|
2023-02-07 20:04:50 +00:00
|
|
|
return (
|
|
|
|
<>
|
2023-02-11 18:08:47 +00:00
|
|
|
<h2>
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="NIP-05" id="7hp70g" />
|
2023-02-11 18:08:47 +00:00
|
|
|
</h2>
|
2023-02-07 20:04:50 +00:00
|
|
|
<p>
|
2023-02-11 18:08:47 +00:00
|
|
|
<FormattedMessage
|
2023-11-20 11:35:51 +00:00
|
|
|
defaultMessage="If you have an enquiry about your NIP-05 order please DM {link}" id="c35bj2"
|
2023-02-11 18:08:47 +00:00
|
|
|
values={{
|
2023-08-17 19:06:04 +00:00
|
|
|
link: (
|
|
|
|
<Link
|
|
|
|
to={`/messages/${encodeTLVEntries("chat4" as NostrPrefix, {
|
|
|
|
type: TLVEntryType.Author,
|
|
|
|
length: 64,
|
|
|
|
value: bech32ToHex(KieranPubKey),
|
|
|
|
})}`}>
|
|
|
|
Kieran
|
|
|
|
</Link>
|
|
|
|
),
|
2023-02-11 18:08:47 +00:00
|
|
|
}}
|
|
|
|
/>
|
2023-02-07 20:04:50 +00:00
|
|
|
</p>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|