Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 50826be

Browse files
authored
Merge pull request #751 from aibtcdev/staging
Staging
2 parents ff99b04 + 6d871f6 commit 50826be

File tree

3 files changed

+24
-8
lines changed

3 files changed

+24
-8
lines changed

src/components/auth/StacksAuth.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,11 @@ export default function StacksAuth({
337337
onClick={handleAuth}
338338
disabled={isLoading}
339339
variant="primary"
340-
className="flex items-center gap-1 px-2 py-1 sm:px-6 sm:py-3 text-xs sm:text-base font-inter font-bold text-primary-foreground bg-primary rounded-sm sm:rounded-sm hover:scale-105 hover:shadow-lg hover:shadow-primary/20 focus:outline-none focus:ring-2 focus:ring-primary/50 disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100 transition-all duration-300 ease-in-out motion-reduce:transition-none"
340+
className="flex items-center gap-1 px-2 py-1 sm:px-6 sm:py-3 text-xs sm:text-base font-inter font-bold text-primary-foreground bg-primary rounded-sm sm:rounded-sm hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary/50 disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100 transition-all duration-300 ease-in-out motion-reduce:transition-none"
341+
style={{
342+
boxShadow:
343+
"0 0 25px rgba(220, 38, 38, 0.7), 0 0 50px rgba(34, 197, 94, 0.5), 0 0 75px rgba(220, 38, 38, 0.4)",
344+
}}
341345
aria-label={isLoading ? "Connecting wallet" : "Connect wallet"}
342346
>
343347
{isLoading ? (

src/components/proposals/ProposalSubmission.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ export function ProposalSubmission({
12361236
<div className="flex-1 space-y-6 relative min-h-[250px] md:min-h-0">
12371237
{/* Locked Overlay for Unauthenticated Users */}
12381238
{!hasAccessToken && (
1239-
<div className="absolute inset-0 bg-zinc-900 rounded-sm flex flex-col items-center justify-center z-10">
1239+
<div className="absolute inset-0 bg-background rounded-sm flex flex-col items-center justify-center z-10">
12401240
<div className="text-center space-y-4 max-w-md mx-auto px-6">
12411241
<div className="w-16 h-16 rounded-sm bg-primary/10 flex items-center justify-center mx-auto">
12421242
<Lock className="w-8 h-8 text-primary" />
@@ -1246,6 +1246,9 @@ export function ProposalSubmission({
12461246
Connect your testnet Bitcoin Wallet.
12471247
</h3>
12481248
</div>
1249+
<div className="flex justify-center">
1250+
<AuthButton buttonText="Connect Wallet" />
1251+
</div>
12491252
</div>
12501253
</div>
12511254
)}
@@ -1717,10 +1720,8 @@ export function ProposalSubmission({
17171720
)}
17181721

17191722
{/* Footer CTA */}
1720-
<div className="pt-6">
1721-
{!hasAccessToken ? (
1722-
<AuthButton buttonText="Connect Wallet" />
1723-
) : (
1723+
{hasAccessToken && (
1724+
<div className="pt-6">
17241725
<div>
17251726
<Button
17261727
onClick={handleSubmit}
@@ -1809,8 +1810,8 @@ export function ProposalSubmission({
18091810
)}
18101811
</Button>
18111812
</div>
1812-
)}
1813-
</div>
1813+
</div>
1814+
)}
18141815
</div>
18151816

18161817
{/* ----------------------------- Result modal ----------------------------- */}

tailwind.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,22 @@ const config: Config = {
110110
opacity: ".9",
111111
},
112112
},
113+
"christmas-glow": {
114+
"0%, 100%": {
115+
boxShadow:
116+
"0 0 20px rgba(220, 38, 38, 0.6), 0 0 40px rgba(34, 197, 94, 0.4), 0 0 60px rgba(220, 38, 38, 0.3)",
117+
},
118+
"50%": {
119+
boxShadow:
120+
"0 0 30px rgba(34, 197, 94, 0.7), 0 0 50px rgba(220, 38, 38, 0.5), 0 0 70px rgba(34, 197, 94, 0.4)",
121+
},
122+
},
113123
},
114124
animation: {
115125
"accordion-down": "accordion-down 0.2s ease-out",
116126
"accordion-up": "accordion-up 0.2s ease-out",
117127
"pulse-slow": "pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite",
128+
"christmas-glow": "christmas-glow 2s ease-in-out infinite",
118129
},
119130
},
120131
},

0 commit comments

Comments
 (0)