Commit Graph

94 Commits

Author SHA1 Message Date
Liu Yuhe 1c101873d7
fix: code copy failed (#2168) 2024-09-02 20:04:11 +08:00
Innei abc6a8d832
refactor: move shiki package, split rsc and rcc boundary component and dynamic import shiki resource (#1820)
* refactor: move shiki package, split rsc and rcc boundary component

Signed-off-by: Innei <i@innei.in>

* chore: cleanup

Signed-off-by: Innei <i@innei.in>

* fix: typing

Signed-off-by: Innei <i@innei.in>

* fix: deps

Signed-off-by: Innei <i@innei.in>

* fix: import

Signed-off-by: Innei <i@innei.in>

* fix: patch package

Signed-off-by: Innei <i@innei.in>

* fix: tw class

Signed-off-by: Innei <i@innei.in>

---------

Signed-off-by: Innei <i@innei.in>
2024-05-19 20:48:03 +08:00
Stephen Zhou ce6e64ff3c
feat: migrate to shiki, support custom code theme (#1692)
* refactor: migrate to shiki

* read code theme from character metadata

* update

* remove refractor

* save code theme

* update

* fix post editor

* update

* update

* update
2024-04-11 10:41:59 +08:00
DIYgod 59290dafc2
feat: dayjs lib 2024-01-24 16:42:35 +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
Stephen Zhou e011c8924a
chore: replace prettier-plugin-sort-imports from trivago to ianvs (#1017) 2023-10-06 12:12:55 +08:00
Stephen Zhou 1d2e48bdd1
feat: support toggle focus mode for editor (#1015)
* feat: support toggle focus mode for editor

* use requestFullscreen

* update

* hide option button

* update
2023-10-06 12:10:33 +08: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 a2f052bbd9
feat: share preferred_language cookie between subdomains 2023-08-17 23:48:12 +01:00
Innei 1da7bbc280
refactor: dark mode and support system theme (#908) 2023-08-16 13:18:52 +01:00
DIYgod d644b14cf8
feat: portfolio editor 2023-08-01 20:49:41 +01:00
DIYgod e15ea3f9fa
feat: add block number in home 2023-07-27 23:03:33 +01:00
DIYgod 06713c901e
feat: recover nprogress and remove dark mode switching transition to avoid link flicker 2023-07-22 14:51:22 +01:00
DIYgod d279e6cc2e
fix: remove nprogress for page redirection flicker 2023-07-21 14:49:24 +01:00
DIYgod dcd64efea6
fix: dark mode flush 2023-07-18 16:33:16 +01:00
Innei 2fbf21d60c
fix: to fix the mistakes I have made about react (#791) 2023-07-18 15:20:18 +01:00
Innei 745bee912a
fix: dark mode flash if no cookie found (#779) 2023-07-14 18:13:52 +01:00
DIYgod 0d90104d75
chore: update next 2023-07-08 00:30:05 +01:00
Innei 48aa67e784
feat: introduce `ModalStack` component for declarative modal creation (#741) 2023-07-07 16:40:05 +01:00
Innei 471dab27a8
fix: optimize code and fix loading button style (#637) 2023-06-14 15:43:51 +01:00
DIYgod b62360499b
feat: display anonymous name 2023-06-14 00:10:22 +01:00
DIYgod a5690eb03b
feat: remove cm-scroller fontFamily 2023-06-13 19:48:23 +01:00
Nya Candy 8ef36c065b
feat: editor advanced options & disable AI summary (#600) 2023-06-08 11:13:39 +01:00
DIYgod 49262e5b75
feat: support cover editor input 2023-06-06 19:52:03 +01:00
Birdgg a0b7d76179
fix: scroll to anchor when init url with anchor (#599) 2023-06-04 17:56:27 +01:00
DIYgod 3c5ddf3213
fix: dashboard editor padding bottom 2023-05-31 16:17:17 +03:00
Birdgg a839332b63
fix: HttpOnly not support to config on client js (#585) 2023-05-25 21:15:24 +01:00
DIYgod abe56af40f
fix: hard-coded domain name 2023-05-18 17:31:54 +01:00
DIYgod 6347933bc7
Merge branch 'pr/Innei/557' into dev 2023-05-18 11:52:54 +01:00
Caspian Zhao 55944cd5e1
fix: solved FCP flash issue. (#551) 2023-05-18 11:39:02 +01:00
DIYgod c3f891e1ab
feat: optimize editor collapse styles 2023-05-18 11:36:19 +01:00
Innei 38ecf47f8f
feat: support comment cm
Signed-off-by: Innei <tukon479@gmail.com>
2023-05-18 11:27:50 +08:00
DIYgod f138acc154
feat: refactor the publish time input box and add a scheduled publish warning 2023-05-16 19:32:33 +01:00
DIYgod 09441cffce
feat: extend document to ignore startViewTransition type error 2023-05-15 15:51:36 +01:00
fwqaaq f161e54368
feat: add viewTransition for dark mode (#518) 2023-05-15 15:37:29 +01:00
DIYgod ee663250a3
fix: disable progress bar for native a tag redirection, for there are issues with hash jumping 2023-05-10 23:43:48 +01:00
DIYgod 5a1264cb95
feat: generate metadata 2023-05-08 22:01:38 +01:00
Innei 5b8a022078
fix: replace nprogress with hooks and qier-progress (#509) 2023-05-08 11:49:01 +01:00
DIYgod 5d9194787b
feat: use app router for site home 2023-05-07 17:12:17 +01:00
DIYgod cc56cacb09
feat: LangProvider and useLang 2023-05-06 22:42:19 +01:00
enpitsulin 091c11847b
fix: i18n in app router (#496) 2023-05-06 17:47:00 +01:00
iku aebbafa254
Feat/tag selector (#485) 2023-05-04 18:52:35 +01:00
DIYgod d9fb3a8917
fix: empty date error 2023-05-03 23:02:49 +01:00
DIYgod 2fe77a563f
Remove dependency Unidata (#473) 2023-05-02 00:32:25 +01:00
Innei d51b713d2c
refactor: extract reaction AvatarStack (#454) 2023-04-28 20:58:37 +01:00
Grogu c387a631cd
fix: fix popover position, closes #441 (#442)
Co-authored-by: Innei <tukon479@gmail.com>
2023-04-27 19:46:12 +01:00
Innei a5aa9d9182
feat: FAB container and add back to top fab (#415) 2023-04-24 11:28:03 +01:00
Innei 5c615c4372
refactor: reduce rerendering in editor edit (#389) 2023-04-22 23:56:52 +01:00
DIYgod d2b50d163d
Merge branch 'pr/Innei/379' into dev 2023-04-18 17:19:24 +01:00