feat: nwc
This commit is contained in:
@ -5,7 +5,9 @@ import { RouteObject, useNavigate } from "react-router-dom";
|
||||
|
||||
import BlueWallet from "Icons/BlueWallet";
|
||||
import ConnectLNC from "Pages/settings/wallet/LNC";
|
||||
import ConnectLNDHub from "./wallet/LNDHub";
|
||||
import ConnectLNDHub from "Pages/settings/wallet/LNDHub";
|
||||
import ConnectNostrWallet from "Pages/settings/wallet/NWC";
|
||||
import NostrIcon from "Icons/Nostrich";
|
||||
|
||||
const WalletSettings = () => {
|
||||
const navigate = useNavigate();
|
||||
@ -19,12 +21,14 @@ const WalletSettings = () => {
|
||||
<img src={LndLogo} width={100} />
|
||||
<h3 className="f-end">LND with LNC</h3>
|
||||
</div>
|
||||
{
|
||||
<div className="card" onClick={() => navigate("/settings/wallet/lndhub")}>
|
||||
<BlueWallet width={100} height={100} />
|
||||
<h3 className="f-end">LNDHub</h3>
|
||||
</div>
|
||||
}
|
||||
<div className="card" onClick={() => navigate("/settings/wallet/lndhub")}>
|
||||
<BlueWallet width={100} height={100} />
|
||||
<h3 className="f-end">LNDHub</h3>
|
||||
</div>
|
||||
<div className="card" onClick={() => navigate("/settings/wallet/nwc")}>
|
||||
<NostrIcon width={100} height={100} />
|
||||
<h3 className="f-end">Nostr Wallet Connect</h3>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
@ -45,4 +49,8 @@ export const WalletSettingsRoutes = [
|
||||
path: "/settings/wallet/lndhub",
|
||||
element: <ConnectLNDHub />,
|
||||
},
|
||||
{
|
||||
path: "/settings/wallet/nwc",
|
||||
element: <ConnectNostrWallet />,
|
||||
},
|
||||
] as Array<RouteObject>;
|
||||
|
Reference in New Issue
Block a user