feat: "skip" hopium on low confidence, refund

This commit is contained in:
Face 2025-06-14 19:33:12 +06:00
parent 1ab442045f
commit 214c7cf3df
8 changed files with 1841 additions and 6 deletions

View file

@ -174,7 +174,7 @@
<div class="text-center">
<h1 class="mb-2 flex items-center justify-center gap-2 text-3xl font-bold">
<Sparkles class="h-8 w-8 text-purple-500" />
Hopium<span class="text-xs">[BETA]</span>
Hopium
</h1>
<p class="text-muted-foreground mb-6">
AI-powered prediction markets. Create questions and bet on outcomes.
@ -236,6 +236,11 @@
NO
{/if}
</Badge>
{:else if question.status === 'CANCELLED'}
<Badge variant="outline" class="flex flex-shrink-0 items-center gap-1 text-muted-foreground border-muted-foreground">
<XIcon class="h-3 w-3" />
SKIP
</Badge>
{/if}
<!-- Probability Meter -->

View file

@ -242,6 +242,11 @@
RESOLVED: NO
{/if}
</Badge>
{:else if question.status === 'CANCELLED'}
<Badge variant="outline" class="text-muted-foreground border-muted-foreground">
<XIcon class="h-4 w-4" />
SKIP
</Badge>
{/if}
</div>
</div>