Skip to content

Commit

Permalink
chore: change max amount to 10k
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 22, 2023
1 parent 01087c3 commit 7e8b8ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/apps/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2 class="font-bold text-2xl font-headline mb-4 dark:text-white">
{{end}}
<input type="hidden" name="RequestMethods" id="request-methods" value={{.RequestMethods}}>
<input type="hidden" name="ExpiresAt" id="expires-at" value="{{.ExpiresAt}}">
<input type="hidden" name="MaxAmount" id="max-amount" value="{{.MaxAmount}}">
<input type="hidden" name="MaxAmount" id="max-amount" value={{if .MaxAmount}}{{.MaxAmount}}{{else}}{{"10000"}}{{end}}>
<input type="hidden" name="BudgetRenewal" id="budget-renewal" value={{if .BudgetRenewal}}{{.BudgetRenewal}}{{else}}{{"monthly"}}{{end}}>
</div>

Expand All @@ -61,12 +61,12 @@ <h2 class="font-bold text-2xl font-headline mb-4 dark:text-white">
{{if (eq $.MaxAmount "")}}
<p class="text-gray-600 dark:text-gray-300 mb-2 text-sm">Monthly budget</p>
<div id="budget-allowance-limits" class="grid grid-cols-6 grid-rows-2 md:grid-rows-1 md:grid-cols-6 gap-2 text-xs text-gray-800 dark:text-neutral-200">
<div data-limit="10000" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4">10k<br>sats</div>
<div data-limit="10000" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4 border-purple-700 dark:border-purple-300 text-purple-700 dark:text-white bg-purple-100 dark:bg-purple-900">10k<br>sats</div>
<div data-limit="25000" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4">25k<br>sats</div>
<div data-limit="50000" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4">50k<br>sats</div>
<div data-limit="100000" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4">100k<br>sats</div>
<div data-limit="1000000" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4">1M<br>sats</div>
<div data-limit="0" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4 border-purple-700 dark:border-purple-300 text-purple-700 dark:text-white bg-purple-100 dark:bg-purple-900">Unlimited<br>#reckless</b></div>
<div data-limit="0" class="col-span-2 md:col-span-1 cursor-pointer rounded border-2 border-gray-200 dark:border-gray-400 text-center py-4">Unlimited<br>#reckless</b></div>
</div>
{{else}}
<p class="text-gray-600 dark:text-gray-300 text-sm">
Expand Down

0 comments on commit 7e8b8ca

Please sign in to comment.