Commit Graph

68 Commits

Author SHA1 Message Date
Daniele Tonon
ddaba769f9 Add print styles to note's template 2023-06-02 18:36:33 +02:00
Daniele Tonon
17f75e1fbe Make the clients' column sticky for long content 2023-06-02 18:09:49 +02:00
Daniele Tonon
c292a67bc0 Add markdown support for long format content 2023-06-02 18:09:49 +02:00
Daniele Tonon
82ea89443e Fix webkit glitches 2023-06-02 13:56:48 +02:00
Daniele Tonon
64b2ce3e02 Fix rendering of naddr and other events 2023-06-01 16:43:47 +02:00
Daniele Tonon
3b6b347337 Add nostr.com to canonical urls 2023-06-01 15:18:44 +02:00
Daniele Tonon
4870446fa5 Fix / improve replaceURLsWithTags 2023-06-01 15:18:44 +02:00
Daniele Tonon
ea0f0b647d Add link to the parent note, flag note as reply in the profile's last notes 2023-06-01 15:18:44 +02:00
Daniele Tonon
415fc088ba Revert global status to basicFormatting and replaceURLsWithTags 2023-06-01 15:18:44 +02:00
Daniele Tonon
1404eb5d1e Add mov to supported video 2023-06-01 15:18:44 +02:00
fiatjaf
e503ea773b fix text-to-image route. 2023-05-30 10:14:53 -03:00
Daniele Tonon
9a6ddd2dab Switch last notes and advanced details in profile 2023-05-30 08:17:37 +02:00
Daniele Tonon
f44dd59316 Apply basic formatting to profiles' about 2023-05-30 07:58:49 +02:00
Daniele Tonon
7a6f41ada5 Add canonical to profiles 2023-05-30 07:24:00 +02:00
Daniele Tonon
94e6d0e009 Lower profiles' cache-control to 15min and notes' one to 24h 2023-05-30 07:24:00 +02:00
Daniele Tonon
1cf49a1d98 Add basic support for repost (kind 6) 2023-05-30 07:24:00 +02:00
Daniele Tonon
b8526ac8a5 Improve visual of links and toggles 2023-05-30 07:24:00 +02:00
Daniele Tonon
136d160091 Show last notes on profiles and add canonical to notes 2023-05-30 07:12:09 +02:00
Daniele Tonon
13120d01df Implement template for not profile/note kinds, improve details 2023-05-28 22:58:03 +02:00
fiatjaf
cfbf39e9f1 fix type so previews work again. 2023-05-27 21:31:50 -03:00
Daniele Tonon
b6cab72b50 Parse and show video 2023-05-28 01:48:46 +02:00
Daniele Tonon
271280cc33 Apply micro visual improvements 2023-05-28 01:25:20 +02:00
Daniele Tonon
29745bff38 Update njump url 2023-05-27 23:49:57 +02:00
Daniele Tonon
48391ddb8f Fix background's scrolling glitch on mobile 2023-05-27 18:06:59 +02:00
Daniele Tonon
7c8556e6e8 Fix clients column width 2023-05-27 15:15:59 +02:00
Daniele Tonon
25eaad1595 Fix kinds/types - templates mapping 2023-05-27 14:45:32 +02:00
fiatjaf
11e96a0d73 run prettier on web files. 2023-05-27 08:45:32 -03:00
fiatjaf
65a61cdcd6 serve everything under the /njump/ path to prevent conflicts with root domain website. 2023-05-27 08:42:11 -03:00
fiatjaf
f9a85a7de1 add zerolog and fix static file serving. 2023-05-27 08:36:22 -03:00
fiatjaf
448021ee41 actually fix the templates. 2023-05-27 08:35:37 -03:00
fiatjaf
e621f0adab fix template embedding. 2023-05-27 08:15:53 -03:00
fiatjaf_
768317f4c8 Merge pull request #1 from dtonon/feature/design-profile-note 2023-05-27 07:41:26 -03:00
Daniele Tonon
ab627faf60 Reduce overall font size 2023-05-27 12:40:31 +02:00
Daniele Tonon
d5c90abb58 Add automati + manual dark mode switch 2023-05-27 12:30:48 +02:00
Daniele Tonon
f00926440d Add dark mode (static) 2023-05-27 12:05:23 +02:00
Daniele Tonon
c43de7478b Move all html/js templates under static/ 2023-05-27 12:04:50 +02:00
Daniele Tonon
9deaa1e410 Reorganize templates by partials 2023-05-27 12:04:50 +02:00
Daniele Tonon
7cb5233e65 Move nevent under 'more details' and fix css details 2023-05-27 12:04:50 +02:00
Daniele Tonon
fcdbf347b1 Add nostr events' links to the basic formatting 2023-05-26 08:52:25 +02:00
Daniele Tonon
1798cda23a Use an indipendent var for note content 2023-05-26 08:50:32 +02:00
Daniele Tonon
f38571c8e9 Sanitize html content 2023-05-25 21:05:58 +02:00
Daniele Tonon
41685aa8ea Add note rendering with basic formatting (images and links) 2023-05-25 20:55:22 +02:00
Daniele Tonon
d01e6c5d04 Split templates by event type
Currently fallback to the raw.html if type is not a profile
2023-05-25 20:53:47 +02:00
Daniele Tonon
0c90ec92ea Revert prettyJsonOrRaw update and use go-nostr v1.8.4 for all user's metadata 2023-05-25 20:53:47 +02:00
Daniele Tonon
3a7e3d02ad Reorder clients list by usage 2023-05-24 20:46:40 +02:00
Daniele Tonon
f237999b04 Add a querystring param to automatically open the details area 2023-05-23 18:41:08 +02:00
Daniele Tonon
1e408d7fa0 Uppercase the first char of web clients 2023-05-23 15:53:59 +02:00
Daniele Tonon
e6a3bea192 Add last update in the mobile 2023-05-23 15:11:58 +02:00
Daniele Tonon
75c7f08cbe Refactor css 2023-05-23 15:10:52 +02:00
Daniele Tonon
28272617c6 Fix emoji rendering 2023-05-23 14:56:14 +02:00