forked from Kieran/snort
feat: basic help page
This commit is contained in:
parent
eb002e065c
commit
d1087d0405
@ -15,6 +15,11 @@ export const TranslateHost = "https://translate.snort.social";
|
|||||||
*/
|
*/
|
||||||
export const VoidCatHost = "https://void.cat";
|
export const VoidCatHost = "https://void.cat";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Kierans pubkey
|
||||||
|
*/
|
||||||
|
export const KieranPubKey = "npub1v0lxxxxutpvrelsksy8cdhgfux9l6a42hsj2qzquu2zk7vc9qnkszrqj49";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Websocket re-connect timeout
|
* Websocket re-connect timeout
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ApiHost } from "Const";
|
import { ApiHost, KieranPubKey } from "Const";
|
||||||
import ProfilePreview from "Element/ProfilePreview";
|
import ProfilePreview from "Element/ProfilePreview";
|
||||||
import ZapButton from "Element/ZapButton";
|
import ZapButton from "Element/ZapButton";
|
||||||
import { HexKey } from "Nostr";
|
import { HexKey } from "Nostr";
|
||||||
@ -6,7 +6,7 @@ import { useEffect, useState } from "react";
|
|||||||
import { bech32ToHex } from "Util";
|
import { bech32ToHex } from "Util";
|
||||||
|
|
||||||
const Developers = [
|
const Developers = [
|
||||||
bech32ToHex("npub1v0lxxxxutpvrelsksy8cdhgfux9l6a42hsj2qzquu2zk7vc9qnkszrqj49"), // kieran
|
bech32ToHex(KieranPubKey), // kieran
|
||||||
bech32ToHex("npub107jk7htfv243u0x5ynn43scq9wrxtaasmrwwa8lfu2ydwag6cx2quqncxg"), // verbiricha
|
bech32ToHex("npub107jk7htfv243u0x5ynn43scq9wrxtaasmrwwa8lfu2ydwag6cx2quqncxg"), // verbiricha
|
||||||
bech32ToHex("npub1r0rs5q2gk0e3dk3nlc7gnu378ec6cnlenqp8a3cjhyzu6f8k5sgs4sq9ac"), // Karnage
|
bech32ToHex("npub1r0rs5q2gk0e3dk3nlc7gnu378ec6cnlenqp8a3cjhyzu6f8k5sgs4sq9ac"), // Karnage
|
||||||
];
|
];
|
||||||
|
13
src/Pages/HelpPage.tsx
Normal file
13
src/Pages/HelpPage.tsx
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import { Link } from "react-router-dom";
|
||||||
|
import { KieranPubKey } from "Const";
|
||||||
|
|
||||||
|
export default function HelpPage() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<h2>NIP-05</h2>
|
||||||
|
<p>
|
||||||
|
If you have an enquiry about your NIP-05 order please DM <Link to={`/messages/${KieranPubKey}`}>Kieran</Link>
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
@ -28,6 +28,7 @@ import ChatPage from 'Pages/ChatPage';
|
|||||||
import DonatePage from 'Pages/DonatePage';
|
import DonatePage from 'Pages/DonatePage';
|
||||||
import HashTagsPage from 'Pages/HashTagsPage';
|
import HashTagsPage from 'Pages/HashTagsPage';
|
||||||
import SearchPage from 'Pages/SearchPage';
|
import SearchPage from 'Pages/SearchPage';
|
||||||
|
import HelpPage from 'Pages/HelpPage';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HTTP query provider
|
* HTTP query provider
|
||||||
@ -49,6 +50,10 @@ export const router = createBrowserRouter([
|
|||||||
path: "/login",
|
path: "/login",
|
||||||
element: <LoginPage />
|
element: <LoginPage />
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/help",
|
||||||
|
element: <HelpPage />
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/e/:id",
|
path: "/e/:id",
|
||||||
element: <EventPage />
|
element: <EventPage />
|
||||||
|
Loading…
Reference in New Issue
Block a user