ekzyis
2bdf74e57e
Use text-reset if p=0.5
2024-09-11 12:59:45 +02:00
ekzyis
c2e3ce783b
Fix market form flash
2024-09-11 12:42:06 +02:00
ekzyis
e868f91f84
Show form errors
2024-09-11 12:26:15 +02:00
ekzyis
5788d5b509
Allow users to edit their name
2024-09-11 11:30:25 +02:00
ekzyis
867971b20c
Add margin-top to market form
2024-09-10 23:53:55 +02:00
ekzyis
b7a24b48fd
Show pYes and volume in market row
2024-09-10 23:41:55 +02:00
ekzyis
5d5c91399f
Rename vars and add comments
2024-09-10 22:50:19 +02:00
ekzyis
ecee2f2a46
Load chart data from db
2024-09-09 01:58:09 +02:00
ekzyis
00ee710246
Show line chart with sample data
2024-09-09 00:47:42 +02:00
ekzyis
bdc768cb27
Fix copy button flicker on poll
2024-09-09 00:47:10 +02:00
ekzyis
ed9d6f30c4
Add TODOs
2024-09-09 00:35:15 +02:00
ekzyis
2e3e4f02b4
Use htmx.on
2024-09-05 23:33:23 +02:00
ekzyis
76bc50355a
Define jQuery helper in head
2024-09-05 23:20:07 +02:00
ekzyis
e4da49b215
Set min date
2024-09-05 23:12:34 +02:00
ekzyis
9df7ce8338
Fix missing formatting
2024-09-05 23:11:29 +02:00
ekzyis
9296bd5866
Remove cite=ekzyis from blockquote
2024-09-05 23:07:44 +02:00
ekzyis
9417e28076
Fix market description
2024-08-26 16:26:54 -05:00
ekzyis
215a9fb3b6
Show quantity of user shares
2024-08-26 06:15:33 -05:00
ekzyis
df7726e313
Update market form on input change
2024-08-26 05:50:09 -05:00
ekzyis
bd7b2715bd
Calculate probabilities using LMSR
2024-08-25 00:48:03 -05:00
ekzyis
845157c954
Add market form + page
...
* market form with question, description and end date
* markets cost 1k sats
* a goroutine polls pending invoices from the db and checks LND for their status
* markets are listed on front page (after paid)
* market page contains buttons to bet yes or no
* users have names now
TODO:
* show correct market percentage
* show how percentage changed over time in chart
* validate end date
* implement betting / order form
2024-08-24 02:35:15 -05:00
ekzyis
9b8734f5a9
Add QR component
2024-07-15 12:55:48 +02:00
ekzyis
3957d4d774
Return 501 Not Implemented for nostr auth
2024-07-15 06:22:50 +02:00
ekzyis
897d973b8d
Fix theme-color
2024-07-14 13:48:02 +02:00
ekzyis
782bfec93a
Implement logout
2024-07-14 13:39:42 +02:00
ekzyis
2653e816bb
Implement LNURL-auth
2024-07-12 15:18:44 +02:00
ekzyis
8b841aaa09
Rename header to nav
2024-07-12 13:25:00 +02:00
ekzyis
2af3278f15
Remove text-center in /about
2024-07-12 13:21:35 +02:00
ekzyis
6a3a384012
Fix error pages
2024-07-12 11:00:51 +02:00
ekzyis
8aa72dbfa0
Use hx-* attributes
2024-07-12 11:00:51 +02:00
ekzyis
94d1f6c1d8
Add login page
2024-07-12 07:12:57 +02:00
ekzyis
fb26910e41
Fix footer margin
2024-07-11 02:59:36 +02:00
ekzyis
815c03efc5
Add Gitea link in /about
2024-07-11 02:46:40 +02:00
ekzyis
a87ce02819
Add figlet component
2024-07-10 09:25:46 +02:00
ekzyis
3a9d3ac9aa
Use fixed height for figlet
2024-07-10 09:22:35 +02:00
ekzyis
02944da696
Add /about
2024-07-10 09:14:06 +02:00
ekzyis
47183d3cf9
Add error.templ
2024-07-10 09:13:52 +02:00
ekzyis
822bcb36ed
Align login link to end
2024-07-10 07:47:01 +02:00
ekzyis
5518553221
Randomize figlet font
2024-07-10 07:25:03 +02:00
ekzyis
862a6d584f
Use templ components
2024-07-10 07:25:03 +02:00
ekzyis
01f85bd098
Setup tailwindcss
2024-07-10 06:12:43 +02:00
ekzyis
4ed1ae973b
Put js, css into own dirs
2024-07-10 04:54:26 +02:00
ekzyis
3d3ae16617
Index page with templ
2024-07-10 04:47:25 +02:00