Commit Graph

334 Commits

Author SHA1 Message Date
fiatjaf
4df0620502 apply prettier tailwind plugin to reorder classes. 2023-10-28 13:24:57 -03:00
fiatjaf
1c36a379fd use naked (no relay hints) nip19 codes for canonical URLs and move them to head_common. 2023-10-28 13:17:53 -03:00
Daniele Tonon
500c136948 Fix homepage typo 2023-10-28 17:09:04 +02:00
fiatjaf
1de52a44a2 add tailwind build step for dokku. 2023-10-28 11:20:27 -03:00
fiatjaf
974ef7912c Merge branch 'prettier-tailwind' 2023-10-28 11:17:50 -03:00
fiatjaf
24581a7640 rename module to its github name. 2023-10-28 11:15:04 -03:00
Daniele Tonon
c2348beddd Review toggles design 2023-10-28 15:36:43 +02:00
Daniele Tonon
6f7b04769e Review clients design 2023-10-28 15:22:54 +02:00
Daniele Tonon
46d14ceee8 Reduce the homeoage width and add some margin to the top 2023-10-28 14:20:56 +02:00
Daniele Tonon
d61e4f6f3a Increase font size for 'Publishing to' relays 2023-10-28 14:13:49 +02:00
Daniele Tonon
e26f09fb7c Fix profile pic scrolling and smartphone view 2023-10-28 14:13:20 +02:00
Daniele Tonon
b63af1e89a Review font sizes 2023-10-28 14:10:22 +02:00
Daniele Tonon
c4ddfdaad3 Review titles' size and spacing in the homepage 2023-10-28 14:10:22 +02:00
Daniele Tonon
4b73d804bb Reduce columns gap and limit max width 2023-10-28 14:10:22 +02:00
Daniele Tonon
86be87e2dc Fix the flickering of the notes' left border 2023-10-28 14:10:22 +02:00
Daniele Tonon
758ff18a5f Use light font in the homepage 2023-10-28 14:10:22 +02:00
fiatjaf
cd23e83023 njump root link to / instead of njump.me 2023-10-28 07:39:33 -03:00
VictorieeMan
72d8a3166c added to footer a njump.me home link and a seperate & open-sourced on github link
The njump.me website was missing a "home" link to root. This commit adds it to the footer in the "powered by [njump]()" message, that previously redirected to the github page.

The github link is now added in an "open-sourced on [github]()" message. The new footer is on the format:

"powered by njump & open-sourced on github"

Now linking to both home and the github page.
2023-10-28 07:38:31 -03:00
VictorieeMan
104aaddb1c added target="_blank" to "what is nostr?"
Opening the nostr.com page in a new tab, rather than leaving the page of nostr content your friend sent you.
2023-10-28 06:50:11 -03:00
fiatjaf
d8f14ca515 remove empty hyperscript. 2023-10-27 17:32:10 -03:00
fiatjaf
873068434a enable prettier tailwind plugin. 2023-10-27 17:31:58 -03:00
fiatjaf
ba3b1fddcb remove empty hyperscript. 2023-10-27 17:31:20 -03:00
0xtr
9360749e29 Add Tailwind bundling step to Dockerfile
Refactors the Dockerfile into multiple stages. First stage is to
build the minified Tailwind CSS bundle. Next it builds the final Go binary.
In the last step, it builds the Docker image that will run the application.
Alpine has minimal with dependencies which gives us a smaller attack
surface.
2023-10-27 17:10:18 -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