mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +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
@@ -27,10 +27,7 @@ export function ReceiveCard({
|
||||
<div className="space-y-8">
|
||||
{/* Title */}
|
||||
<div className="text-center">
|
||||
<h2 className="text-3xl font-bold text-foreground">
|
||||
Receive
|
||||
</h2>
|
||||
<p className="!text-xl text-muted-foreground mt-2">
|
||||
<p className="text-base text-muted-foreground mt-2">
|
||||
{mode === 'tokens'
|
||||
? 'Enter Cashu token to redeem'
|
||||
: 'Deposit funds with Lightning'
|
||||
@@ -58,14 +55,13 @@ export function ReceiveCard({
|
||||
}
|
||||
}}
|
||||
disabled={!activeMintUrl}
|
||||
autoFocus
|
||||
className="w-full h-16 !text-xl text-center border-0 bg-transparent focus:ring-0 focus:ring-offset-0"
|
||||
className="w-full h-16 !text-base text-center border bg-background focus:ring-2 focus:ring-ring focus:ring-offset-2"
|
||||
/>
|
||||
<div className="flex justify-center mt-4">
|
||||
<Button
|
||||
onClick={onReceive}
|
||||
disabled={!tokenInput.trim() || !activeMintUrl || isLoading}
|
||||
className="h-12 px-8 rounded-full"
|
||||
className="h-12 px-12 rounded-full"
|
||||
size="lg"
|
||||
>
|
||||
<Download className="h-5 w-5" />
|
||||
@@ -92,14 +88,13 @@ export function ReceiveCard({
|
||||
}
|
||||
}}
|
||||
disabled={!activeMintUrl}
|
||||
autoFocus
|
||||
className="w-full h-16 !text-xl text-center border-0 bg-transparent focus:ring-0 focus:ring-offset-0 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"
|
||||
className="w-full h-16 !text-base text-center border bg-background focus:ring-2 focus:ring-ring focus:ring-offset-2 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"
|
||||
/>
|
||||
<div className="flex justify-center mt-4">
|
||||
<Button
|
||||
onClick={onReceive}
|
||||
disabled={!quoteAmount || !activeMintUrl || isLoading}
|
||||
className="h-12 px-8 rounded-full"
|
||||
className="h-12 px-12 rounded-full"
|
||||
size="lg"
|
||||
>
|
||||
<Zap className="h-5 w-5" />
|
||||
|
||||
Reference in new issue
Block a user