Commit Graph

13 Commits

Author SHA1 Message Date
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 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 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 fb26910e41 Fix footer margin 2024-07-11 02:59:36 +02:00
ekzyis a87ce02819 Add figlet component 2024-07-10 09:25:46 +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 862a6d584f Use templ components 2024-07-10 07:25:03 +02:00