Commit Graph

115 Commits

Author SHA1 Message Date
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
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
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
f70b13afe7 relay and archive sitemaps xml (with a nice hack because htmlgo is not xml-friendly.) 2023-10-21 13:34:32 -03:00
fiatjaf
65025d4967 tmpl relay.html and replace LastNoteItem struct with a simpler EnhancedEvent with methods instead of hardcoded values. 2023-10-21 12:19:30 -03:00
fiatjaf
901b2b5d62 tmpl migration: profile.html 2023-10-21 11:47:28 -03:00
fiatjaf
b6225e027d tmpl migration: homepage.html 2023-10-21 08:25:04 -03:00
fiatjaf
a04f82764a rename variable CanonicalHost to Domain. 2023-10-21 07:47:37 -03:00
fiatjaf
6aa1440b05 tmpl migration: note.html 2023-10-21 07:45:44 -03:00
fiatjaf
bc947e29d8 mass tmpl migration: partials, other.html and archive.html. 2023-10-21 00:47:19 -03:00
fiatjaf
4b1dddebae make robots.txt rendering a simple string thing. 2023-10-19 21:11:26 -03:00
fiatjaf
7293103fc7 first step in the migration to templ. 2023-10-19 21:11:26 -03:00
Daniele Tonon
ab6b7628e6 Update homepage with Twitter and Telegram share 2023-10-17 20:51:32 +02:00
Daniele Tonon
c70baa7918 Add html to prettier and prettify the templates 2023-10-17 19:05:11 +02:00
Daniele Tonon
908aa165c2 Add favicon(s) 2023-10-14 09:46:17 +02:00
fiatjaf
fe646af02c encode displayed nevent with seen-on relays.
fixes https://github.com/fiatjaf/njump/issues/7
2023-10-10 13:52:16 -03:00
fiatjaf
c7b7351d5b replace "wrote" with "on Nostr" 2023-10-10 11:35:28 -03:00
fiatjaf
637cfa55e9 make "s" (Settings) a global template function so we don't have to pass it around everywhere. 2023-10-07 08:20:10 -03:00
fiatjaf
f169c01e67 fix .metadata.Website without a leading "https://" 2023-10-07 08:15:52 -03:00
Daniele Tonon
6e9bfc7e62 Review the positioning and design of "See on" 2023-10-03 16:24:20 +02:00
fiatjaf
28e926b21d stop redirecting to clients automatically. 2023-10-02 15:58:39 -03:00
fiatjaf
d8ccd2a342 fix title for non-twitter previews. 2023-10-02 15:23:56 -03:00
fiatjaf
9904686055 display seenOn relays in event pages with clickable links. 2023-10-02 15:21:41 -03:00
fiatjaf
475b614653 oembed discovery. 2023-09-24 14:12:10 -03:00
fiatjaf
a082efc45d delete explicit mentions to njump.me and use s.CanonicalHost 2023-09-24 13:57:42 -03:00
fiatjaf
0a9b9ce1d3 use content with names replaced in as the title. 2023-09-23 12:24:03 -03:00
Daniele Tonon
3b828797b8 Fix missing code in 8ab0cfca 2023-09-20 12:53:53 +02:00
Daniele Tonon
0ffb7018d0 Hide display_name if equal to name 2023-09-20 01:22:16 +02:00
Daniele Tonon
8ab0cfca8c Update last notes design + add npub to relays list 2023-09-20 00:50:52 +02:00
Daniele Tonon
616242ac3b Shorten nip-119 entities in profiles/relays' last notes 2023-09-19 15:37:41 +02:00
Daniele Tonon
92574248db Add client name to href dataset 2023-09-17 21:19:08 +02:00
Daniele Tonon
730485613c Fix nip-05 syntax in the home 2023-09-15 16:17:58 +02:00
fiatjaf
1c4a9ba06d show correct author name in telegram instant view for longform articles. 2023-09-14 15:00:35 -03:00
fiatjaf
b0bda60577 improve and fix telegram instant preview for markdown articles. 2023-09-14 10:31:38 -03:00
Daniele Tonon
7940dddc3e Update json styles 2023-09-14 08:53:19 +02:00
fiatjaf
769e06554b make instant view happen when there is video or image and the note is big enough. 2023-09-13 21:41:22 -03:00
fiatjaf
daf83b136c bring back pretty JSON. 2023-09-13 21:13:37 -03:00
fiatjaf
7291dd4bed telegram instant preview when a note is very big. 2023-09-13 20:49:24 -03:00
Daniele Tonon
ac47270348 Justify homepage text on desktop 2023-09-13 18:01:26 +02:00
fiatjaf
46664bc2f6 fixes and small changes on homepage copy. 2023-09-13 12:38:55 -03:00
Daniele Tonon
987932eb46 Improve homepage usability and styles 2023-09-11 15:49:04 +02:00