Commit Graph

312 Commits

Author SHA1 Message Date
fiatjaf
ba3b1fddcb remove empty hyperscript. 2023-10-27 17:31:20 -03:00
fiatjaf
b6a3e8aaef use naked host when x-forwarded-host isn't present. 2023-10-27 11:19:33 -03:00
fiatjaf
27105e6e17 make the /random endpoint return a nip19 code and use that from the homepage to fill in the box instead of redirecting. 2023-10-26 22:31:02 -03:00
fiatjaf
8111e16960 abstract querying of author and relay last notes, and caching. 2023-10-26 22:30:20 -03:00
fiatjaf
c4c3f0d524 instructions for running locally. 2023-10-26 16:10:12 -03:00
fiatjaf
f9e099c840 tailwind debug mode and build mode for prod and other adjustments. 2023-10-26 16:02:18 -03:00
fiatjaf
e7d1b37ca7 display nprofile in profile pages and hidden in event details. 2023-10-26 08:25:53 -03:00
fiatjaf
92d8b6a6d1 use event relays when searching for pubkey metadata, compute nprofile. 2023-10-26 08:17:27 -03:00
fiatjaf
19310fbcd2 small style adjustments. 2023-10-25 20:33:30 -03:00
fiatjaf
35e9a6da30 last tailwind conversions: generic prose things and .column_content, eliminate styles entirely. 2023-10-25 20:25:18 -03:00
fiatjaf
88dcf490c2 tailwind body, html and other stuff. 2023-10-25 18:05:25 -03:00
fiatjaf
b6b950fad8 tailwind .columnA 2023-10-25 17:14:52 -03:00
fiatjaf
015b6b1c42 fix json empty tags indentation. 2023-10-25 11:13:01 -03:00
fiatjaf
66c4a0832b fix json monospace styles. 2023-10-25 11:09:56 -03:00
fiatjaf
2f9c2ab851 tailwind .theme-toggle 2023-10-25 09:59:01 -03:00
fiatjaf
3c71ed4e62 tailwind .top 2023-10-25 06:52:44 -03:00
fiatjaf
1c43e330b0 some style fixes. 2023-10-25 06:41:12 -03:00
fiatjaf
1bf1071225 tailwind .background 2023-10-25 06:38:21 -03:00
fiatjaf
c2f342ee30 tailwind some small note metadata things. 2023-10-25 06:17:33 -03:00
fiatjaf
d2594a921e tailwind the magic client picking menu (with some small changes). 2023-10-25 00:23:21 -03:00
fiatjaf
4f276e2156 remove some unused clients. 2023-10-25 00:23:01 -03:00
fiatjaf
660952a338 syntax-highlight event JSON on the server. 2023-10-24 21:09:01 -03:00
fiatjaf
2b9c45d854 tailwind .label 2023-10-24 20:06:24 -03:00
fiatjaf
81390b159c tailwind .nostr 2023-10-24 20:01:17 -03:00
fiatjaf
5613f6ffa9 tailwind .advanced-switch-wrapper 2023-10-24 19:58:28 -03:00
fiatjaf
6ade15b7e8 tailwind .field and related things. 2023-10-24 17:27:20 -03:00
fiatjaf
20a2d225b9 tailwind .last_notes and sub-styles. 2023-10-24 12:42:31 -03:00
fiatjaf
a9f89cf6fc add nostrudel. 2023-10-24 10:13:48 -03:00
fiatjaf
ec9063564d tailwind field separator. 2023-10-23 23:45:54 -03:00
fiatjaf
48137b0b1f tailwind stuff in the headers of each page template. 2023-10-23 23:32:18 -03:00
fiatjaf
78e5ec739c fix details template included from profile. 2023-10-23 17:33:25 -03:00
fiatjaf
c50d273a92 slightly adjust main container size. 2023-10-22 23:39:10 -03:00
fiatjaf
937009003c tailwind .pic 2023-10-22 23:36:55 -03:00
fiatjaf
c96cc28c33 fix ParentLink that was showing up all the time when it shouldn't. 2023-10-22 23:36:18 -03:00
fiatjaf
e7af45bf23 begin the work of turning everything into tailwind. 2023-10-22 23:02:44 -03:00
fiatjaf
68ef73abe8 better hyperscript on profile name scrolling. 2023-10-22 18:02:39 -03:00
fiatjaf
16b661a35d replace theme changing scripts with hyperscript. 2023-10-22 18:02:24 -03:00
fiatjaf
93d0ba1e24 fix favicon redirect path. 2023-10-22 18:02:08 -03:00
fiatjaf
ef35358319 get rid of fallback for cache. 2023-10-22 09:31:29 -03:00
fiatjaf
e4f0e40123 redirect from favicon.ico to /static/... 2023-10-22 09:28:33 -03:00
fiatjaf
62ec86cf07 get rid of the webmanifest. 2023-10-22 09:27:01 -03:00
fiatjaf
55c5ac3d0a fully eliminate scripts.js 2023-10-22 08:47:10 -03:00
fiatjaf
3d482926b5 one more script replaced with hyperscript. 2023-10-21 21:52:05 -03:00
fiatjaf
75b7a96675 replacing scripts with hyperscript. 2023-10-21 21:40:39 -03:00
fiatjaf
db111e6398 picking random content happens on the server, homepage loads with zero overhead. 2023-10-21 18:39:56 -03:00
fiatjaf
617cd5882a reorder some calls on renderEvent. 2023-10-21 14:38:52 -03:00
fiatjaf
9d86539349 cleanup template remainings. 2023-10-21 14:37:49 -03:00
fiatjaf
2fe1057ef6 profile sitemap. 2023-10-21 14:20:58 -03:00
fiatjaf
d459769915 rename render -> render_event.go 2023-10-21 14:10:31 -03:00
fiatjaf
ebeb9820d8 move redirectors, renderRelay and renderProfile out of render. 2023-10-21 14:10:08 -03:00