Commit Graph
354 Commits
Author SHA1 Message Date
DIYgod 6dfc652fbf fix: visibility not updated, close #1299 2024-01-18 21:37:24 +08:00
DIYgod c23c86a41a fix: heatmap overflow, close #1290 2024-01-18 21:26:40 +08:00
DIYgod aaad70c911 feat: rename PageContent 2024-01-17 01:00:53 +08:00
DIYgod 82611050bc feat: heatmap in dashboard 2024-01-16 00:06:59 +08:00
DIYgod b64d51ff15 feat: use post list in tag page 2024-01-15 17:09:34 +08:00
DIYgod 8e56bc363a feat: post title component 2024-01-15 17:08:39 +08:00
DIYgod 4327e85a5b feat: add tweet fallback 2024-01-14 11:54:42 +08:00
DIYgod 3edf43af7c Revert "feat: remove tweet embeding"
This reverts commit 7fcb61fd5f.
2024-01-14 11:32:03 +08:00
Stephen Zhou 6aaf6a5c7d fix: can not remove banner (#1237)
* fix: can not remove banner

* chore: use null
2024-01-08 21:21:19 +08:00
Stephen Zhou 7ac65707f8 fix: default visibility to draft (#1236) 2024-01-06 00:45:42 +08:00
Stephen Zhou 411edb9196 fix: limit dashboard width (#1235) 2024-01-05 12:27:28 +08:00
Stephen Zhou ef55e21674 feat: logo for dark mode (#1232)
* feat: logo for dark mode

* chore: fix background color in dev
2024-01-05 12:26:47 +08:00
Stephen Zhou 4aab07119b fix: some dashboard style on mobile (#1210) 2023-12-30 11:19:09 +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
Caspian Zhao d951be50c1 (WIP) fix: do not translate the Markdown syntax or tags. (#1206)
* fix: do not translate the Markdown syntax or tags.

* fix: improve the prompt to include more edge cases.
2023-12-27 14:05:05 +08:00
DIYgod 688c9297b1 fix: types error 2023-12-26 16:23:32 +08:00
XLor bcc35dfe80 fix: i18n key word (#1190) 2023-12-23 03:41:01 +08:00
Stephen Zhou eae7fd390d chore: move themeColor to viewport (#1185) 2023-12-22 23:39:22 +08:00
Stephen Zhou 862b393d5b refactor: unify loading component (#1184) 2023-12-22 23:20:22 +08:00
DIYgod 9f6607098a feat: set x-default hreflang 2023-12-20 15:51:35 +08:00
Caspian Zhao 952199fed5 fix: Add hreflang links to sitemap.xml (#1169) 2023-12-20 15:44:31 +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
Stephen Zhou 269c574220 fix: add eslint-plugin-tailwindcss and fix potential problems (#1155)
* fix: add eslint-plugin-tailwindcss and fix potential problems

* chore: update

* chore: update

* chore: update

* chore: update
2023-12-16 21:55:33 +08:00
Stephen Zhou b50ff968f0 refactor: replace @iconify/tailwind with @egoist/tailwindcss-icons (#1154) 2023-12-16 15:17:57 +08:00
DIYgod 9002dce682 fix: feed request 2023-12-15 20:16:33 +08:00
Caspian Zhao 4cca85021f fix: fixed the problem where the preview displayed incorrectly. (#1145) 2023-12-14 13:43:04 +08:00
Caspian Zhao 81caf99fb5 fix: Skip translation if the content is null. (#1136) 2023-12-14 03:49:36 +08:00
Caspian Zhao c1acd5b3f0 feat: Display the translation information. (#1137) 2023-12-14 03:49:07 +08:00
Caspian Zhao 871a4f8a17 Merge pull request #1115 from Crossbell-Box/fix/ssr_trans
fix: solved the ssr issue.
2023-12-05 14:41:45 +00:00
Caspian 5a818dd2f7 fix: solved the ssr issue. 2023-12-05 14:36:21 +00:00
Caspian 0dc7ce2a03 fix: fixed translation issue on details page. 2023-12-05 13:19:37 +00:00
Caspian 25f1c6ea73 Merge branch 'dev' into feat/add_image_dimension_field 2023-12-05 09:51:36 +00:00
Caspian 55b758594a chore: rm exports in API route. 2023-12-03 13:38:44 +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
Stephen Zhou bb98256042 feat: add github alerts support (#1095) 2023-12-01 21:31:08 +08:00
DIYgod 55db2992b7 feat: reverse twitter images metadata, close #1038 2023-11-28 21:58:31 +08: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
Stephen Zhou 9dc36aee1c fix: rounded scroll bar (#1041) 2023-11-20 23:54:31 +08:00
DIYgod 62e9cce9d7 feat: optimize scoring prompt and use gpt-4-1106-preview model 2023-11-16 17:57:29 +08:00
DIYgod adacd8ab8b feat: add itunes email 2023-10-12 21:22:02 +08:00
DIYgod 7fcb61fd5f feat: remove tweet embeding 2023-10-07 17:58:36 +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