mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
transaction history drawer and separate mint display
This commit is contained in:
1 parent
e4ee51335e
commit
bea63c75aa
10 files changed
+348
-278
No files matched your search
@@ -95,7 +95,7 @@ const WalletContent = forwardRef<HTMLDivElement, {
|
||||
<div className="space-y-6 px-4 pb-4" ref={ref}>
|
||||
{/* Primary Payment Method - Cashu */}
|
||||
<div className="space-y-3">
|
||||
<h3 className="font-medium">Primary Payment Method</h3>
|
||||
<h3 className="font-medium">Primary Wallet</h3>
|
||||
<div className="flex items-center justify-between p-3 border rounded-lg bg-muted/30">
|
||||
<div className="flex items-center gap-3">
|
||||
<Coins className="h-4 w-4 text-muted-foreground" />
|
||||
@@ -116,19 +116,13 @@ const WalletContent = forwardRef<HTMLDivElement, {
|
||||
</Badge>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-xs text-muted-foreground text-center">
|
||||
Cashu tokens are used first for Lightning zaps. Set up your Cashu wallet for instant payments.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Separator />
|
||||
|
||||
{/* Lightning Fallback Methods */}
|
||||
<div className="space-y-3">
|
||||
<h3 className="font-medium">Lightning Fallback Methods</h3>
|
||||
<div className="text-xs text-muted-foreground mb-3">
|
||||
Used when Cashu balance is insufficient or unavailable
|
||||
</div>
|
||||
<h3 className="font-medium">Other Options</h3>
|
||||
<div className="grid gap-3">
|
||||
{/* WebLN */}
|
||||
<div className="flex items-center justify-between p-3 border rounded-lg">
|
||||
@@ -233,7 +227,7 @@ const WalletContent = forwardRef<HTMLDivElement, {
|
||||
<Separator />
|
||||
<div className="text-center py-4 space-y-2">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Set up your Cashu wallet for instant payments, or install a WebLN extension/connect NWC wallet for Lightning fallback.
|
||||
Set up your Cashu wallet for instant payments, or install a WebLN extension/connect NWC wallet for Lightning
|
||||
</p>
|
||||
</div>
|
||||
</>
|
||||
@@ -367,7 +361,7 @@ export function LightningWalletModal({ children, className }: LightningWalletMod
|
||||
Payment Settings
|
||||
</DrawerTitle>
|
||||
<DrawerDescription>
|
||||
Manage Cashu wallet and Lightning fallback methods for zaps.
|
||||
Manage wallet methods for zaps
|
||||
</DrawerDescription>
|
||||
</DrawerHeader>
|
||||
<div className="overflow-y-auto">
|
||||
@@ -423,7 +417,7 @@ export function LightningWalletModal({ children, className }: LightningWalletMod
|
||||
Payment Settings
|
||||
</DialogTitle>
|
||||
<DialogDescription>
|
||||
Manage Cashu wallet and Lightning fallback methods for zaps.
|
||||
Manage wallet methods for zaps
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<WalletContent {...walletContentProps} />
|
||||
|
||||
Reference in new issue
Block a user