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

Commit 6d871f6

Browse files
authored
Merge pull request #750 from aibtcdev/christmas-glow
Christmas glow
2 parents 6ec8985 + 2d44451 commit 6d871f6

7 files changed

Lines changed: 30 additions & 14 deletions

File tree

src/app/aidaos/[name]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function PageContent() {
4545
<div className="flex justify-center items-center min-h-[400px] w-full">
4646
<div className="text-center space-y-4">
4747
<Loader />
48-
<p className="text-zinc-400">Loading proposals...</p>
48+
<p className="text-zinc-400">Loading contributions...</p>
4949
</div>
5050
</div>
5151
);

src/app/evaluation/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ export default function ProposalEvaluationPage() {
174174
<div className="text-center p-6 bg-destructive/10 border border-destructive/20 rounded-sm max-w-md">
175175
<AlertCircle className="h-12 w-12 text-destructive mx-auto mb-4" />
176176
<h2 className="text-xl font-semibold mb-2 text-foreground">
177-
Error Loading Proposals
177+
Error Loading Contributions
178178
</h2>
179179
<p className="text-muted-foreground">
180-
Failed to load proposals. Please try again later.
180+
Failed to load contributions. Please try again later.
181181
</p>
182182
</div>
183183
</div>

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function PageContent() {
4646
<div className="flex justify-center items-center min-h-[400px] w-full">
4747
<div className="text-center space-y-4">
4848
<Loader />
49-
<p className="text-zinc-400">Loading proposals...</p>
49+
<p className="text-zinc-400">Loading contributions...</p>
5050
</div>
5151
</div>
5252
);

src/app/proposals/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export default function AllProposalsPage() {
4040
<div className="flex justify-center items-center min-h-[200px] w-full">
4141
<div className="text-center">
4242
<h2 className="text-xl font-semibold mb-2">
43-
Error Loading Proposals
43+
Error Loading Contributions
4444
</h2>
4545
<p className="text-muted-foreground">
46-
Failed to load proposals. Please try again later.
46+
Failed to load contributions. Please try again later.
4747
</p>
4848
</div>
4949
</div>

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)