343 Commits

Author SHA1 Message Date
Artur Mostowski
d141906251 fix: change deprecated --apply flag to --write 2025-01-21 18:57:53 +01:00
Hasenpfote
8287e42e6e fix: display of long equations is cut off (#287) 2025-01-19 16:11:51 +08:00
noeFly
18cc3e0d4f fix: output incorrect symbol in console (#290) 2025-01-19 15:59:37 +08:00
saicaca
1b4b859e87 fix: remove obsolete astro:after-swap listener
which can be triggered in Astro 5.0 even with Swup, causing duplicate initialization
2025-01-17 03:55:30 +08:00
Katsuyuki Karasawa
4a4c19a3ed chore: update dependencies, including Astro v5. (#244)
* update dependency

* update dependencies
2025-01-17 03:33:54 +08:00
Zulfikar Ali Muzakir
2244a77935 fix: search component missing from PROD environment (#268)
Update search component to only be client side for svelte.
2025-01-13 00:55:05 +08:00
Katsuyuki Karasawa
081ec35b07 feat: self-host KaTeX CSS (#279) 2025-01-12 23:12:48 +08:00
Carlos Company
baa894183b fix: add padding to ButtonLink badge div (#251)
When the number of posts in a category reaches 4 or even 3 digits the component does not look correct.
2024-12-31 17:28:17 +08:00
foxton9
589c593e53 fix: revise TOC logic (#252)
fix bugs in fallback, markVisibleSection; refine rAF and connectedCb
2024-12-31 17:27:40 +08:00
twystpaki
588a536e87 feat: add Thai translation (#264)
* Create th.ts

Created i18n Thai translation file.

* Update translation.ts

Added Thai language support.

* Update config.ts

Added Spanish (es) and Thai (th) to commented possible values for `lang` key.

* Create README.th.md

Created Thai version of README.

* Update README.md

Added navigation/link to Thai version of README.
2024-12-31 17:02:23 +08:00
Carlos Company
4483433dd7 fix: removing pointer-events from BackToTop wrapper (#259)
The back-to-top wrapper element is hidden but blocks hover events from other elements that may overlap in the same position.
NOTE that this does not affect any component in the current design. I happened to notice this on a different fork where it was causing an issue and therefore I suggest the change but feel free to ignore this if you think is not relevant enough or could cause problems with the back to top component.
2024-12-31 17:01:47 +08:00
saicaca
cbf17e880d fix: fix incorrect TOC highlight (fix #249) 2024-12-07 21:59:17 +08:00
saicaca
e44628364b fix: small bugs with GitHub repo cards (fix #242) 2024-12-07 18:50:19 +08:00
saicaca
8cd04d9ceb fix: fix TOC highlight appearing on pages without a TOC 2024-12-07 18:42:05 +08:00
saicaca
94184f381b fix: fix TOC highlight for non-ASCII titles (#246) 2024-12-07 04:18:54 +08:00
saicaca
eb3f9f2676 fix: fix incorrect position of TOC indicator 2024-12-06 20:53:24 +08:00
saicaca
9ab977fe4c feat: improve the style of the TOC component 2024-12-06 19:20:58 +08:00
foxton9
e816120045 feat: TOC highlight and scroll sync (#216) 2024-12-06 19:20:57 +08:00
kinho
b604cdf18c feat: add post update date (#243)
* feat: Add article update date

* feat:
1.Hide update time on the homepage;
2.Replace update icon;

* remove iconify-json/mdi

---------

Co-authored-by: liangjianhao <jianhao.liang@sz-sanjiang.com>
2024-12-04 19:29:35 +08:00
saicaca
079abbc965 refactor: css cleanup and style tweaks 2024-12-02 16:02:39 +08:00
Katsuyuki Karasawa
87e83fc601 chore: enforce pnpm usage (#238) 2024-12-01 16:29:42 +08:00
Katsuyuki Karasawa
ff9e82091a refactor: upgrade to Svelte v5 (#212)
* upgrade astro dependencies

* migration to Svelte 5

* Resolution of module version

* fix migrate script error

* fix migrate error comment

* fix Stylus format

* add intellisense for typescript

* Upgrading astrojs/svelte and svelte, and organizing dependencies

* Delete the incorrect settings.

* upgrade astro

* Fixed an error that occurred due to svelte.config.ts using unsupported features.
2024-11-30 14:59:51 +08:00
Joey Chen
87547fca86 feat: use server-side date to generate copyright year (#217) 2024-11-09 11:58:58 +08:00
saicaca
420275c342 fix: hide TOC in mobile view (#214) 2024-10-31 02:22:50 +08:00
saicaca
201f4c8e23 feat: scrolling to the top don't hide the TOC when banner is disabled 2024-10-28 19:06:28 +08:00
saicaca
e1a98c4149 fix: TOC component overflows the webpage (#209) 2024-10-28 18:44:06 +08:00
saicaca
18fcf6dd83 fix: fix blurry text caused by translate 2024-10-28 03:19:25 +08:00
saicaca
1b652f686d feat: add configurations for TOC component 2024-10-28 00:45:16 +08:00
saicaca
9f251d4cea feat: style tweak 2024-10-28 00:40:19 +08:00
saicaca
2c716931f8 refactor: code cleanup 2024-10-27 18:29:06 +08:00
saicaca
ec179a2127 chore: update example post 2024-10-27 18:18:22 +08:00
saicaca
2b9f6bc5bb feat: UX improvements for the TOC component 2024-10-27 18:18:22 +08:00
藍々
2db5938beb fix: eliminate blue border in iOS browers (#207) 2024-10-26 21:33:44 +08:00
saicaca
00aa50ad5b fix: fix build error 2024-10-26 16:12:47 +08:00
saicaca
c320ba524c fix: missing CSS classes 2024-10-26 16:09:19 +08:00
saicaca
66463dd012 Merge branch 'toc-new'
# Conflicts:
#	astro.config.mjs
#	pnpm-lock.yaml
#	src/components/GlobalStyles.astro
2024-10-26 16:02:43 +08:00
saicaca
947ff49b53 fix: force override post width 2024-10-26 15:57:30 +08:00
Katsuyuki Karasawa
450ab150a3 fix: fix HMR not working. (#195)
* inline style to base.css

* revert banner style

* Properly revert the banner-related issues.
2024-10-26 15:57:29 +08:00
saicaca
a336f34ea4 feat: redesign TOC 2024-10-26 15:48:54 +08:00
Echo
85c9e1f5d2 fix: remove outline on search bar (#206) 2024-10-26 15:19:20 +08:00
SlimeNull
b5fddf2096 feat: added TOC (#198) 2024-10-26 00:29:00 +08:00
Echo
d09b80a5b1 fix: fix footer style (#201)
* Fix footer text

* Update packages

* Revert upgrades
2024-10-23 11:27:59 +08:00
saicaca
8beeba81db feat: more readable error message for image not found 2024-09-20 01:18:33 +08:00
saicaca
085fd62a79 feat: add onload animation for banner 2024-09-20 01:18:33 +08:00
saicaca
8565724eb3 fix: fix the flickering caused by custom scrollbar initialization (#60) 2024-09-20 00:59:26 +08:00
saicaca
93209a5bba fix: fix the top margin of sticky sidebar (#184) 2024-09-20 00:34:48 +08:00
David V. Kimball
7a022cc190 feat: set og:type to article for posts (#183)
* New prop setOGTypeArticle sets og:type to "article" for posts, and "website" for every other page.

* Fixed error where I declared setOGTypeArticle twice.
2024-09-17 13:35:58 +08:00
saicaca
44fb628737 fix: fix navbar disappearing after link click (#182) 2024-09-16 13:26:41 +08:00
saica.go
f0754cae3f perf: optimizing page transition (#178)
* perf: optimizing page transition

* fix: minor fixes
2024-09-13 20:14:03 +08:00
saicaca
f5ad1c643d docs: update README 2024-09-10 02:28:00 +08:00