Commit Graph
374 Commits
Author SHA1 Message Date
DIYgod 59290dafc2 feat: dayjs lib 2024-01-24 16:42:35 +08:00
DIYgod 630bfc0457 feat: getRandomAvatarUrl function 2024-01-18 21:17:09 +08:00
DIYgod 4b80b39ddd fix: markdown excerpt metadata 2024-01-17 23:24:13 +08:00
DIYgod 45c0fa53fd feat: conditional serializing markdown parsing results 2024-01-17 19:52:29 +08:00
DIYgod 172d1ec4be feat: add comment content filter 2023-12-29 19:58:21 +08:00
DIYgod 3070b17729 feat: support custom footer, close #136 2023-12-28 22:47:55 +08:00
DIYgod 9f6607098a feat: set x-default hreflang 2023-12-20 15:51:35 +08:00
Caspian Zhao 55bb1229aa Feat: Added hreflang link for better SEO. (#1167)
* Update Language type to Readonly

* Add withHrefLang utility function for generating hreflang metadata

* feat: Support for specified language through locale search parameter. (...?locale=zh)

* feat: Added hreflang link for better search engine optimization.
2023-12-20 15:43:36 +08:00
Caspian Zhao c1acd5b3f0 feat: Display the translation information. (#1137) 2023-12-14 03:49:07 +08:00
Caspian 25f1c6ea73 Merge branch 'dev' into feat/add_image_dimension_field 2023-12-05 09:51:36 +00:00
Caspian 68c7138763 chore: resolved comments. 2023-12-04 17:50:17 +00:00
Caspian 086cf5536a chore: solved comments. 2023-12-04 17:36:03 +00:00
Caspian e7409a4e7a feat: Invoke translateNote via API. 2023-12-01 17:53:49 +00:00
Caspian f520e63b19 Merge branch 'dev' into feat/automatic_translate_content 2023-12-01 15:59:13 +00:00
Caspian dcb53e1dd7 Merge branch 'dev' into feat/add_image_dimension_field 2023-12-01 15:36:33 +00:00
Caspian 4d9a760cc4 feat: Invoke imageDimensions method via API. 2023-12-01 15:34:02 +00:00
DIYgod 91aa185d1c feat: use next-intl (#1026)
* feat: use next-intl

* feat: set next-intl localePrefix to never

* chore: add next-intl

* chore: fix lock file

* feat: use [locale]

* fix: the custom rewrite conflict with next-intl rewrite in middleware

* fix: getTranslations function name

* fix: remove comma in translation key

* fix: next-intl dev error

* feat: update tran text

* feat: transaction for about page

* feat: i18n for server components

* feat: i18n for client components

* feat: i18n for client components and provider

* feat: i18n for language switch

* feat: remove i18next

* feat: custom intl error, ignore MISSING_MESSAGE error

* feat: use useLocale

* fix: unstable_setRequestLocale for middleware error
2023-11-28 01:34:49 +08:00
Caspian e7fa9c0781 Support to translate posts content by ai. 2023-11-22 23:59:21 +00:00
Caspian 3fc91b60b7 feat: Add imagesDimensions field. 2023-11-22 22:47:27 +00:00
DIYgod 034723fe8b feat: replace nftscan with simplehash 2023-11-21 22:42:31 +08:00
DIYgod bacfcf955b feat: fetch metadata content 2023-11-01 17:38:02 +08:00
DIYgod adacd8ab8b feat: add itunes email 2023-10-12 21:22:02 +08:00
DIYgod 3f4ed416e9 fix: reduce estimated reading time for Chinese 2023-10-12 20:48:24 +08:00
DIYgod ef9421d895 feat: force the short to include an image 2023-10-06 23:44:13 +08:00
Stephen Zhou e011c8924a chore: replace prettier-plugin-sort-imports from trivago to ianvs (#1017) 2023-10-06 12:12:55 +08:00
DIYgod b76d966e1e fix: site header translation 2023-09-25 17:18:07 +08:00
DIYgod cfe73281a0 feat: execute the changeLanguage method in advance 2023-09-25 14:52:06 +08:00
DIYgod 0d3ae54e1a feat: shorts list icons 2023-09-23 01:55:15 +08:00
DIYgod 3838e2e532 feat: more page sorting 2023-09-22 17:34:20 +08:00
DIYgod 070c339749 feat: show likesCount and hide viewCount for shorts 2023-09-19 21:55:38 +08:00
DIYgod 0183061dd7 feat: short preview list 2023-09-18 20:02:37 +08:00
Reg Chien 3583dd6ad7 Update zh-tw support (#1001) 2023-09-15 10:29:22 +08:00
DIYgod 5ca4d3fb7f feat: publishing menu in connect button 2023-09-14 17:29:07 +08:00
DIYgod f798528509 feat: url field for anonymous comment 2023-09-13 22:47:03 +08:00
DIYgod 261a1163a2 feat: remove cloudflare image resizing 2023-09-12 14:11:22 +08:00
DIYgod b93b532ebf feat: short card special style 2023-08-29 00:19:29 +01:00
DIYgod 0fcb1d8ce9 feat: missing slug in editor 2023-08-26 02:54:08 +01:00
DIYgod be1825fbf7 feat: update descriptions 2023-08-26 02:24:05 +01:00
DIYgod 03b65b07c6 fix: types error 2023-08-26 01:23:16 +01:00
DIYgod 3bf8c1d3ba feat: unified editor data converter 2023-08-26 00:39:43 +01:00
DIYgod 215bd8fbc0 feat: shorts 2023-08-25 19:02:57 +01:00
DIYgod 697ee50cf1 feat: use unified editor properties 2023-08-25 03:03:05 +01:00
DIYgod b1f54707a0 fix: async client component 2023-08-24 19:56:11 +01:00
DIYgod c0d4cc133c feat: PublishedModal component 2023-08-24 18:37:54 +01:00
DIYgod b34856fa2e feat: dashboard layout style 2023-08-24 18:17:08 +01:00
Caspian Zhao 12ce6d847c fix: solved the problem of only-content params. (#936) 2023-08-23 18:42:07 +01:00
DIYgod bc906ccb56 fix: set X-Forwarded-Host for rewrite 2023-08-22 00:59:51 +01:00
DIYgod a2f052bbd9 feat: share preferred_language cookie between subdomains 2023-08-17 23:48:12 +01:00
Stephen Zhou 64909965e1 feat: language switch (#903) 2023-08-17 23:31:41 +01:00
DIYgod 27b9332d1f Merge remote-tracking branch 'origin/dev' into dev 2023-08-16 17:00:43 +01:00