fiatjaf
954bebaeef
fix profile metadata on grabData().
2023-10-31 20:59:02 -03:00
Daniele Tonon
24140b3d58
Fix smartphone width for kind:1063 download button
2023-10-31 15:54:17 +01:00
fiatjaf
f9b4f03999
expose Kind1063Metadata fields and use that struct directly in templates.
2023-10-31 10:57:34 -03:00
fiatjaf
be3fad5bec
fix kind description on grabData().
2023-10-31 10:31:13 -03:00
fiatjaf
1301f38443
move opengraph head metadata stuff into its own template partial.
2023-10-30 22:51:13 -03:00
fiatjaf
4639c2dbcf
simplify struct building on grabData()
2023-10-30 22:33:47 -03:00
fiatjaf
2fecd4e5f2
turn kind1063Metadata into a struct.
2023-10-30 22:28:33 -03:00
fiatjaf
f3997b78ae
Your => your native client
2023-10-30 20:08:15 -03:00
fiatjaf
68e3722bbd
turn user-agent style possibilities into constants.
2023-10-30 19:35:59 -03:00
Daniele Tonon
ad91d3b96b
Add basic support for NIP-94 - File Metadata
2023-10-30 23:29:23 +01:00
Daniele Tonon
783339defd
Fix broken column on long nprofiles
2023-10-30 19:56:21 +01:00
Daniele Tonon
84d5914b7f
Add a background to not full width videos
2023-10-30 18:44:23 +01:00
fiatjaf
d50cd65165
fix typography: include plugin on prod build.
2023-10-29 08:15:32 -03:00
Daniele Tonon
32f25bb2d4
Darken the dark-mode background
2023-10-28 23:57:41 +02:00
Daniele Tonon
0522ebb3f7
Fix mistaken end-if
2023-10-28 23:54:07 +02:00
Daniele Tonon
aee216ee5c
Limit video size to the viewport
2023-10-28 23:24:47 +02:00
fiatjaf
b44defdc13
fix client urls.
...
closes https://github.com/fiatjaf/njump/issues/13
2023-10-28 17:04:36 -03:00
Daniele Tonon
9ce8d7970a
Fix some layout glitches in the note template
2023-10-28 18:41:09 +02:00
Daniele Tonon
7aa229cebf
Fix NIP-05 profiles rendering
2023-10-28 18:41:09 +02:00
fiatjaf
280dc1378d
fix other template.
2023-10-28 13:40:07 -03:00
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