mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +00:00
upgraded mobile styling
This commit is contained in:
1 parent
8ef018df8a
commit
e4ee51335e
8 files changed
+206
-162
No files matched your search
@@ -24,10 +24,13 @@ export function ReceiveCard({
|
||||
isLoading,
|
||||
}: ReceiveCardProps) {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
{/* Description */}
|
||||
<div className="space-y-8">
|
||||
{/* Title */}
|
||||
<div className="text-center">
|
||||
<p className="text-muted-foreground">
|
||||
<h2 className="text-3xl font-bold text-foreground">
|
||||
Receive
|
||||
</h2>
|
||||
<p className="!text-xl text-muted-foreground mt-2">
|
||||
{mode === 'tokens'
|
||||
? 'Enter Cashu token to redeem'
|
||||
: 'Deposit funds with Lightning'
|
||||
@@ -54,19 +57,20 @@ export function ReceiveCard({
|
||||
onReceive();
|
||||
}
|
||||
}}
|
||||
className="w-full"
|
||||
disabled={!activeMintUrl}
|
||||
autoFocus
|
||||
className="w-full h-16 !text-xl text-center border-0 bg-transparent focus:ring-0 focus:ring-offset-0"
|
||||
/>
|
||||
<Button
|
||||
onClick={onReceive}
|
||||
disabled={!tokenInput.trim() || !activeMintUrl || isLoading}
|
||||
className="w-full"
|
||||
size="lg"
|
||||
>
|
||||
<Download className="h-4 w-4 mr-2" />
|
||||
Receive
|
||||
</Button>
|
||||
<div className="flex justify-center mt-4">
|
||||
<Button
|
||||
onClick={onReceive}
|
||||
disabled={!tokenInput.trim() || !activeMintUrl || isLoading}
|
||||
className="h-12 px-8 rounded-full"
|
||||
size="lg"
|
||||
>
|
||||
<Download className="h-5 w-5" />
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
@@ -89,16 +93,18 @@ 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]"
|
||||
/>
|
||||
<Button
|
||||
onClick={onReceive}
|
||||
disabled={!quoteAmount || !activeMintUrl || isLoading}
|
||||
className="w-full"
|
||||
size="lg"
|
||||
>
|
||||
<Zap className="h-4 w-4 mr-2" />
|
||||
Quote
|
||||
</Button>
|
||||
<div className="flex justify-center mt-4">
|
||||
<Button
|
||||
onClick={onReceive}
|
||||
disabled={!quoteAmount || !activeMintUrl || isLoading}
|
||||
className="h-12 px-8 rounded-full"
|
||||
size="lg"
|
||||
>
|
||||
<Zap className="h-5 w-5" />
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user