ekzyis
df7726e313
Update market form on input change
2024-08-26 05:50:09 -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
698cc5c368
Add min-height to #content
2024-08-11 04:56:54 -05:00
ekzyis
dfd5bb728a
Remove -color suffix
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
8aa72dbfa0
Use hx-* attributes
2024-07-12 11:00:51 +02:00
ekzyis
ee3e5e82e4
Remove old code
...
* removed code that will not be used
* removed code that will most likely be rewritten
2024-07-12 11:00:51 +02:00
ekzyis
94d1f6c1d8
Add login page
2024-07-12 07:12:57 +02:00
ekzyis
8b21d4ac67
Update favicon
2024-07-11 02:46:15 +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
a95b1afea9
Remove unused index.css
2024-07-10 07:43:27 +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
975072145e
Download htmx v2.0.0
2024-07-09 16:16:51 +02:00
ekzyis
50244ee9ca
Update HTML and CSS
2023-09-14 01:15:30 +02:00
ekzyis
921623ee4d
Respond with 402 Payment Required
2023-09-09 22:52:51 +02:00
ekzyis
00bcde7ea8
Remove unused order.css
2023-09-09 22:52:51 +02:00
ekzyis
f09beb1a4a
Implement POST /market/:id/order
2023-09-09 22:52:51 +02:00
ekzyis
76309c4153
Show order book + focus on binary market
2023-09-09 22:52:51 +02:00
ekzyis
04ce96069b
Add order page
2023-09-09 22:52:50 +02:00
ekzyis
58901e8d7e
Toggle form
2023-09-09 22:52:50 +02:00
ekzyis
ce4c495052
Add debounce logic
2023-09-09 22:52:50 +02:00
ekzyis
bbe831bf03
Refactor bmarket.js
2023-09-09 22:52:50 +02:00
ekzyis
5ffc35a94f
Rename to bmarket
2023-09-09 22:52:50 +02:00
ekzyis
e14a3c824d
Format HTML
2023-09-09 22:52:50 +02:00
ekzyis
23aaa0a438
Add market.js
2023-09-09 22:52:50 +02:00
ekzyis
bf8717e2b1
Add hot reload for development
2023-09-09 22:52:50 +02:00
ekzyis
87ce57c862
Add binary market page
2023-09-09 22:52:50 +02:00
ekzyis
162f54b934
Fix alignment on error pages
2023-09-09 22:52:50 +02:00
ekzyis
09c619ab63
Add lightning scheme to QR code
2023-09-09 22:52:50 +02:00
ekzyis
05e89ccbf2
Fix mobile layout for /login
2023-09-09 22:52:50 +02:00
ekzyis
9440f58efe
Add sessions using LNURL-auth
2023-09-09 22:52:50 +02:00
ekzyis
54574d2e7e
Fix inconsistent layout
2023-09-09 22:52:50 +02:00
ekzyis
08d85ef477
Serve error pages
2023-09-09 22:52:50 +02:00
ekzyis
06043c791e
Use minimalist Go web framework Echo
2023-09-09 22:52:50 +02:00
ekzyis
f20fa51464
initial files
2023-09-09 22:52:50 +02:00